Clicking on Runners as an admin, I am being redirected to error page "422 The change you requested was rejected."

Clicking on Runners as an admin, I am being redirected to error page “422 The change you requested was rejected.”

  • I am being redirected to error page “422 The change you requested was rejected.” Unable to add new runners or maintain existing runners.
  • A screenshot of the error message I see:

    Also, in the Gitlab-rails logs, I see below error:

Blockquote

Processing by Admin::RunnersController#index as HTML
Completed 500 Internal Server Error in 209ms (ActiveRecord: 75.4ms | Elasticsearch: 0.0ms | Allocations: 93014)
ActionView::Template::Error (Validation failed: Import sources ‘gitlab_custom_project_template’ is not a import source):
36:
37: .col-sm-6
38: .bs-callout
39: = render partial: ‘ci/runner/how_to_setup_runner’,
40: locals: { registration_token: Gitlab::CurrentSettings.runners_registration_token,
41: type: ‘shared’,
42: reset_token_url: reset_registration_token_admin_application_settings_path,
app/models/concerns/token_authenticatable_strategies/base.rb:44:in reset_token!' app/models/concerns/token_authenticatable_strategies/base.rb:37:in ensure_token!’
app/models/concerns/token_authenticatable.rb:48:in block in add_authentication_token_field' app/models/application_setting_implementation.rb:347:in runners_registration_token’

Blockquote

  • What version are you on? Are you using self-managed or GitLab.com?
    • *GitLab 13.9.0