Changes are not loading in merge request

Summary

Getting an 500 error on the following request diffs.json?w=0

Steps to reproduce

Going to a merge request and clicking on changes. This only happens on a particular merge request with 25 commits and 19 changes. Other merge requests are fine.

Example Project

Don't really have one. This is happening on a self-hosted environment.

What is the current bug behavior?

It doesn't load the changes. There is an error in the console. Shown in the uploaded image

What is the expected correct behavior?

You should see the list of files that were modified along with their changes.

Relevant logs and/or screenshots

image

image

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Expand for output related to GitLab environment info

System information System: Ubuntu 18.04 Proxy: no Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.21.0 Sidekiq Version:5.2.7 Go Version: unknown

GitLab information Version: 12.1.2-ee Revision: d7aa668babd Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.7 URL: https://git.inteloom.com HTTP Clone URL: https://git.inteloom.com/some-group/some-project.git SSH Clone URL: git@git.inteloom.com:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers:

GitLab Shell Version: 9.3.0 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 9.3.0 ? ... OK (9.3.0) 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 Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

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

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

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/1 ... yes 1/3 ... yes 1/4 ... yes 1/5 ... yes 1/7 ... yes 1/8 ... yes 1/9 ... yes 1/10 ... yes 1/11 ... yes 1/12 ... yes 1/14 ... yes 1/16 ... yes 1/17 ... yes 1/18 ... yes 1/19 ... yes 1/20 ... yes 19/21 ... yes 19/22 ... yes 18/23 ... yes 19/25 ... yes 19/26 ... yes 19/27 ... yes 19/29 ... yes 19/30 ... yes 18/31 ... yes 18/32 ... yes 19/33 ... yes 18/34 ... yes 19/35 ... yes 19/36 ... yes 19/37 ... yes 19/38 ... yes 3/39 ... yes 19/40 ... yes 18/41 ... yes 19/42 ... yes 19/43 ... yes 19/44 ... yes 18/45 ... yes 18/47 ... yes 18/48 ... yes 19/49 ... yes 19/50 ... yes 1/51 ... yes 22/52 ... yes 19/54 ... yes 19/55 ... yes 18/57 ... yes 19/58 ... yes 20/60 ... yes 26/61 ... yes 19/62 ... yes 19/63 ... yes 19/64 ... yes 18/65 ... yes 19/66 ... yes 18/67 ... yes 19/68 ... yes 22/69 ... yes 19/70 ... yes 30/71 ... yes 19/72 ... yes 19/73 ... yes 19/74 ... yes 18/75 ... yes 18/76 ... yes 30/77 ... yes 18/78 ... yes 30/79 ... yes 2/80 ... yes 19/81 ... yes 18/82 ... yes 19/83 ... yes 18/86 ... yes 18/87 ... yes 34/88 ... yes 1/89 ... yes 19/90 ... yes 19/91 ... yes 19/92 ... yes 34/93 ... yes 34/94 ... yes 34/95 ... yes 34/96 ... yes 34/97 ... yes 41/98 ... yes 34/99 ... yes 34/100 ... yes 34/101 ... yes 34/103 ... yes 51/105 ... yes 51/106 ... yes 51/107 ... yes 51/108 ... yes 51/109 ... yes 18/110 ... yes 19/111 ... yes 49/112 ... yes 34/114 ... yes 18/115 ... yes 26/116 ... yes 26/117 ... yes 26/118 ... yes 26/119 ... yes 26/120 ... yes 19/121 ... yes 56/122 ... yes 56/123 ... yes 56/124 ... yes 56/125 ... yes 58/126 ... yes 58/127 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.3) Git version >= 2.21.0 ? ... yes (2.21.0) Git user has default SSH configuration? ... yes Active users: ... 24 Elasticsearch version 5.6 - 6.x? ... skipped (elasticsearch is disabled)

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading