git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Issue with GIT server

From
Andreas Ericsson <ae@op5.se>
Date
Sep 4, 2008, 10:41 UTC
Message-ID
<48BFBB72.1010403@op5.se>
In-Reply-To
<9B6BEB600FC42B4A9A16868DA97FAFEE1B2ACF@bgsmsx412.gar.corp.intel.com>
Dutta, Ranjan wrote:
Show 19 quoted lines
> 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
Previous: Dutta, Ranjan
Message 2 of 2 in “Issue with GIT server”
  1. Dutta, RanjanSep 3, 2008
  2. Andreas EricssonSep 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.