Anki sync or media check result in an error


Whenever I hit sync or media check the following error happens.


Anki 2.1.35 (84dcaa86) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux (manjaro)
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-03-31 01:20:44

Caught exception:
Traceback (most recent call last):
File “aqt/”, line 87, in _on_closures_pending
File “aqt/”, line 59, in
File “aqt/”, line 81, in _on_finished
File “concurrent/futures/”, line 432, in result
File “concurrent/futures/”, line 388, in __get_result
File “concurrent/futures/”, line 57, in run
File “aqt/”, line 70, in _check
File “anki/”, line 184, in check
File “anki/”, line 185, in check_media
File “anki/”, line 267, in _run_command
anki.rsbackend.IOError: IOError { info: “Os { code: 117, kind: Other, message: “Structure needs cleaning” }” }

  • use Tools > Check Database didn’t fix the problem

** I have tested anki with shift pressed down (no add-on activated) but the same error happens

Thanks in advance for your cooperation and help.
best regards,

Googling the error message yields the following pages which may be related:

1 Like

Hi, Abdo thanks for the reply,

Yes, running the fsck from a live cd session fixed the problem for good.