gitlab 迁移后CI/CD页面500错误问题
# gitlab-rails console
Ci::Runner.all.upda
<!--more-->
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。