# Issue with GIT server

2 messages from 2008-09-03 to 2008-09-04. Participants: Dutta, Ranjan, Andreas Ericsson.
Thread: https://gitlist.dev/t/15364

## Dutta, Ranjan, 2008-09-03 21:51

Subject: Issue with GIT server
Message-ID: <9B6BEB600FC42B4A9A16868DA97FAFEE1B2ACF@bgsmsx412.gar.corp.intel.com>
URL: https://gitlist.dev/e/9B6BEB600FC42B4A9A16868DA97FAFEE1B2ACF%40bgsmsx412.gar.corp.intel.com

```
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

```

## Andreas Ericsson, 2008-09-04 10:41

Subject: Re: Issue with GIT server
Message-ID: <48BFBB72.1010403@op5.se>
URL: https://gitlist.dev/e/48BFBB72.1010403%40op5.se
In-Reply-To: <9B6BEB600FC42B4A9A16868DA97FAFEE1B2ACF@bgsmsx412.gar.corp.intel.com>

```
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

```
