问题描述
我试图将gitweb与一组使用gitolite管理的存储库一起使用。我们可以通过ssh成功克隆/推/拉他们,没有任何问题。当我尝试查看索引页时,我在apache日志中发现了以下错误:
致命缺少对象0000000000000000000000000000000000000000 for refs / heads / master,referer:http://gitwebbox/gitweb/?p = mlp2.git; a = summary
我运行git fsck并没有发现任何问题。 master的ref指向对象树中存在的哈希。
任何人都可以帮我弄清楚什么是错的吗?特别是考虑到您使用gitolite管理存储库时,您可能应该验证存储库的权限并验证您的身份可以以您的apache用户的身份访问它。
您也可以参考。
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!
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.
这篇关于Gitweb失败:致命:对于refs / heads / master,缺少对象0000000000000000000000000000000000000000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!