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?
Thanks for your help, I'm stuck with Jellyfin 10.8.13.
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.