gitlab 迁移后CI/CD页面500错误问题

2024-08-06 21:16:31 浏览数 (2)

1234567891011121314

# gitlab-rails consoleCi::Runner.all.update_all(token_encrypted: nil)exit$ gitlab-rails dbconsoleUPDATE projects SET runners_token = null, runners_token_encrypted = null;# 将所有项目的runners_token和runners_token_encrypted字段设置为null。UPDATE namespaces SET runners_token = null, runners_token_encrypted = null;# 将所有命名空间(例如用户或组)的runners_token和runners_token_encrypted字段设置为null。UPDATE application_settings SET runners_registration_token_encrypted = null;# 将GitLab应用程序设置中的runners_registration_token_encrypted字段设置为null。

References

  • Gitlab数据迁移&在线升级后出现CI/CD页面500错误问题
  • Gitlab 升级那些事儿
  • GitLab Upgrade from 13 to 14

0 人点赞