我在 2008 R2 系统的 IIS 中安装了 Bonobo 3.3.0.0。Web 界面运行良好,我可以创建存储库、添加用户等。但是当我尝试从中克隆时,我得到了这个:
C:\svn\lan>git clone http://git.robertivanc.com/lanweb.git lanweb
Cloning into 'lanweb'...
Username for 'http://git.robertivanc.com': rob
Password for 'http://rob@git.robertivanc.com':
fatal: Could not read from remote repository.
请确保您具有正确的访问权限并且存储库存在。
如果我输入错误的密码,我会得到 Fatal: authenthication failed,所以 auth 似乎没问题。App_Data 权限似乎没问题,因为创建了存储库。
我正在使用表单身份验证。
如果我在浏览器中直接访问这个 url,我会得到 404 Page Not Found
未找到您要查找的页面。请重试或联系系统管理员。
错误日志中唯一的内容是:
Trying to load native SQLite library "C:\inetpub\bonobogit\Bonobo.Git.Server\x86\SQLite.Interop.dll"...
Trying to load native SQLite library "C:\inetpub\bonobogit\Bonobo.Git.Server\x86\SQLite.Interop.dll"...
Trying to load native SQLite library "C:\inetpub\bonobogit\Bonobo.Git.Server\x64\SQLite.Interop.dll"...
Trying to load native SQLite library "C:\inetpub\bonobogit\Bonobo.Git.Server\x64\SQLite.Interop.dll"...
Trying to load native SQLite library "C:\inetpub\bonobogit\Bonobo.Git.Server\x64\SQLite.Interop.dll"...
我已经切换了应用程序池位数,看看这是否与它有关,但没有。sqlite .db 文件位于 App_Data 中,并且似乎已更新。
我还将这个 repo 设置为匿名,我得到了同样的错误,唯一的区别是它不要求我输入用户名/密码。
我还能做些什么来调试这个?
更新:
我现在已经完成了提琴手跟踪(在将应用程序移动到子目录并使其成为应用程序之后,以便尽可能接近安装说明)。
无论如何,服务器返回这个:
GET http://git.robertivanc.com/Bonobo.Git.Server/lanweb.git/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.9.4.msysgit.2
Host: git.robertivanc.com
Accept: */*
Accept-Encoding: gzip
Connection: Keep-Alive
Pragma: no-cache
HTTP/1.1 200 OK
Cache-Control: no-cache, max-age=0, must-revalidate
Pragma: no-cache
Content-Type: application/x-git-upload-pack-advertisement
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 24 Dec 2014 17:52:17 GMT
Content-Length: 34
001E# service=git-upload-pack
0000