Error pushing to remote with git

Posted by pcm2a on Server Fault See other posts from Server Fault or by pcm2a
Published on 2011-11-27T23:26:14Z Indexed on 2011/11/28 1:54 UTC
Read the original article Hit count: 444

Filed under:
|
|

I have a fresh Centos 6 server stood up and I have installed git version 1.7.1 through yum. I am using the smart http method through apache for access.

When I try to push to the remote server this is what I get:

$ git push origin master
Password:
Counting objects: 6, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (6/6), 436 bytes, done.
Total 6 (delta 0), reused 0 (delta 0)
error: unpack failed: index-pack abnormal exit

I have tried these things which made no difference:

  • chown -R apache:apache /path/to/git/repository (httpd runs as apache)
  • chown -R apache:users /path/to/git/repository
  • chmod -R 777 /path/to/git/repository (obviously not secure but wanted to eliminate this being a file permission problem)

What can I try to get pushing to work?

© Server Fault or respective owner

Related posts about apache2

Related posts about centos