A couple of days ago one of the branches got corrupted and was uploaded to our GitLab Server.
I can access the server with putty and run commands. However, I am unable to use the webpage for GitLab.
I have tried a couple of commands such as sudo gitlab-rake gitlab:check I get the following errors. … rake aborted!
Rugged::OdbError: Failed to inflate loose object.
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:91:in target' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:91:in
block in local_branches’
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:90:in each' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:90:in
each’
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:90:in map' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:90:in
local_branches’
/opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:747:in local_branches' /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:520:in
branch_count’
/opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:49:in block (2 levels) in cache_method' /opt/gitlab/embedded/service/gitlab-rails/lib/repository_cache.rb:20:in
fetch’
/opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:1076:in cache_method_output' /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:49:in
block in cache_method’
/opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:81:in has_visible_content?' /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:988:in
empty_repo?’
/opt/gitlab/embedded/service/gitlab-rails/app/models/project.rb:179:in empty_repo?' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:479:in
block in check_repos_hooks_directory_is_link’
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:475:in check_repos_hooks_directory_is_link' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:345:in
block (3 levels) in <top (required)>’
If anyone one has any solutions let me know.