![]() |
SOLVED: Malformed Jellyfin Database - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: Malformed Jellyfin Database (/t-solved-malformed-jellyfin-database) Pages:
1
2
|
RE: Malformed Jellyfin Database - TheDreadPirate - 2025-03-17 You can restore the backup from 10.10.4 and it should bring it up to 10.10.6. You'd lose any watch status since the backup, but you'd only need to rescan new content added since and your users should still be present. RE: Malformed Jellyfin Database - Winthryth - 2025-03-17 I was able to fix my database without having to restore form the backup! Running sudo sqlite3 library.db .dump sudo sqlite3 jellyfin.db .dump on a copy of my current database files revealed that my library.db had errors via the final line "ROLLBACK; -- due to errors" From https://stackoverflow.com/questions/5274202/sqlite3-database-or-disk-is-full-the-database-disk-image-is-malformed I ran the below script on both library.db and jellyfin.db #!/bin/bash and resorted them both both to /var/lib/jellyfin/data/ . I also deleted any .bak, db-shm and db-wal file I found for each database. Upon restarting jellyfin all of my data seems to be preserved and "Scan Media Library" and "Extract Chapter Images" tasked completed without errors. Thank you for all your help TheDreadPirate! RE: Malformed Jellyfin Database - Ike - 2025-06-01 (2025-03-17, 10:41 PM)Winthryth Wrote: I was able to fix my database without having to restore form the backup! Running thanks for this info i did this for my fix with this : ./fix_db.sh has to be in : /volume1/docker/jellyfin/config/data Code: cd /volume1/docker/jellyfin/config/data |