Creating merge request is broken since 10.0

Summary

Creating merge request is broken since upgrade to 10.0 (from 9.5.5)

Steps to reproduce

  • Create a merge request from within an issue
  • OR show any comparison page
  • OR ...

What is the current bug behavior?

  • Gitlab is showing a 503 http status code

Relevant logs and/or screenshots

Here is an example status log:

https://forum.gitlab.com/t/after-upgrade-ee-9-5-1-10-0-creating-a-merge-request-gives-503/10904

Output of checks

  • its a private gitlab installation
  • omnibus package is used

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:
Proxy:          http_proxy: http://10.x.x.x:8080
                https_proxy: http://10.x.x.x:8080
Current User:   git
Using RVM:      no
Ruby Version:   2.3.5p376
Gem Version:    2.6.13
Bundler Version:1.13.7
Rake Version:   12.0.0
Redis Version:  3.2.5
Git Version:    2.13.5
Sidekiq Version:5.0.4
Go Version:     unknown

GitLab information Version: 10.0.1-ee Revision: 9c3a3ca Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.3 URL: https://git..de HTTP Clone URL: https://git..de/some-group/some-project.git SSH Clone URL: git@git.***.de:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: no

GitLab Shell Version: 5.9.0 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.9.0 ? ... OK (5.9.0) 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/1 ... ok 3/4 ... ok 3/6 ... ok 3/7 ... ok 3/9 ... ok 3/10 ... ok 3/13 ... ok 3/14 ... ok 3/17 ... ok 3/18 ... ok 3/19 ... ok 7/21 ... repository is empty 3/22 ... ok 3/23 ... ok 13/25 ... ok 13/26 ... ok 13/27 ... ok 3/28 ... ok 3/31 ... ok 3/32 ... ok 3/33 ... ok 3/34 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK

Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

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

Checking Sidekiq ... Finished

Reply by email is disabled in config/gitlab.yml 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? ... no Try fixing it: sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} ; sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} ; For more information see: doc/install/installation.md in section "GitLab" Please fix the error above and rerun the checks. 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/1 ... yes 3/4 ... yes 3/6 ... yes 3/7 ... yes 3/9 ... yes 3/10 ... yes 3/13 ... yes 3/14 ... yes 3/17 ... yes 3/18 ... yes 3/19 ... yes 7/21 ... yes 3/22 ... yes 3/23 ... yes 13/25 ... yes 13/26 ... yes 13/27 ... yes 3/28 ... yes 3/31 ... yes 3/32 ... yes 3/33 ... yes 3/34 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.3 ? ... Exception: undefined method run_command' for SystemCheck::App::RubyVersionCheck:Class Did you mean? run_commands Git version >= 2.7.3 ? ... Exception: undefined method run_command' for SystemCheck::App::GitVersionCheck:Class Did you mean? run_commands Git user has default SSH configuration? ... no Try fixing it: mkdir ~/gitlab-check-backup-1506338832 sudo mv /var/opt/gitlab/.ssh/authorized_keys.lock ~/gitlab-check-backup-1506338832 sudo mv /var/opt/gitlab/.ssh/id_rsa ~/gitlab-check-backup-1506338832 sudo mv /var/opt/gitlab/.ssh/id_rsa.pub ~/gitlab-check-backup-1506338832 For more information see: doc/ssh/README.md in section "SSH on the GitLab server" Please fix the error above and rerun the checks. Active users: ... 9 Elasticsearch version 5.1 - 5.5? ... skipped (elasticsearch is disabled)

Checking GitLab ... Finished

Edited by Tilmann Bach