Internal Server Error 500 while accessing /admin/runners

hello! i have restore gitlab from a backup, now every time i try to access the runners webpage, I get a Internal Server error.

gitlab 12.2.9

use “sudo gitlab-rails runner -e production ‘ApplicationSetting.current.reset_runners_registration_token!’” not Solved

gitlab-rails/production.log:

Completed 500 Internal Server Error in 421ms (ActiveRecord: 29.6ms)

ActionView::Template::Error ():
16: .table-section.section-10
17: .table-mobile-header{ role: ‘rowheader’ }= _(‘Runner token’)
18: .table-mobile-content
19: = link_to runner.short_sha, admin_runner_path(runner)
20:
21: .table-section.section-20
22: .table-mobile-header{ role: ‘rowheader’ }= _(‘Description’)

lib/gitlab/crypto_helper.rb:27:in  `aes256_gcm_decrypt' app/models/concerns/token_authenticatable_strategies/encrypted.rb:45:in ` get_token’
app/models/concerns/token_authenticatable.rb:30:in  `block in add_authentication_token_field' app/models/ci/runner.rb:213:in ` short_sha’
lib/gitlab/metrics/instrumentation.rb:161:in  `block in short_sha' lib/gitlab/metrics/method_call.rb:36:in ` measure’
lib/gitlab/metrics/instrumentation.rb:161:in  `short_sha' app/views/admin/runners/_runner.html.haml:19:in ` _app_views_admin_runners__runner_html_haml__924215408576677336_23895487474980’
app/views/admin/runners/index.html.haml:138:in  `block in _app_views_admin_runners_index_html_haml__1648131156014963702_23895507343420' app/views/admin/runners/index.html.haml:137:in ` _app_views_admin_runners_index_html_haml__1648131156014963702_23895507343420’
app/controllers/application_controller.rb:120:in  `render' lib/gitlab/session.rb:11:in ` with_session’
app/controllers/application_controller.rb:452:in  `set_session_storage' lib/gitlab/i18n.rb:55:in ` with_locale’
lib/gitlab/i18n.rb:61:in  `with_user_locale' app/controllers/application_controller.rb:446:in ` set_locale’
lib/gitlab/middleware/rails_queue_duration.rb:27:in  `call' lib/gitlab/metrics/rack_middleware.rb:17:in ` block in call’
lib/gitlab/metrics/transaction.rb:57:in  `run' lib/gitlab/metrics/rack_middleware.rb:17:in ` call’
lib/gitlab/middleware/multipart.rb:103:in  `call' lib/gitlab/request_profiler/middleware.rb:17:in ` call’
lib/gitlab/middleware/go.rb:20:in  `call' lib/gitlab/etag_caching/middleware.rb:13:in ` call’
lib/gitlab/middleware/correlation_id.rb:16:in  `block in call' lib/gitlab/middleware/correlation_id.rb:15:in ` call’
lib/gitlab/middleware/read_only/controller.rb:40:in  `call' lib/gitlab/middleware/read_only.rb:18:in ` call’
lib/gitlab/middleware/basic_health_check.rb:25:in  `call' lib/gitlab/request_context.rb:26:in ` call’
lib/gitlab/metrics/requests_rack_middleware.rb:29:in  `call' lib/gitlab/middleware/release_env.rb:12:in ` call’

I leave a tutorial updated to the new version. In my case it is for a Gitlab installation on a Synology.

Translate (Spanish → English ) Google Translate

Original (Spanish) Gitlab: /admin/runners Error 500

When migrating, I forgot gitlab-secrets.json