• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Database disk image is Malformed

     
    • 0 Vote(s) - 0 Average

    SOLVED: Database disk image is Malformed

    SQLite Error 11: 'database disk image is malformed'.
    sneakie
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Sweden
    #11
    2025-05-05, 05:10 AM (This post was last modified: 2025-05-05, 05:11 AM by sneakie. Edited 1 time in total.)
    (2025-03-23, 05:56 PM)TheDreadPirate Wrote:
    (2025-03-23, 02:15 AM)sneakie Wrote: Ok. So I managed to create a new DB that resembles the real deal (206000 KB vs 200000 KB) which also passes the pragma integrity check, which leads me to believe it might have worked, though I cant be sure, because I don't think the integrity check is meant to see if a database is healthy, just to check for errors?

    What I did was I changed '.dump' to '.recover' in the powershell command.

    Just for some more information in case this isn't a solution or anyone comes across this:

    When checking both Library.db & Jellyfin.db with pragma integrity check; they both produced these errors:

    Jellyfin.db: row 34 missing from index IX_ActivityLogs_DateCreated
    Library.db: *** in database main ***, Tree 7 page 39598 cell 37: Rowid 232781 out of order, database disk image is malformed

    and after running powershell command above with the alterations, both appear to be error free.

    The Jellyfin startup afterwards without all the database malformed messages?

    The fix worked temporarily. 

    but I decided to remake the whole thing and hope I could find the culprit by process of elimination or if I could just get rid of the issue permanently, however neither worked I removed all plugins except merge versions and it still ended up malforming eventually(1-2weeks).

    The only things that are exactly the same is the server its run on same unraid version, docker version, docker app and no crashes/power outages.

    I also thought that maybe having a torrent software downloading/seeding directly from the database could be the culprit but I'm not sure and couldnt really find any information regarding it, do you have any idea of how likely that could be?

    linked here https://privatebin.net/?005eed779766b066...prRBpsyh5z is the first log (a few days ago) where the malformation shows up, let me know if you need anything else or if there is anything you can see from the log.
    pw to bin: lol123

    I can add anything needed when I wake up in a few hours.

    Again, sorry for late reply, I realized this is months old now. Cheers for all the help.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Database disk image is Malformed - by sneakie - 2025-03-22, 07:20 PM
    RE: Database disk image is Malformed - by TheDreadPirate - 2025-03-22, 07:29 PM
    RE: Database disk image is Malformed - by sneakie - 2025-03-22, 07:40 PM
    RE: Database disk image is Malformed - by theguymadmax - 2025-03-22, 09:21 PM
    RE: Database disk image is Malformed - by sneakie - 2025-03-22, 10:27 PM
    RE: Database disk image is Malformed - by TheDreadPirate - 2025-03-23, 01:11 AM
    RE: Database disk image is Malformed - by sneakie - 2025-03-23, 01:31 AM
    RE: Database disk image is Malformed - by sneakie - 2025-03-23, 01:44 AM
    RE: Database disk image is Malformed - by sneakie - 2025-03-23, 02:15 AM
    RE: Database disk image is Malformed - by TheDreadPirate - 2025-03-23, 05:56 PM
    RE: Database disk image is Malformed - by sneakie - 2025-05-05, 05:10 AM
    RE: Database disk image is Malformed - by sneakie - 2025-05-06, 02:54 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode