Frequently Asked Questions
How to support Bonobo Git Server?
You can
- contribute,
- promote on your blog,
- tweet about it,
- answer a question on StackOverflow,
- recommend it to your friend or colleague or
- donate.
Thank you for using this project and your support.
How to clone a repository?
- Go to the Repository Detail.
- Copy the value in the Git Repository Location.
- It should look like
http://servername/projectname.git
.
- Go to your command line and run
git clone http://servername/projectname.git
.
How do I change my password?
- Click on the account settings in the top right corner.
- Enter new password and confirmation.
- Save.
How to backup data?
- Go to the installation folder of Bonobo Git Server on the server.
- Default location is
C:\inetpub\wwwroot\Bonobo.Git.Server
.
- Copy the content of App_Data folder to your backup directory.
- If you changed the location of your repositories, backup them as well.
How to change repositories folder?
- Log in as an administrator.
- Go to Global Settings.
- Set the desired value for the Repository Directory.
- Directory must exist on the hard drive.
- IIS User must have proper permissions to modify the folder.
- Save changes.
Can I allow anonymous access to a repository?
- Edit the desired repository (or do this when creating the repository).
- Check Anonymous check box.
- Save.
For allowing anonymous push you have to modify global settings.
- Log in as an administrator.
- Go to Global Settings.
- Check the value Allow push for anonymous repositories
- Save changes.
fatal: http: /info/refs not valid: is this a git repository?
This is a git client way of saying that it didn’t receive git stream as a response from a server. That usually means, that there has been an error on the server side.
To determine what type of error it is, view the log file located at App_Data/Bonobo.Git.Server.Errors.log
.
Bonobo Git Server doesn’t serve CSS
This is a common issue for Windows 8 users, please see the topic. The solution is simple:
- Go to Turn windows features on or off screen
- Navigate IS -> WWWS -> Common HTTP Features
- Tick Static Content
Cloning Error - RPC failed
There are multiple reasons why this error can occure on the client, but the most frequent ones are related to the size of the request. If you encounter this issue try to increase the following values.
- run git config http.postBuffer [desired size] on your client, you can try 524288000
- increase <requestLimits maxAllowedContentLength=”[desired size]”> in web.config; the size could be 1073741824
- increase <httpRuntime maxRequestLength=”[desired size]”> in web.config; try the value 1024000
Apparently, there is no need in limiting maxRequestLength on IIS 8.0 so if you run into troubles, try to remove the line.
SSL and large repositories
When using SSL and pushing large repository you should increase the variable size as described above and if it still doesn’t help you should apply the following Microsoft patch (KB2634328).
Error 500.19 and file execution issues and locked on IIS 8
To resolve it I had to execute:
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules