首页 > 其他 > 详细

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

时间:2021-08-30 01:20:35      阅读:67      评论:0      收藏:0      [点我收藏+]

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修复方案

原文:https://www.cnblogs.com/xiaojiluben/p/15195460.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!