Error 500 when try to access by browser
Created by: arnaud-zg
Hi everyone,
Since runing that command on my server apt-get update && apt-get upgrade
, I can't access to my gitlab. When I try to access I get an error 500.
- On my nginx config everything works, I don't have any errors.
- When I try to check my gitlab on production environment it telling me that, but I don't understand my
/var/opt/gitlab/gitlab-shell/config.yml
seems have good config.
root@server:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
WARNING: This version of GitLab depends on gitlab-shell 2.6.3, but you're running Unknown. Please update gitlab-shell.
Checking GitLab Shell ...
GitLab Shell version >= 2.6.3 ? ... FAIL. Please update gitlab-shell to 2.6.3 from Unknown
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ...
Project / Project_1 ... ok
Running /var/opt/gitlab/gitlab-shell/bin/check
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /var/opt/gitlab/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... no
Try fixing it:
sudo -u git -H RAILS_ENV=production bin/background_jobs start
For more information see:
doc/install/installation.md in section "Install Init Script"
see log/sidekiq.log for possible errors
Please fix the error above and rerun the checks.
Checking Sidekiq ... 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
Database is SQLite ... no
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
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
Project / Project_1 ... ok
Projects have satellites? ...
Project / Project_1 ... ok
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.6)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)
Active users: 7
Checking GitLab ... Finished
root@server:/home/git/gitlab#