Rugged::OdbError: Object not found - failed to find pack entry
Created by: manasbala
I am having this error for a specific project.
ERP / biznet ... rake aborted!
Rugged::OdbError: Object not found - failed to find pack entry (079ec8fc48936ea44c9d3f53920ec52976527e62)
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:56:in `target'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:56:in `block in branches'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:55:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:55:in `map'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:55:in `branches'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:50:in `branch_names'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:109:in `discover_default_branch'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-7.0.0.rc14/lib/gitlab_git/repository.rb:33:in `initialize'
/home/git/gitlab/app/models/repository.rb:8:in `new'
/home/git/gitlab/app/models/repository.rb:8:in `initialize'
/home/git/gitlab/app/models/project.rb:224:in `new'
/home/git/gitlab/app/models/project.rb:224:in `repository'
/home/git/gitlab/lib/tasks/gitlab/check.rake:500:in `block in check_repos_hooks_directory_is_link'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in `block (2 levels) in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in `block in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:125:in `find_in_batches'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:51:in `find_each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/querying.rb:9:in `find_each'
/home/git/gitlab/lib/tasks/gitlab/check.rake:498:in `check_repos_hooks_directory_is_link'
/home/git/gitlab/lib/tasks/gitlab/check.rake:359:in `block (3 levels) in <top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in run'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `load'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `<main>'
Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check
If I try to browse the project in browser it gives 500 error.