getting 500 on accessing project settings integrations

Summary

getting 500 on accessing project settings integrations.

This also makes creating new issues fail, as well as moving issued between projects.

Steps to reproduce

In the web interface navigate to project setting, integrations

What is the current bug behavior?

I get "500 - Whoops, something went wrong on our end."

What is the expected correct behavior?

Get the integrations page.

Relevant logs and/or screenshots

production.log

Started GET "/gitlab/hexa8/virtus/settings/integrations" for 172.17.0.1 at 2017-07-04 12:47:36 +0000
Processing by Projects::Settings::IntegrationsController#show as HTML
Parameters: {"namespace_id"=>"hexa8", "project_id"=>"virtus"}
Started POST "/gitlab/api/v4/jobs/request" for 172.17.0.1 at 2017-07-04 12:47:36 +0000
Completed 500 Internal Server Error in 51ms (ActiveRecord: 2.2ms)
NoMethodError (undefined method `pipeline_events=' for #<ProjectHook:0x007fcbf3711828>):
app/controllers/projects/settings/integrations_controller.rb:11:in `show'
lib/gitlab/i18n.rb:39:in `with_locale'
lib/gitlab/i18n.rb:45:in `with_user_locale'
app/controllers/application_controller.rb:303:in `set_locale'
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/request_context.rb:18:in `call'

Output of checks

using docker image gitlab/gitlab-ce d416bb03bac8

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:		
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.3.4 Revision: 3888c01 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://hexa8.de/gitlab HTTP Clone URL: https://hexa8.de/gitlab/some-group/some-project.git SSH Clone URL: ssh://git@hexa8.de:222/some-group/some-project.git Using LDAP: no Using Omniauth: no

GitLab Shell Version: 5.1.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

Expand for output related to the GitLab application check
Checking GitLab Shell ...

GitLab Shell version >= 5.1.1 ? ... OK (5.1.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: ... 3/23 ... ok 3/24 ... ok 3/25 ... ok 3/26 ... ok 3/28 ... ok 3/29 ... ok 3/30 ... ok 3/31 ... ok 21/35 ... ok 26/36 ... ok 32/42 ... 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 ...

IMAP server credentials are correct? ... yes Init.d configured correctly? ... skipped (omnibus-gitlab has no init script) MailRoom running? ... can't check because of previous errors

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: ... 3/23 ... yes 3/24 ... yes 3/25 ... yes 3/26 ... yes 3/28 ... yes 3/29 ... yes 3/30 ... yes 3/31 ... yes 21/35 ... yes 26/36 ... yes 32/42 ... 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: ... 16

Checking GitLab ... Finished