I have installed gitorious on a server and the web site works well; then I created a test project through the web interface and tried to git clone it:
$ git clone git://172.22.175.158/test/mainline.git Initialize mainline/.git Initialized empty Git repository in c:/dev/mainline/.git/ 172.22.175.158[0: 172.22.175.158]: errno=Invalid argument fatal: unable to connect a socket (Invalid argument) $ git clone http://git.172.22.175.158/test/mainline.git Initialize mainline/.git Initialized empty Git repository in c:/dev/mainline/.git/ error: The requested URL returned error: 503 warning: remote HEAD refers to nonexistent ref, unable to checkout. $ git clone [EMAIL PROTECTED]:test/mainline.git Initialize mainline/.git Initialized empty Git repository in c:/dev/mainline/.git/ Enter passphrase for key id_rsa: ERROR:gitosis.app:Configuration does not exist: [Errno 2] No such file or directory: '/home/git/.gitosis.conf' fatal: The remote end hung up unexpectedly Seeing that the ssh problem might be due to my previous usage of gitosis, I sudo adduser gitorious:git, chown -R gitorious git/ repositories, and then: $ git clone [EMAIL PROTECTED]:test/mainline.git Initialize mainline/.git Initialized empty Git repository in c:/dev/mainline/.git/ [EMAIL PROTECTED]'s password: Permission denied, please try again. [EMAIL PROTECTED]'s password: Permission denied (publickey,password). fatal: The remote end hung up unexpectedly Now it no more refers to gitosis, so it looks like it was a good idea. But I'm still a bit stuck, as you can see. So in essence: - cloning through git:// and http:// doesn't work - I serve gitorious on port 3000, is that the problem, and if so, how could I make it work without using port 80, which is already used by something else? - cloning/pushing through ssh still doesn't work also. What is the password asked for? I tried my ssh key's password. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
