【发布时间】:2019-06-05 06:48:45
【问题描述】:
如何重现:
- 以管理员身份登录
- 进入管理菜单
- 点击概览 - 跑步者
- 或点击设置中的保存
结果:500 错误:糟糕,我们这边出了点问题。
哪个系统正在运行?
RHEL 7,带有 Nginx 和乘客的出站 gitlab
错误:
OpenSSL::Cipher::CipherError ():
lib/gitlab/crypto_helper.rb:27:in `aes256_gcm_decrypt'
app/models/concerns/token_authenticatable_strategies/encrypted.rb:55:in `get_token'
app/models/concerns/token_authenticatable_strategies/base.rb:27:in `ensure_token'
app/models/concerns/token_authenticatable_strategies/encrypted.rb:42:in `ensure_token'
ActionView::Template::Error ():
37:
38: .col-sm-6
39: .bs-callout
40: = render partial: 'ci/runner/how_to_setup_runner',
41: locals: { registration_token: Gitlab::CurrentSettings.runners_registration_token,
42: type: 'shared',
43: reset_token_url: reset_registration_token_admin_application_settings_path }
【问题讨论】:
-
那么,你的问题是什么?你提出问题了吗?
-
问题是我无法使用 Gitlab,因为我无法更改设置。我想知道如何解决这个错误
-
您是否迁移了此安装?您需要复制旧实例的 secrets.json,其中包含用于解密信息的密钥