Fixing sonarr database disk image is malformed

Try the steps outlined on the sonarr FAQ first.

if that fails, stop sonarr and ty

cd /path/to/sonarr/config/directory
mv sonarr.db sonarr-broken.db
sqlite3 sonarr-broken.db .dump | sed -e 's/^ROLLBACK;/COMMIT;/' | sqlite ./sonarr.db

And start sonarr again.


Last modified: Wed Sep 18 16:20:29 2024