{"thread":{"id":"26551","subject":"git remote repo using http","startedAt":"2011-02-18T17:28:20Z","lastAt":"2011-02-18T18:40:58Z","messageCount":2,"participants":["chris","in-gitvger@baka.org"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"161555","messageId":"4D5EAC34.3060504@anorasolutions.com","threadId":"26551","inReplyTo":null,"subject":"git remote repo using http","fromName":"chris","fromEmail":"christian@anorasolutions.com","sentAt":"2011-02-18T17:28:20Z","receivedAt":"2011-02-18T17:28:20Z","isPatch":false,"sender":{"key":"christian@anorasolutions.com","avatar":null},"body":"Hello,\n\nI have been trying this for about 1 day, with no luck so far.\nI have a git repo on a server that is hosting our company's website (the \nhosting company name is LunarPages, and the server is Bazaar i believe). \nThing is when i try the following command from my local machine this is \nwhat i get:\n-----------[code]-----------\n$ git clone http://website.com/public_fpt/repos/proj.git\nCloning into proj ...\nfatal: http://website.com/public_ftp/repos/proj.git/info/refs not found: \ndid you run the git update-server-info on the server?\n-----------[/code]--------------\n\n\nBecause of this, i tried starting all over again, and i even ran the \ncommand:\n-----------[code]---------------\nChris@anora-1271823183291 z/public_ftp/repos/proj.git\n$ git update-server-info\n-----------[/code]---------------\n\nbefore trying to clone, and i still have this problem. I have searched \nonline, I even found this tutorial:\nhttp://blog.wekeroad.com/2009/11/23/deploying-a-web-application-with-git-and-ftp\nbut i still get the same error message. At this point I'm out of ideas. \nIs there anything else I need to try?\n\nThanks.\n"},{"id":"161557","messageId":"201102181840.p1IIewCp027093@no.baka.org","threadId":"26551","inReplyTo":"4D5EAC34.3060504@anorasolutions.com","subject":"Re: git remote repo using http","fromName":"","fromEmail":"in-gitvger@baka.org","sentAt":"2011-02-18T18:40:58Z","receivedAt":"2011-02-18T18:40:58Z","isPatch":false,"sender":{"key":"in-gitvger@baka.org","avatar":null},"body":"\n    -----------[code]-----------\n    $ git clone http://website.com/public_fpt/repos/proj.git\n    Cloning into proj ...\n    fatal: http://website.com/public_ftp/repos/proj.git/info/refs not found: \n    did you run the git update-server-info on the server?\n    -----------[/code]--------------\n\nThis is a sign that you are using the dumb http protocol instead of\nthe new smart one.  You do NOT need to run update-server-info.  You\n*are* trying to use the smart protocol (which typically requires web\nserver reconfiguration), right?\n\nFirst, make sure you are running a modern version of git.  1.7.4.1\nrecommended but the smart backend was introduced in 1.6.6\n\nThen check out the web server logs for clues or otherwise strace to\nmake sure the directory you think it should be using is actually the\ndirectory it is using is good--often times the web server translation\nis a bit subtle..\n\nRerun:\n\nGIT_TRACE=2 GIT_CURL_VERBOSE=1 git clone http://website.com/public_fpt/repos/proj.git\n\nI'll assume fpt is not a misspelled ftp here.\n\nWhen you `ls` the git directory on the server, do you see the config\nand info and objects directory, or do you see something else?\n\n\t\t\t\t\t-Seth Robertson\n"}]}