All of lore.kernel.org
 help / color / mirror / Atom feed
* git remote repo using http
@ 2011-02-18 17:28 chris
  2011-02-18 18:40 ` in-gitvger
  0 siblings, 1 reply; 2+ messages in thread
From: chris @ 2011-02-18 17:28 UTC (permalink / raw)
  To: git

Hello,

I have been trying this for about 1 day, with no luck so far.
I have a git repo on a server that is hosting our company's website (the 
hosting company name is LunarPages, and the server is Bazaar i believe). 
Thing is when i try the following command from my local machine this is 
what i get:
-----------[code]-----------
$ git clone http://website.com/public_fpt/repos/proj.git
Cloning into proj ...
fatal: http://website.com/public_ftp/repos/proj.git/info/refs not found: 
did you run the git update-server-info on the server?
-----------[/code]--------------


Because of this, i tried starting all over again, and i even ran the 
command:
-----------[code]---------------
Chris@anora-1271823183291 z/public_ftp/repos/proj.git
$ git update-server-info
-----------[/code]---------------

before trying to clone, and i still have this problem. I have searched 
online, I even found this tutorial:
http://blog.wekeroad.com/2009/11/23/deploying-a-web-application-with-git-and-ftp
but i still get the same error message. At this point I'm out of ideas. 
Is there anything else I need to try?

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git remote repo using http
  2011-02-18 17:28 git remote repo using http chris
@ 2011-02-18 18:40 ` in-gitvger
  0 siblings, 0 replies; 2+ messages in thread
From: in-gitvger @ 2011-02-18 18:40 UTC (permalink / raw)
  To: chris; +Cc: git


    -----------[code]-----------
    $ git clone http://website.com/public_fpt/repos/proj.git
    Cloning into proj ...
    fatal: http://website.com/public_ftp/repos/proj.git/info/refs not found: 
    did you run the git update-server-info on the server?
    -----------[/code]--------------

This is a sign that you are using the dumb http protocol instead of
the new smart one.  You do NOT need to run update-server-info.  You
*are* trying to use the smart protocol (which typically requires web
server reconfiguration), right?

First, make sure you are running a modern version of git.  1.7.4.1
recommended but the smart backend was introduced in 1.6.6

Then check out the web server logs for clues or otherwise strace to
make sure the directory you think it should be using is actually the
directory it is using is good--often times the web server translation
is a bit subtle..

Rerun:

GIT_TRACE=2 GIT_CURL_VERBOSE=1 git clone http://website.com/public_fpt/repos/proj.git

I'll assume fpt is not a misspelled ftp here.

When you `ls` the git directory on the server, do you see the config
and info and objects directory, or do you see something else?

					-Seth Robertson

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-18 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 17:28 git remote repo using http chris
2011-02-18 18:40 ` in-gitvger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.