I followed this tutorial to install gitosis on my homeserver(ubuntu 10.10 server edition): https://help.ubuntu.com/community/Git .
After a lot of fiddling around because it didn't work(something with certificate naming) I finally got it to work properly. I added the testproject and everything worked fine.
Now I want to add a proper project I'm going to use, but I get this error(the testproject still works):
ERROR:gitosis.serve.main:Repository read access denied
This is my gitosis.conf(which is committed and pushed):
[gitosis] [group realproject] writable = realproject members = teun@TEUN-PC [group testproject] writable = testproject members = teun@TEUN-PC [group gitosis-admin] writable = gitosis-admin members = teun@TEUN-PC
To create the "realproject" I used these commands afterwards(on my PC):
mkdir realproject cd realproject git init touch README git add . git remote add origin email@example.com:realproject.git git commit -m "Added README" git push origin master
I get the error after that. When I look on the server in /srv/gitosis/repositories/ the realproject.git is not there, the other 2 projects are though. I hope someone can help me with this?
EDIT: After adding loglevel=DEBUG under [gitosis] to test if I see an error suddenly it worked again. Now I don't know how this is possible so I keep this question open to see if anybody knows how I just did that.