zoukankan      html  css  js  c++  java
  • 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;
    
  • 相关阅读:
    浏览器拦截跨域请求处理方法
    如何保护java程序不被反编译
    python面对对象面试题
    面向对象之继承
    面向对象之多态
    面向对象之组合
    面向对象初始
    python之匿名函数
    python之内置函数
    azure连接redis
  • 原文地址:https://www.cnblogs.com/xiaojiluben/p/15195460.html
Copyright © 2011-2022 走看看