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

梦想与她 提交于 2019-12-23 10:51:54

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/6065539/gitweb-failure-fatal-missing-object-0000000000000000000000000000000000000000-f

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!