git-annex/doc/bugs/index_file_smaller_than_expected.mdwn

53 lines
2.6 KiB
Markdown

### Please describe the problem.
I get an error in one of my repositories.
### What steps will reproduce the problem?
I paired my macbook repository with an repository on my desktop. The repository on the desktop contains many smaller files, because it is my documents folder.
Pairing this repository with smaller files never worked for me. I posted to the forum about it:
[[forum/ssh__95__exchange__95__identification:_read:_Connection_reset_by_peer/]]
I am a little confused because I paired three other repositories between these computers sucessfully. They contain pictures, videos and music.
### What version of git-annex are you using? On what operating system?
Version: 5.20140106-gcb3351b
Build flags: Assistant Webapp Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA CryptoHash
Mac OS X Mavericks
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
Please make sure you have the correct access rights
and the repository exists.
fatal: index file smaller than expected
TransferScanner crashed: user error (git ["--git-dir=/Users/juh/Share/.git","--work-tree=/Users/juh/Share","-c","core.bare=false","update-index","-z","--index-info"] exited 128)
[2014-01-10 16:26:00 CET] TransferScanner: warning TransferScanner crashed: user error (git ["--git-dir=/Users/juh/Share/.git","--work-tree=/Users/juh/Share","-c","core.bare=false","update-index","-z","--index-info"] exited 128)
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[2014-01-10 16:56:09 CET] NetWatcherFallback: Syncing with sokrates.local_Dokumente
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: index file smaller than expected
NetWatcherFallback crashed: user error (git ["--git-dir=/Users/juh/Share/.git","--work-tree=/Users/juh/Share","-c","core.bare=false","update-index","-z","--index-info"] exited 128)
[2014-01-10 17:01:09 CET] NetWatcherFallback: warning NetWatcherFallback crashed: user error (git ["--git-dir=/Users/juh/Share/.git","--work-tree=/Users/juh/Share","-c","core.bare=false","update-index","-z","--index-info"] exited 128)
# End of transcript or log.
"""]]
> Made assistant detect corrupted .git/annex/index on startup and correct
> it. [[fixed|done]] --[[Joey]]