作者:要做转播达人 | 来源:互联网 | 2022-11-21 10:49
1> Joost Everts..:
您进行了还原,但可能没有还原秘密存储区(/etc/gitlab/gitlab-secrets.json或$ GITLAB_HOME / config / secrets.json)。与gitlab 500错误相同的问题在管理区域
您可以从gitlab服务器上的rails控制台像这样重置它:
root@gitlab:/# gitlab-rails console
-------------------------------------------------------------------------------------
GitLab: 11.5.1 (c90ae59)
GitLab Shell: 8.4.1
postgresql: 9.6.8
-------------------------------------------------------------------------------------
Both Deployment and its :status machine have defined a different default for "status". Use only one or the other for defining defaults to avoid unexpected behaviors.
Loading production environment (Rails 4.2.10)
irb(main):001:0> ApplicationSetting.current.reset_runners_registration_token!
=> true