500 error while accessing any page

Summary

All pages return 500 - Internal Server Error

Steps to reproduce

  • Perform an upgrade to 9.4.0 from 9.3.6

Example Project

N/A

What is the current bug behavior?

All pages return 500 - Internal Server Error.

What is the expected correct behavior?

System should operate normally.

Relevant logs and/or screenshots

Started GET "/" for 204.101.60.229 at 2017-07-25 16:49:52 -0400
Processing by RootController#index as HTML
Completed 500 Internal Server Error in 102ms (ActiveRecord: 1.0ms | Elasticsearch: 0.0ms)

NoMethodError (undefined method `performance_bar_allowed_group_id' for #<ApplicationSetting:0x007f976d777430>
Did you mean?  performance_bar_allowed_group_id=
               performance_bar_allowed_group):
  lib/gitlab/performance_bar.rb:15:in `allowed_group_id'
  lib/gitlab/performance_bar.rb:9:in `enabled?'
  app/controllers/concerns/with_performance_bar.rb:9:in `peek_enabled?'
  lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in `call'
  lib/gitlab/middleware/multipart.rb:93:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/middleware/readonly_geo.rb:30:in `call'
  lib/gitlab/request_context.rb:18:in `call'
  lib/gitlab/metrics/connection_rack_middleware.rb:31:in `call'

Results of GitLab environment info

System information
System:         Debian 8.9
Proxy:          no
Current User:   git
Using RVM:      no
Ruby Version:   2.3.3p222
Gem Version:    2.6.6
Bundler Version:1.13.7
Rake Version:   10.5.0
Redis Version:  3.2.5
Git Version:    2.13.0
Sidekiq Version:5.0.0
Go Version:     unknown

GitLab information
Version:        9.4.0-ee
Revision:       1cfb4f1
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     postgresql
DB Version:     9.6.3
URL:            https://gitlab.dmulligan.ca
HTTP Clone URL: https://gitlab.dmulligan.ca/some-group/some-project.git
SSH Clone URL:  git@gitlab.dmulligan.ca:some-group/some-project.git
Elasticsearch:  yes
Geo:            no
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        5.3.1
Repository storage paths:
- default:      /var/opt/gitlab/git-data/repositories
Hooks:          /opt/gitlab/embedded/service/gitlab-shell/hooks
Git:            /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Checking GitLab Shell ...

GitLab Shell version >= 5.3.1 ? ... OK (5.3.1)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:root, or git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
1/31 ... ok
1/77 ... ok
37/90 ... ok
1/91 ... ok
1/92 ... ok
1/93 ... ok
1/94 ... ok
1/95 ... ok
38/96 ... ok
1/97 ... ok
1/98 ... ok
1/99 ... ok
1/100 ... ok
1/101 ... ok
1/102 ... ok
37/103 ... ok
39/104 ... ok
1/105 ... ok
40/106 ... ok
1/107 ... ok
40/108 ... ok
1/109 ... ok
38/110 ... ok
1/111 ... ok
41/112 ... ok
41/113 ... ok
41/114 ... ok
41/115 ... ok
1/116 ... ok
1/117 ... ok
42/118 ... ok
42/119 ... ok
1/120 ... ok
42/121 ... ok
42/122 ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Reply by email ...

Reply by email is disabled in config/gitlab.yml

Checking Reply by email ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
Projects have namespace: ...
1/31 ... yes
1/77 ... yes
37/90 ... yes
1/91 ... yes
1/92 ... yes
1/93 ... yes
1/94 ... yes
1/95 ... yes
38/96 ... yes
1/97 ... yes
1/98 ... yes
1/99 ... yes
1/100 ... yes
1/101 ... yes
1/102 ... yes
37/103 ... yes
39/104 ... yes
1/105 ... yes
40/106 ... yes
1/107 ... yes
40/108 ... yes
1/109 ... yes
38/110 ... yes
1/111 ... yes
41/112 ... yes
41/113 ... yes
41/114 ... yes
41/115 ... yes
1/116 ... yes
1/117 ... yes
42/118 ... yes
42/119 ... yes
1/120 ... yes
42/121 ... yes
42/122 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.3 ? ... yes (2.3.3)
Git version >= 2.7.3 ? ... yes (2.13.0)
Active users: ... 1
Elasticsearch version 5.1 - 5.3? ... yes (5.3.2)

Checking GitLab ... Finished
Assignee Loading
Time tracking Loading