Undefined method pages_domain_verification_enabled when going to admin/settings on 10.5.1 omnibus
Summary
When Visiting the Admin -> Settings page in 10.5.1 Omnibus release, I get a 500 Error
Steps to reproduce
As an admin user, I’ll log into the “Admin” page, and then visit the “Settings” link.
What is the current bug behavior?
A 500 Error page is thrown.
What is the expected correct behavior?
The settings page is displayed.
Relevant logs and/or screenshots
ActionView::Template::Error (undefined method `pages_domain_verification_enabled' for #<ApplicationSetting:0x00007f1b6d373608>):
241: .col-sm-offset-2.col-sm-10
242: .checkbox
243: = f.label :pages_domain_verification_enabled do
244: = f.check_box :pages_domain_verification_enabled
245: Require users to prove ownership of custom domains
246: .help-block
247: Domain verification is an essential security measure for public GitLab
app/views/admin/application_settings/_form.html.haml:244:in `block (2 levels) in _app_views_admin_application_settings__form_html_haml___1867561057141520638_69877686836
app/views/admin/application_settings/_form.html.haml:243:in `block in _app_views_admin_application_settings__form_html_haml___1867561057141520638_69877686836000'
app/views/admin/application_settings/_form.html.haml:1:in `_app_views_admin_application_settings__form_html_haml___1867561057141520638_69877686836000'
app/views/admin/application_settings/show.html.haml:5:in `_app_views_admin_application_settings_show_html_haml__783574305292668218_69877689597160'
lib/gitlab/i18n.rb:47:in `with_locale'
lib/gitlab/i18n.rb:53:in `with_user_locale'
app/controllers/application_controller.rb:325:in `set_locale'
lib/gitlab/middleware/multipart.rb:95:in `call'
lib/gitlab/request_profiler/middleware.rb:14:in `call'
lib/gitlab/middleware/go.rb:17:in `call'
lib/gitlab/etag_caching/middleware.rb:11:in `call'
lib/gitlab/middleware/read_only.rb:31:in `call'
lib/gitlab/request_context.rb:18:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
Results of GitLab environment info
root@git:/var/log/gitlab/gitlab-rails# gitlab-rake gitlab:env:info
System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.3.6p384
Gem Version: 2.6.13
Bundler Version:1.13.7
Rake Version: 12.3.0
Redis Version: 3.2.11
Git Version: 2.14.3
Sidekiq Version:5.0.5
Go Version: unknown
GitLab information
Version: 10.5.1
Revision: 21c2ffe
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://git.iwcg.io
HTTP Clone URL: https://git.iwcg.io/some-group/some-project.git
SSH Clone URL: git@git.iwcg.io:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 6.0.3
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Edited by Nick Thomas