• 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: corrupted library.db when upgrading to >10.9.3

     
    • 0 Vote(s) - 0 Average

    SOLVED: corrupted library.db when upgrading to >10.9.3

    Each time I try to update Jellyfin to a >10.9.3 version, my library.db gets corrupted.
    fabien
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:France
    #1
    2024-07-09, 10:28 PM
    There was 2 issues related to this problem opened in GitHub but the were closed as a dev suggested to head for support on the forum
    https://github.com/jellyfin/jellyfin/issues/12035
    https://github.com/jellyfin/jellyfin/issues/12069

    So Here it is.
    I'm running Jellyfin through Debian on a VM.
    Each time I try to update Jellyfin to a >10.9.3 version, my library.db
     gets corrupted.
    I tried to replace
    library.db
     with a backup, as stated above, but no success..
    Here's the log where the corruption seems to happen?

    Code:
    [color=#1f2328][2024-07-04 01:12:35.869 +02:00] [INF] Applying migration '"UpdateDefaultPluginRepository10.9"'[/color]
    [color=#1f2328][2024-07-04 01:12:35.870 +02:00] [INF] Saving system configuration[/color]
    [color=#1f2328][2024-07-04 01:12:35.872 +02:00] [INF] Setting cache path: "/var/cache/jellyfin"[/color]
    [color=#1f2328][2024-07-04 01:12:35.872 +02:00] [INF] Migration '"UpdateDefaultPluginRepository10.9"' applied successfully[/color]
    [color=#1f2328][2024-07-04 01:12:35.879 +02:00] [INF] Applying migration '"FixAudioData"'[/color]
    [color=#1f2328][2024-07-04 01:12:35.883 +02:00] [INF] Backing up "library.db" to "/var/lib/jellyfin/data/library.db.bak2"[/color]
    [color=#1f2328][2024-07-04 01:12:36.535 +02:00] [INF] "library.db" backed up to "/var/lib/jellyfin/data/library.db.bak2"[/color]
    [color=#1f2328][2024-07-04 01:12:36.536 +02:00] [INF] Backfilling audio lyrics data to database.[/color]
    [color=#1f2328][2024-07-04 01:12:43.827 +02:00] [ERR] Could not apply migration '"FixAudioData"'[/color]
    [color=#1f2328]Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.[/color]
    [color=#1f2328]  at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()[/color]
    [color=#1f2328]  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)[/color]
    [color=#1f2328]  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()[/color]

    Thanks for your help, I'm stuck with Jellyfin 10.8.13.
    Go to solution
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    corrupted library.db when upgrading to >10.9.3 - by fabien - 2024-07-09, 10:28 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by TheDreadPirate - 2024-07-09, 10:35 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by fabien - 2024-07-10, 01:22 AM
    RE: corrupted library.db when upgrading to >10.9.3 - by TheDreadPirate - 2024-07-10, 02:15 AM
    RE: corrupted library.db when upgrading to >10.9.3 - by fabien - 2024-07-11, 12:32 AM
    RE: corrupted library.db when upgrading to >10.9.3 - by TheDreadPirate - 2024-07-11, 04:29 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by fabien - 2024-07-11, 05:16 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by TheDreadPirate - 2024-07-11, 05:20 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by fabien - 2024-07-11, 10:34 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by TheDreadPirate - 2024-07-11, 10:50 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by fabien - 2024-08-08, 09:54 PM
    RE: corrupted library.db when upgrading to >10.9.3 - by fabien - 2024-09-11, 12:58 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