Error 500 on Project Settings ==> Itegrations page after upgrading to 11.4.0 in Docker
Summary
- When I access the Settings page on any Project ==> Itegrations, I get an Error 500.
Steps to reproduce
- Access the Settings ==> Itegrations page on any Project
500 Whoops, something went wrong on our end.
Try refreshing the page, or going back and attempting the action again.
Please contact your GitLab administrator if this problem persists.
What is the expected correct behavior?
- See the Project Settings Page
Relevant logs and/or screenshots
~# docker exec -it gitlab gitlab-rake cache:clear --trace
** Invoke cache:clear (first_time)
** Invoke cache:clear:redis (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute cache:clear:redis
** Execute cache:clear
~# docker exec -it gitlab gitlab-ctl restart
ok: run: alertmanager: (pid 27523) 1s
ok: run: gitaly: (pid 27538) 0s
ok: run: gitlab-monitor: (pid 27552) 1s
ok: run: gitlab-workhorse: (pid 27556) 0s
ok: run: logrotate: (pid 27580) 0s
ok: run: mattermost: (pid 27589) 0s
ok: run: nginx: (pid 27606) 0s
ok: run: node-exporter: (pid 27614) 1s
ok: run: postgres-exporter: (pid 27632) 0s
ok: run: postgresql: (pid 27716) 1s
ok: run: prometheus: (pid 27729) 0s
ok: run: redis: (pid 27742) 0s
ok: run: redis-exporter: (pid 27747) 1s
ok: run: sidekiq: (pid 27758) 0s
ok: run: sshd: (pid 27765) 0s
ok: run: unicorn: (pid 27772) 0s
~# docker exec -it gitlab gitlab-rake gitlab:env:info
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.4.4p296
Gem Version: 2.7.6
Bundler Version:1.16.2
Rake Version: 12.3.1
Redis Version: 3.2.12
Git Version: 2.18.1
Sidekiq Version:5.2.1
Go Version: unknown
GitLab information
Version: 11.4.0
Revision: 6ebbd70
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab-test.***.com
HTTP Clone URL: https://gitlab-test.***.com/some-group/some-project.git
SSH Clone URL: git@gitlab-test.***.com:some-group/some-project.git
Using LDAP: yes
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 8.3.3
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
~#docker exec -it gitlab gitlab-ctl tail
==> /var/log/gitlab/gitlab-rails/production.log <==
Completed 500 Internal Server Error in 1336ms (ActiveRecord: 17.2ms)
ActionView::Template::Error ():
1: %li
2: .row
3: .col-md-8.col-lg-7
4: %strong.light-header= hook.url
5: %div
6: - ProjectHook.triggers.each_value do |event|
7: - if hook.public_send(event)
app/models/hooks/web_hook.rb:62:in `url'
app/views/projects/settings/integrations/_project_hook.html.haml:4:in `_app_views_projects_settings_integrations__project_hook_html_haml__1585880277190088829_70109045252400'
app/views/projects/hooks/_index.html.haml:20:in `block in _app_views_projects_hooks__index_html_haml__1326098288970609083_70109033977120'
app/views/projects/hooks/_index.html.haml:19:in `_app_views_projects_hooks__index_html_haml__1326098288970609083_70109033977120'
app/views/projects/settings/integrations/show.html.haml:4:in `_app_views_projects_settings_integrations_show_html_haml___3981975026439479169_70109034898680'
app/controllers/application_controller.rb:112:in `render'
lib/gitlab/i18n.rb:53:in `with_locale'
lib/gitlab/i18n.rb:59:in `with_user_locale'
app/controllers/application_controller.rb:415:in `set_locale'
lib/gitlab/middleware/multipart.rb:101: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/controller.rb:38:in `call'
lib/gitlab/middleware/read_only.rb:16:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/request_context.rb:18:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
lib/gitlab/middleware/release_env.rb:10:in `call'