gitlab-group-cicd页面进不去500修复方案

gitlab-group-cicd页面进不去500修复方案

参考

多个runner导致的gitlab token 没有及时更新,bug!

解决: 清除所有runner token, 公有gitlab慎用!!!共有仓库可以进去查找自己单独的记录清除自己群组的token

  1. 进去gitlab容器
  2. 执行gitlab-rails dbconsole
  3. 清除所有token
-- Clear project tokens
UPDATE projects SET runners_token = null, runners_token_encrypted = null;
-- Clear group tokens
UPDATE namespaces SET runners_token = null, runners_token_encrypted = null;
-- Clear instance tokens
UPDATE application_settings SET runners_registration_token_encrypted = null;
-- Clear key used for JWT authentication
-- This may break the $CI_JWT_TOKEN job variable:
-- https://gitlab.com/gitlab-org/gitlab/-/issues/325965
UPDATE application_settings SET encrypted_ci_jwt_signing_key = null;
-- Clear runner tokens
UPDATE ci_runners SET token = null, token_encrypted = null;

gitlab-group-cicd页面进不去500修复方案

上一篇:弹性布局 display:flex;


下一篇:[ESXi6.5]查看ntp服务器状态