SOLVED: corrupted library.db when upgrading to >10.9.3 - 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: corrupted library.db when upgrading to >10.9.3 (/t-solved-corrupted-library-db-when-upgrading-to-10-9-3) Pages:
1
2
|
corrupted library.db when upgrading to >10.9.3 - fabien - 2024-07-09 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] Thanks for your help, I'm stuck with Jellyfin 10.8.13. RE: corrupted library.db when upgrading to >10.9.3 - TheDreadPirate - 2024-07-09 Do you have another app that is monitoring Jellyfin and killing it if it doesn't start up after a certain amount of time? There was a migration in 10.9.4+ that can take some time to complete. A lot Synology Docker users (I know this doesn't apply to you) had watchdogs that killed Jellyfin if it didn't complete startup after 30 seconds, mid-migration, that caused their corruption. Do you have something similar going on? RE: corrupted library.db when upgrading to >10.9.3 - fabien - 2024-07-10 Thanks for your time and quick answer. I'm running Jellyfin server on a Virtual Machine (.qcow2) with Debian. I'm quite a beginner in Linux, How could I check if an app is monitoring Jellyfin and killing it? RE: corrupted library.db when upgrading to >10.9.3 - TheDreadPirate - 2024-07-10 You not knowing means you didn't install one. There aren't any built in. Can you share your full Jellyfin log via pastebin? Preferably one immediately after upgrading. Also, what are the server hardware specs and what is the OS of the host machine? I'm assuming also Linux and this is a KVM based VM. RE: corrupted library.db when upgrading to >10.9.3 - fabien - 2024-07-11 OS of the host machine is called Freebox OS, The Freebox is the name of the router of my ISP which can handle VM management Freebox OS is a 64 bit Linux distribution (developped by the ISP) (According to the linked article) it incorporates a simple quad-core ARMv8 SoC, the Armada 8040 (88F8040) based on Cortex-A72, etched in 28nm 16 Go RAM DDR4 ECC (I upgraded the RAM) VM Debian 12.6 has 2 CPU, and 4 Go RAM allocated + a cloud-init Jellyfin has been running flawessly with this config for more than 2 years before the 10.9.3 upgrade bug. Here's the Jellyfin log with a corrupted database happening at [2024-07-11 02:23:34.441 +02:00] [ERR] Could not apply migration '"FixAudioData"' https://pastebin.com/36TciHPD RE: corrupted library.db when upgrading to >10.9.3 - TheDreadPirate - 2024-07-11 The two issues you linked in your first post involved docker killing the Jellyfin container mid-migration because the FixAudioData migration was taking too long. That does not appear to be the case here. Other than some plugins failing to start immediately after the upgrade (normal), I don't see anything out of the ordinary to explain what is happening. When you say you restored a backup, is that a backup you made or are you talking about using library.db.bak2? RE: corrupted library.db when upgrading to >10.9.3 - fabien - 2024-07-11 It's a whole backup of my Debian ".qcow2" image before the failing upgrade. Thanks for the hint, I will try to upgrade by uninstalling some plugins first. RE: corrupted library.db when upgrading to >10.9.3 - TheDreadPirate - 2024-07-11 Uninstalling the plugins SHOULDN'T make a difference, but who knows. I've seen weirder things. RE: corrupted library.db when upgrading to >10.9.3 - fabien - 2024-07-11 Indeed. Same bug happened. :-( What about this fix? https://forum.jellyfin.org/t-solved-errors-during-library-scan?pid=29294#pid29294 In my case, the "migrations.xml" located in etc/jellyfin file doesn't contain any "FixAudioData" line ?? RE: corrupted library.db when upgrading to >10.9.3 - TheDreadPirate - 2024-07-11 What happens when you just rename migrations.xml? |