500 Internal Server Error When open master commit page
Summary
500 Internal Server Error When open master commit page
Steps to reproduce
When I merge the hotfix branch to master and push to my gitlab-ce server, the project commits page is broken. And there is my last merge commit screenshot.
Expected behavior
commits page
Actual behavior
500 status, Whoops, something went wrong on our end.
Relevant logs and/or screenshots
Started GET "/root/main-website/refs/switch?utf8=%E2%9C%93&destination=commits&ref=master" for 218.109.16.0 at 2016-11-07 15:01:14 +0800
Processing by Projects::RefsController#switch as HTML
Parameters: {"utf8"=>"✓", "destination"=>"commits", "ref"=>"master", "namespace_id"=>"root", "project_id"=>"main-website"}
Redirected to http://lqbyun.com/root/main-website/commits/master
Completed 302 Found in 47ms (ActiveRecord: 5.3ms)
Started GET "/root/main-website/commits/master" for 218.109.16.0 at 2016-11-07 15:01:15 +0800
Processing by Projects::CommitsController#show as HTML
Parameters: {"namespace_id"=>"root", "project_id"=>"main-website", "id"=>"master"}
Read fragment views/root/main-website/c0ec4fa3629fcd9ad76d71941e324920f0aad03b/application_settings/1-20160914101755893051000/0/success/2e4d7f669c6396101af517db0d9657f2 (0.3ms)
Read fragment views/root/main-website/f1a09fadfd62ab14eb46833a5e818f6aee3602bc/application_settings/1-20160914101755893051000/0/2e4d7f669c6396101af517db0d9657f2 (0.3ms)
Read fragment views/root/main-website/eabfc7f54305f96cef3b4ba6506ef3ed2ab4d9ee/application_settings/1-20160914101755893051000/0/2e4d7f669c6396101af517db0d9657f2 (0.3ms)
Read fragment views/root/main-website/fe0871f49b1bd1e4992a6dd9d7e14a4c80bea045/application_settings/1-20160914101755893051000/0/success/2e4d7f669c6396101af517db0d9657f2 (0.3ms)
Read fragment views/root/main-website/aa4aa522dc8e24b24d70393b80f9a5bba2c25d46/application_settings/1-20160914101755893051000/0/2e4d7f669c6396101af517db0d9657f2 (0.5ms)
Read fragment views/root/main-website/529aab11a0e4aaa43d65de2fdeecfcced127ca31/application_settings/1-20160914101755893051000/0/2e4d7f669c6396101af517db0d9657f2 (0.2ms)
Completed 500 Internal Server Error in 102ms (ActiveRecord: 20.4ms)
Output of checks
Results of GitLab application Check
Checking GitLab Shell ...
GitLab Shell version >= 3.6.6 ? ... OK (3.6.6)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
1/2 ... ok
1/3 ... ok
1/5 ... ok
9/6 ... ok
8/7 ... ok
1/8 ... ok
1/9 ... ok
1/11 ... ok
1/12 ... ok
1/15 ... 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 with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... 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/2 ... yes
1/3 ... yes
1/5 ... yes
9/6 ... yes
8/7 ... yes
1/8 ... yes
1/9 ... yes
1/11 ... yes
1/12 ... yes
1/15 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.1)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 18
Checking GitLab ... Finished
Results of GitLab environment info
System information
System: Ubuntu 16.04
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:1.13.5
Rake Version: 10.5.0
Sidekiq Version:4.2.1
GitLab information
Version: 8.13.3
Revision: 8d79ab3
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://lqbyun.com
HTTP Clone URL: http://lqbyun.com/some-group/some-project.git
SSH Clone URL: git@lqbyun.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 3.6.6
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git