Error Message corrupt file

rachelkoch95's Avatar


30 Oct, 2019 10:35 PM

Received this error message:

Anki's prefs21.db file was corrupt and has been recreated. If you were using multiple profiles, please add them back using the same names to recover your cards.

and now cannot access my decks. any advice?

  1. Support Staff 1 Posted by Damien Elmes on 30 Oct, 2019 11:00 PM

    Damien Elmes's Avatar

    If you add new profile name(s) that match the old profile folders you had, you'll be able to open your old data again. You can locate your profile names by looking in your Anki folder:

  2. 2 Posted by rachelkoch95 on 30 Oct, 2019 11:07 PM

    rachelkoch95's Avatar

    Hi, I unfortunately cannot even open the app to add back the file. The
    second I click on the application, it gives me the error message and will
    not go away.

    Rachel L. Koch

    MD Candidate | Class of 2021
    Emory School of Medicine

    [email blocked] | 404.625.8783

  3. Support Staff 3 Posted by Damien Elmes on 30 Oct, 2019 11:11 PM

    Damien Elmes's Avatar

    Please rename both prefs21.db and prefs.db in that folder if it exists to something else, restart your computer, and then try open Anki again. It may also be worth installing the latest Anki version, as it looks like you're running an older version. If you still have problems after that, please let me know.

Comments are closed, but you can start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac