{"thread":{"id":"15364","subject":"Issue with GIT server","startedAt":"2008-09-03T21:51:20Z","lastAt":"2008-09-04T10:41:54Z","messageCount":2,"participants":["Dutta, Ranjan","Andreas Ericsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"89691","messageId":"9B6BEB600FC42B4A9A16868DA97FAFEE1B2ACF@bgsmsx412.gar.corp.intel.com","threadId":"15364","inReplyTo":null,"subject":"Issue with GIT server","fromName":"Dutta, Ranjan","fromEmail":"ranjan.dutta@intel.com","sentAt":"2008-09-03T21:51:20Z","receivedAt":"2008-09-03T21:51:20Z","isPatch":false,"sender":{"key":"ranjan.dutta@intel.com","avatar":null},"body":"Hello,\n\nI am facing the following issue with GIT server running on Ubuntu 8.04\nusing an http interface (apache2)..\n\nWhen I try to push code at the GIT client end\n\n1. git-add(s)\n2. git-commit\n3. sudo git push upload master\n\nI get this error - \n\nerror: http-push died with strange error\nerror: failed to push some refs to 'http://<usernaM@<server ip\naddress>/<git_dir>/'\n\nAny pointers as to how to debug this further ?\n\nRegards,\nRanjan\n"},{"id":"89754","messageId":"48BFBB72.1010403@op5.se","threadId":"15364","inReplyTo":"9B6BEB600FC42B4A9A16868DA97FAFEE1B2ACF@bgsmsx412.gar.corp.intel.com","subject":"Re: Issue with GIT server","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2008-09-04T10:41:54Z","receivedAt":"2008-09-04T10:41:54Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Dutta, Ranjan wrote:\n> Hello,\n> \n> I am facing the following issue with GIT server running on Ubuntu 8.04\n> using an http interface (apache2)..\n> \n> When I try to push code at the GIT client end\n> \n> 1. git-add(s)\n> 2. git-commit\n> 3. sudo git push upload master\n> \n> I get this error - \n> \n> error: http-push died with strange error\n> error: failed to push some refs to 'http://<usernaM@<server ip\n> address>/<git_dir>/'\n> \n> Any pointers as to how to debug this further ?\n> \n\nTo start with, you needn't use \"sudo\" to run git push.\n\nBesides that, I'm guessing it's a permission error on the server,\nso that the apache user (or whatever user your webserver is running\nas) can't write to the files it needs to write to.\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"}]}