Hi, I'm trying to set up a Git application that will be accessible through http. I carefully followed the instructions I found at http://docs.webfaction.com/software/git.html (several times), but here is what I'm getting when I'm trying to clone over HTTP:
I get the same error whatever <repo name=""> value I use. I can access my repository through gitweb, so the application/website setup seems fine. The cloning works fine over ssh. Every time I am attempting to clone, this line appears twice in logs/frontend/error_git_php.log:
What's wrong? asked 06 Apr '11, 11:42 Dominique Eav |
The webfaction support team found out what the problem was: blank lines had been inserted before the "#!/bin/bash". I don't know where those blank lines came from (most certainly from the git install template, since I tried reinstalling from scratch several times), but my setup now works fine. answered 07 Apr '11, 04:53 Dominique Eav Turned out to be a buggy install template. Webfaction just fixed it.
(07 Apr '11, 07:22)
Dominique Eav
|
Try git clone http://git.username.webfactional.com/repo_name.git (without username@) answered 23 Oct '12, 08:05 Idream |
This usually happens when 'git.cgi' is running with the wrong permissions.
Could you try:
The permissions were ok, this is not my problem. I'm trying again from scratch with a fresh mind.
Yep, still the same error. Does anyone have a clue?