Some existing project repositories started to 404

Summary

We discovered today that we get 404s accessing some projects on our Gitlab instance although the repositories weren't deleted and they're still present on the filesystem and don't seem to have issues, git fsck ran without issues. git pull also returns > GitLab: The project you were looking for could not be found..

Steps to reproduce

Haven't found any.

Example Project

N/A.

What is the current bug behavior?

Accessing existing non-deleted projects returns a 404 not found page and git pull returns:

> GitLab: The project you were looking for could not be found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What is the expected correct behavior?

We should be able to existing them as they exist on the filesystem.

Relevant logs and/or screenshots

Haven't found any errors in the logs.

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:		Ubuntu 18.04
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.3 Revision: 6ccbccc2010 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.7 URL: https://git.pixmob.com HTTP Clone URL: https://git.pixmob.com/some-group/some-project.git SSH Clone URL: git@git.pixmob.com:some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers: saml

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: ... 57/2 ... yes 57/3 ... yes 57/9 ... yes 57/10 ... yes 57/12 ... yes 57/13 ... yes 57/15 ... yes 13/17 ... yes 57/18 ... yes 57/19 ... yes 5/28 ... yes 57/29 ... yes 57/36 ... yes 57/41 ... yes 57/42 ... yes 57/45 ... yes 27/51 ... yes 27/52 ... yes 57/68 ... yes 57/77 ... yes 13/79 ... yes 31/82 ... yes 32/83 ... yes 32/84 ... yes 32/85 ... yes 32/86 ... yes 32/87 ... yes 32/88 ... yes 32/89 ... yes 32/90 ... yes 57/91 ... yes 37/114 ... yes 37/115 ... yes 40/116 ... yes 40/117 ... yes 40/118 ... yes 40/119 ... yes 40/120 ... yes 40/121 ... yes 38/138 ... yes 38/139 ... yes 38/140 ... yes 39/143 ... yes 47/144 ... yes 47/145 ... yes 47/147 ... yes 47/149 ... yes 37/150 ... yes 47/151 ... yes 37/153 ... yes 38/154 ... yes 37/155 ... yes 37/157 ... yes 37/158 ... yes 38/162 ... yes 37/163 ... yes 47/165 ... yes 40/167 ... yes 39/168 ... yes 40/170 ... yes 30/175 ... yes 52/176 ... yes 52/177 ... yes 52/178 ... yes 52/179 ... yes 30/181 ... yes 30/182 ... yes 30/183 ... yes 30/184 ... yes 30/186 ... yes 30/187 ... yes 30/188 ... yes 30/189 ... yes 51/190 ... yes 30/191 ... yes 30/192 ... yes 30/193 ... yes 30/194 ... yes 38/195 ... yes 38/196 ... yes 30/197 ... yes 30/198 ... yes 30/199 ... yes 24/200 ... yes 52/201 ... yes 47/204 ... yes 30/205 ... yes 51/206 ... yes 51/207 ... yes 37/208 ... yes 30/209 ... yes 47/210 ... yes 32/211 ... yes 32/212 ... yes 32/213 ... yes 32/214 ... yes 32/215 ... yes 32/216 ... yes 32/217 ... yes 32/218 ... yes 32/219 ... yes 57/220 ... yes 57/221 ... yes 35/222 ... yes 57/224 ... yes 38/226 ... yes 47/229 ... yes 30/231 ... yes 22/232 ... yes 40/233 ... yes 52/235 ... yes 55/237 ... yes 24/240 ... yes 24/243 ... yes 38/245 ... yes 57/246 ... yes 52/248 ... yes 44/250 ... yes 51/251 ... yes 37/252 ... yes 37/253 ... yes 52/254 ... yes 57/257 ... yes 26/258 ... yes 37/264 ... yes 38/266 ... yes 38/267 ... yes 39/268 ... yes 24/269 ... yes 44/270 ... yes 24/271 ... yes 51/272 ... yes 47/273 ... yes 26/274 ... yes 51/275 ... yes 30/276 ... yes 30/277 ... yes 51/278 ... yes 57/279 ... yes 30/280 ... yes 24/281 ... yes 52/282 ... yes 57/283 ... yes 57/284 ... yes 44/285 ... yes 39/287 ... yes 52/288 ... yes 30/290 ... yes 52/291 ... yes 30/292 ... yes 30/293 ... yes 30/294 ... yes 38/296 ... yes 57/298 ... yes 30/299 ... yes 38/301 ... yes 38/302 ... yes 30/303 ... yes 52/304 ... yes 37/305 ... yes 37/306 ... yes 30/307 ... yes 47/308 ... yes 57/309 ... yes 37/310 ... yes 57/311 ... yes 30/313 ... yes 26/314 ... yes 49/315 ... yes 52/317 ... yes 47/318 ... yes 26/319 ... yes 37/320 ... yes 30/321 ... yes 40/322 ... yes 44/323 ... yes 44/324 ... yes 37/325 ... yes 57/326 ... yes 26/327 ... yes 26/328 ... yes 37/329 ... yes 26/330 ... yes 24/331 ... yes 30/332 ... yes 37/333 ... yes 44/334 ... yes 68/335 ... yes 68/336 ... yes 68/337 ... yes 57/338 ... yes 69/345 ... yes 69/346 ... yes 69/347 ... yes 69/348 ... yes 69/350 ... yes 69/351 ... yes 24/352 ... yes 30/353 ... yes 57/354 ... yes 57/355 ... yes 37/356 ... yes 38/357 ... yes 57/358 ... yes 69/359 ... yes 69/360 ... yes 69/361 ... yes 52/362 ... yes 30/363 ... yes 57/364 ... yes 30/365 ... yes 69/367 ... yes 30/368 ... yes 52/369 ... yes 37/371 ... yes 37/372 ... yes 52/373 ... yes 24/378 ... yes 57/380 ... yes 57/381 ... yes 57/382 ... yes 37/383 ... yes 38/384 ... yes 57/385 ... 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: ... 22

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes

Unknown.

Edited Aug 06, 2019 by Alexandre Ferland
Assignee Loading
Time tracking Loading