Database Corrupt

Does not work even when trying to restart or redownload Anki as well as checking database???

An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-11.2.3-arm64-arm-64bit
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2023-07-30 11:35:30

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “aqt.mediacheck”, line 101, in _on_finished
File “concurrent.futures._base”, line 439, in result
File “concurrent.futures._base”, line 391, in __get_result
File “concurrent.futures.thread”, line 58, in run
File “aqt.mediacheck”, line 90, in _check
File “”, line 170, in check
File “anki._backend_generated”, line 1665, in check_media
File “anki._backend”, line 156, in _run_command
anki.errors.DBError: DbError { info: “SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some("database disk image is malformed"))”, kind: Other }

As the last line of the error says - database disk image is malformed. This might have happened if you or some background process modified the anki database or something happened to your disk drive. Your safest bet will be to try to load one of your automatic backups - Backups - Anki Manual

1 Like

As this one looks to be related to your media database, please try logging out and then syncing again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.