On Tuesday, May 24, 2011 12:33:05 AM UTC-8, HugoKuo wrote: > Hi guys , > > While I want to push , I get into trouble. I can create project and > > repository on Dashboard. > > But while I turn into console, I got error as follow. > > I'm sure that the repositories folder could be access by git. There're > > several file which I created from Dashboard. > > > > **************************************************************************************** > > hugo@i-00000092:~/projects/mumbo$ ssh [email protected] > > PTY allocation request failed on channel 0 > > Welcome, hugo. Use git to push/pull your repositories > > Connection to > > git.myserver.com closed. > > **************************************************************************************** > > hugo@i-00000092:~/projects/mumbo$ git push origin master > > > > == Gitorious: > > ========================================================== > > Access denied or wrong repository path > > ======================================================================== > > > > fatal: The remote end hung up unexpectedly > > > > **************************************************************************************** > > ===gitorious_auth.log=== > > I, [2011-05-24 16:15:47#7876] INFO -- : Connection from "172.16.2.155 > > 55349 22" (hugo): git-receive-pack '/hugo/mainline.git' > > I, [2011-05-24 16:15:47#7876] INFO -- : Access denied or bad > > repository path for "hugo": "git-receive-pack '/hugo/mainline.git'" > > > > ==while I try on gitserver localhost== > > I, [2011-05-24 16:29:15#8368] INFO -- : Connection from "127.0.0.1 > > 38101 22" (hugo): git-receive-pack '/mumbo/mainline.git' > > I, [2011-05-24 16:29:15#8368] INFO -- : Access denied or bad > > repository path for "hugo": "git-receive-pack '/mumbo/mainline.git'" > > > > **************************************************************************************** > > I got same problem... > > Any suggestion would be helpful!!!!
Here's what I did to fix this issue. I checked gitorious.yml settings and noticed that "gitorious_client_host" was set to "localhost". I changed it to "gitorious.myhost.com", restarted git-daemon, and it worked. I followed the suggestions above about making sure gitorious user, "git", had all the proper permissions and they already were correctly set. I was also able to create a repo through the website and whatnot. So it must have been something internal. And that's where I got the idea to change "gitorious_client_host". Good luck! -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
