Skip to content

Gitlab::Git::Repository::NoRepository (5:GetRepoPath: not a git repository: "/home/git/repositories/@hashed/12/53/1253e9373e781b7500266caa55150e08e210bc8cd8cc70d89985e3600155e860.wiki.git".):

Summary

Open project after update, wiki in project on

14.0.1-ee, k8s helm

Steps to reproduce

Example Project

What is the current bug behavior?***

/var/log/gitlab/production.log ***
Started GET "/some/clients/some1" for 10.42.0.0 at 2021-06-24 18:50:52 +0000
Processing by ProjectsController#show as HTML
  Parameters: {"namespace_id"=>"some/clients", "id"=>"some1"}
Completed 500 Internal Server Error in 117ms (ActiveRecord: 61.9ms | Elasticsearch: 0.0ms | Allocations: 15733)
  
Gitlab::Git::Repository::NoRepository (5:GetRepoPath: not a git repository: "/home/git/repositories/@hashed/12/53/1253e9373e781b7500266caa55150e08e210bc8cd8cc70d89985e3600155e860.wiki.git".):
  
lib/gitlab/git/wraps_gitaly_errors.rb:9:in `rescue in wrapped_gitaly_errors'
lib/gitlab/git/wraps_gitaly_errors.rb:6:in `wrapped_gitaly_errors'
lib/gitlab/git/wiki.rb:94:in `page'
app/models/wiki.rb:153:in `find_page'
app/controllers/projects_controller.rb:349:in `render_landing_page'
app/controllers/projects_controller.rb:160:in `block (2 levels) in show'
app/controllers/projects_controller.rb:155:in `show'
app/controllers/application_controller.rb:538:in `block in allow_gitaly_ref_name_caching'
lib/gitlab/gitaly_client.rb:341:in `allow_ref_name_caching'
app/controllers/application_controller.rb:537:in `allow_gitaly_ref_name_caching'
ee/lib/gitlab/ip_address_state.rb:10:in `with'
ee/app/controllers/ee/application_controller.rb:40:in `set_current_ip_address'
app/controllers/application_controller.rb:487:in `set_current_admin'
lib/gitlab/session.rb:11:in `with_session'
app/controllers/application_controller.rb:478:in `set_session_storage'
lib/gitlab/i18n.rb:99:in `with_locale'
lib/gitlab/i18n.rb:105:in `with_user_locale'
app/controllers/application_controller.rb:472:in `set_locale'
app/controllers/application_controller.rb:466:in `set_current_context'
lib/gitlab/middleware/speedscope.rb:13:in `call'
lib/gitlab/request_profiler/middleware.rb:17:in `call'
lib/gitlab/jira/middleware.rb:19:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:21:in `call'
lib/gitlab/middleware/multipart.rb:172:in `call'
lib/gitlab/middleware/read_only/controller.rb:50:in `call'

What is the expected correct behavior?

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes