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

# gitlab-rails console
Ci::Runner.all.upda
<span id="more-1177"></span>
te_all(token_encrypted: nil)
exit

$ gitlab-rails dbconsole
UPDATE 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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注