Bug 403 Forbidden for complete GitLab Instance
Current Status:
Solved. But need to be analyzed.
Redis Data will be provided to developers only.
Summary
If I want to access GitLab via Webbrowser - It's not possible. Does only show 403 Access denied.
Steps to reproduce
Dont know what's the Problem Last what I did was using the CI. But everything passed. Later I tried to work again (after Lunch) but nothing worked anymore. Restarted anything - nothing. Restarted Server completely - nothing.
Check by yourself
What is the current bug behavior?
403 Forbidden
What is the expected correct behavior?
Anything except 403
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Debian 8.9 Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 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: unknownGitLab information Version: 9.5.1 Revision: c47ae37 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://git.primeghost.de HTTP Clone URL: https://git.primeghost.de/some-group/some-project.git SSH Clone URL: git@git.primeghost.de:some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers: gitlab, google_oauth2, facebook, github
GitLab Shell Version: 5.8.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.8.0 ? ... OK (5.8.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: ... 1/1 ... ok 1/11 ... ok 1/21 ... ok 1/31 ... ok 1/41 ... ok 1/61 ... repository is empty 1/71 ... ok 1/81 ... repository is empty 81/111 ... ok 91/121 ... ok 1/131 ... ok 81/161 ... ok 103/162 ... ok 81/163 ... repository is empty 104/164 ... ok 81/165 ... ok 81/166 ... ok 1/167 ... ok 91/168 ... ok 103/169 ... ok 91/170 ... ok 91/171 ... ok 104/173 ... repository is empty 107/174 ... ok 107/175 ... ok 91/176 ... ok 91/177 ... ok 108/178 ... repository is empty 103/179 ... ok 114/180 ... ok 114/181 ... ok 114/182 ... ok 114/183 ... ok 114/184 ... ok 114/185 ... ok 114/186 ... ok 114/187 ... ok 114/188 ... ok 114/189 ... ok 114/190 ... ok 114/191 ... ok 114/192 ... ok 114/193 ... ok 114/194 ... ok 114/195 ... ok 114/196 ... ok 114/197 ... ok 114/198 ... ok 114/199 ... ok 114/200 ... ok 114/201 ... ok 114/202 ... ok 114/203 ... ok 81/204 ... repository is empty 115/207 ... ok 115/208 ... ok 115/209 ... ok 115/210 ... ok 1/212 ... ok 115/213 ... ok 115/214 ... ok 91/215 ... ok 117/217 ... ok 117/218 ... ok 117/219 ... ok 118/220 ... ok 118/221 ... 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 ...
IMAP server credentials are correct? ... yes
Checking Reply by email ... Finished
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? ... 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/11 ... yes 1/21 ... yes 1/31 ... yes 1/41 ... yes 1/61 ... yes 1/71 ... yes 1/81 ... yes 81/111 ... yes 91/121 ... yes 1/131 ... yes 81/161 ... yes 103/162 ... yes 81/163 ... yes 104/164 ... yes 81/165 ... yes 81/166 ... yes 1/167 ... yes 91/168 ... yes 103/169 ... yes 91/170 ... yes 91/171 ... yes 104/173 ... yes 107/174 ... yes 107/175 ... yes 91/176 ... yes 91/177 ... yes 108/178 ... yes 103/179 ... yes 114/180 ... yes 114/181 ... yes 114/182 ... yes 114/183 ... yes 114/184 ... yes 114/185 ... yes 114/186 ... yes 114/187 ... yes 114/188 ... yes 114/189 ... yes 114/190 ... yes 114/191 ... yes 114/192 ... yes 114/193 ... yes 114/194 ... yes 114/195 ... yes 114/196 ... yes 114/197 ... yes 114/198 ... yes 114/199 ... yes 114/200 ... yes 114/201 ... yes 114/202 ... yes 114/203 ... yes 81/204 ... yes 115/207 ... yes 115/208 ... yes 115/209 ... yes 115/210 ... yes 1/212 ... yes 115/213 ... yes 115/214 ... yes 91/215 ... yes 117/217 ... yes 117/218 ... yes 117/219 ... yes 118/220 ... yes 118/221 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.3 ? ... yes (2.3.3) Git version >= 2.7.3 ? ... yes (2.13.5) Active users: ... 14
Checking GitLab ... Finished
Possible fixes
Dont have any... Sorry.