That error indicates the metadata.db is corrupted, i.e. its contents have been partially overwritten with garbage. There's no way to know what file operations cause that, it could be anything, the most likely culprit is that you have two programs writing to the same file at the same time.
|