Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitweb failure: fatal: missing object 0000000000000000000000000000000000000000 for refs/heads/master [closed]

I'm trying to use gitweb with a set of repositories that are managed with gitolite. We can successfully clone/push/pull from them over ssh with no problems. When I try to view the index page, I get the following errors in the apache log:

fatal: missing object 0000000000000000000000000000000000000000 for refs/heads/master, referer: http://gitwebbox/gitweb/?p=mlp2.git;a=summary

I've run git fsck and it doesn't find any issues. The ref for master points to a hash that exists in the object tree.

Can anybody help me figure out what is wrong? Thanks!

like image 899
Peter Loron Avatar asked Nov 04 '22 21:11

Peter Loron


1 Answers

Particularly given that you are managing the repository with gitolite, you probably should verify the permissions on your repository and verify you can access it as your apache user.

You can also refer to the detailed instructions on configuring gitolite and gitweb.

like image 100
djs Avatar answered Nov 15 '22 06:11

djs