Open PiQuer opened 8 years ago
It looks like there is some problem with the "hints.xxx" file (see in your repo directory). Maybe it is somehow corrupted (empty or bad contents), you could try removing it.
No guarantees. If it is important, make a backup of the repo before experimenting.
Thanks for the reply. Deleting the hints.xxx file
and running attic check --repair
afterwards indeed fixed the problem.
I will keep an eye on the repository if the file gets corrupted again, and I'm glad to provide more information in case someone wants to debug this scenario.
Maybe in such a case (corrupted hints file) a more helpful message could be generated?
The issue keeps coming back from time to time, I do not know by what it is triggered. In these cases the hints file is empty and I have to delete it and run check --repair.
Maybe it is s3fs not running reliably / well enough as a filesystem?
Can you reproduce on a local ext4 mount?
It might very well be related to s3fs, never had it with a smb or nfs mount (other backup locations I use).
Attic worked fine for some time, now suddenly I get this exception when trying to create or delete an archive. Arch linux, attic-0.16, python-msgpack 0.4.7 (and tried 0.4.6 without success). Backup to amazon s3 mounted with s3fs.
attic check --repair runs through without error.
Any way to recover other than recreating the repository?