DbError when I open Anki

  1. Make sure you have a backup of your collection
  2. Ensure Anki is closed…
  3. Go in the Anki directory, then in your profile directory (same name as your profile).
  4. Rename collection.anki2 in collection.anki2.old and collection.media.db2 in collection.media.db2.old.
  5. Open Anki.
  6. Click on Tools > Check Database.
  7. Import your backup.
  8. Click on Tools > Check Database.
  9. If everything went fine, and you have asserted you have recovered all your collection, you can delete collection.anki2.old and collection.media.db2.old.

If any of these steps fail, please provide the reason why it failed, and the step number.

2 Likes