Anki Desktop randomly stopped working for me and gave me the “collection file is corrupt error,” more specifically the error:
anki.errors.DBError: DbError { info: “SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some("database disk image is malformed"))”, kind: Other }
Disabling addons, “checking the database,” and reopening the app didn’t fix this error. Next I tried to restore from an automatic backup by going to “switch profile”, but that resulted in a never-ending backing up message shown below:
So next I tried renaming and removing the media database file which I saw on a previous forum post.
…But unfortunately none of these troubleshooting methods worked. My ankiweb, iPad, and iPhone anki apps all still have my decks intact, so this issue seems to be isolated to my desktop. Has anyone run into this issue before/ have a potential solution?