git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Issue with GIT server
@ 2008-09-03 21:51 Dutta, Ranjan
  2008-09-04 10:41 ` Andreas Ericsson
  0 siblings, 1 reply; 2+ messages in thread
From: Dutta, Ranjan @ 2008-09-03 21:51 UTC (permalink / raw)
  To: git

Hello,

I am facing the following issue with GIT server running on Ubuntu 8.04
using an http interface (apache2)..

When I try to push code at the GIT client end

1. git-add(s)
2. git-commit
3. sudo git push upload master

I get this error - 

error: http-push died with strange error
error: failed to push some refs to 'http://<usernaM@<server ip
address>/<git_dir>/'

Any pointers as to how to debug this further ?

Regards,
Ranjan

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

* Re: Issue with GIT server
  2008-09-03 21:51 Issue with GIT server Dutta, Ranjan
@ 2008-09-04 10:41 ` Andreas Ericsson
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Ericsson @ 2008-09-04 10:41 UTC (permalink / raw)
  To: Dutta, Ranjan; +Cc: git

Dutta, Ranjan wrote:
> Hello,
> 
> I am facing the following issue with GIT server running on Ubuntu 8.04
> using an http interface (apache2)..
> 
> When I try to push code at the GIT client end
> 
> 1. git-add(s)
> 2. git-commit
> 3. sudo git push upload master
> 
> I get this error - 
> 
> error: http-push died with strange error
> error: failed to push some refs to 'http://<usernaM@<server ip
> address>/<git_dir>/'
> 
> Any pointers as to how to debug this further ?
> 

To start with, you needn't use "sudo" to run git push.

Besides that, I'm guessing it's a permission error on the server,
so that the apache user (or whatever user your webserver is running
as) can't write to the files it needs to write to.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

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

end of thread, other threads:[~2008-09-04 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 21:51 Issue with GIT server Dutta, Ranjan
2008-09-04 10:41 ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).