![]() |
|
SOLVED: Jellyfin server crashes consistently during library scan (~24%) after upgrade - 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: Jellyfin server crashes consistently during library scan (~24%) after upgrade (/t-solved-jellyfin-server-crashes-consistently-during-library-scan-24-after-upgrade) |
Jellyfin server crashes consistently during library scan (~24%) after upgrade - JayisonJellyfin - 2025-10-25 After upgrading Jellyfin from 10.7 to 10.11, the server consistently crashes during library scans at around 24–25% progress. Initially, the web client still showed version 10.7 even though the backend service was updated to 10.11, so the database migration did not run at first. Eventually, I was able to trigger the correct migration and get the web UI to match 10.11 after deleting the Jellyfin cache folder, but the issue with library scans persists. System setup
Problem summary After the upgrade, the web interface initially didn’t update and migrations didn’t run. Once the cache was cleared, the migration to 10.11 completed successfully and the UI version matched the backend. However, the library scan still crashes Jellyfin service at ~24% completion, regardless of settings or file changes. The crash occurs without a clear stack trace — the log typically ends after: [INF] Main: Prepare system for possible migrations [INF] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock followed by an abrupt stop in the service. Steps taken so far
Current status
Expected behavior The media scan should complete successfully, or at least fail gracefully with an error message rather than crashing the service. Actual behavior The Jellyfin service stops completely during the scanning process around 24% progress, without detailed errors or trace logs indicating the failing component. Looking for guidance on
I'm trying to upload my debugging logs but I can't seem to do that here. edit: I've uploaded the logs to github https://github.com/jellyfin/jellyfin/issues/15207 Thanks guys RE: Jellyfin server crashes consistently during library scan (~24%) after upgrade - JayisonJellyfin - 2025-10-27 I rescanned every single library one by one and eventually narrowed it own to a specific library. After checking the logs, it turned out Jellyfin was trying to probe video files listed inside old .nfo metadata files — but those filenames no longer existed (the videos had been renamed). This caused repeated ffprobe failed errors and eventually a crash. Fix: Moved all metadata files (.nfo, .xml, .json, .jpg, .png, .zip) out of the problematic library folder. Removed the affected library from Jellyfin. Re-added it clean, without any of the old metadata. Ran a full library rescan — it completed successfully. If your scans consistently stop partway through, check for stale or mismatched NFO files. Cleaning them out and letting Jellyfin rebuild fresh metadata fixed the issue completely. |