Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I used to be able to clone from my personal git repository but now i seem to be running into an error.

user:dev.site.com mikesilvis$ git clone { my ssh directory }
server@ipaddress's password: 

remote: Counting objects: 3622, done.
remote: Compressing objects: 100% (2718/2718), done.
error: git upload-pack: git-pack-objects died with error.  
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed

It seems to be working however while I push files to the repository.

share|improve this question
3  
What happens if you download a copy of the repository and try cloning it locally? (i.e. using a local path instead of an ssh URL) If it works, I'd wonder whether the git installation on the remote server might be at fault. –  David Z Jun 4 '10 at 17:28
    
> fatal: git upload-pack: aborting due to possible repository corruption on the remote side. –  gelraen Sep 29 '11 at 9:49
add comment

3 Answers

The error message

git-pack-objects died with error

suggests that there's something wrong with the remote. Can you ssh into the remote and run git fsck? If that finds any errors, you may have a faulty CPU, RAM or storage device (believe me or not but git is really good at finding those). Another thing to check is to make sure that both the local system and remote systems are not running out of storage space.

share|improve this answer
add comment

Did you checked the permissions?

For the git user (normally called git)?

See this

http://www.kernel.org/pub/software/scm/git/docs/everyday.html

share|improve this answer
add comment

Did you check whether your shell initialization doesn't generate any output in non-interactive mode. This is a typical reason for example that scp doesn't work (you could check if it does).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.