Jellyfin Forum
Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - 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: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie (/t-library-scanning-stuck-at-48-and-my-jellyfin-server-only-updates-1-movie)

Pages: 1 2


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - TheDreadPirate - 2024-06-17

I don't think this is the cause of your problem, but you should have a path mapped for /cache.

Can you turn on debugging logging?

https://jellyfin.org/docs/general/administration/troubleshooting/#debug-logging

Once that is enabled, rescan and select replace all metadata and replace all images for this library.


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - fedonr - 2024-06-17

(2024-06-17, 01:21 AM)TheDreadPirate Wrote: I don't think this is the cause of your problem, but you should have a path mapped for /cache.

Can you turn on debugging logging?

https://jellyfin.org/docs/general/administration/troubleshooting/#debug-logging

Once that is enabled, rescan and select replace all metadata and replace all images for this library.

Sure I'll try that but I'll also attach new logs for your reference as there seems to be something really wrong, I faced the same issue when I spin up a new Jellyfin docker with Test Media of only 3 movies. It goes from 0 to 48% in a second and it stops suddenly after 48%, while only 1 movie is updated without metadata out of 3.

Same with both LinuxServer Image and official once. attached logs for both, official image logs are marked as official.

Edit: I turned on Debug logging attaching the same (done that on official Jellyfin image), getting error while uploading it as it says Max allowed 200KBs while the file is above 600KBs


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - TheDreadPirate - 2024-06-17

You can zip the file before attaching it to a forum post.


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - fedonr - 2024-06-17

(2024-06-17, 01:33 PM)TheDreadPirate Wrote: You can zip the file before attaching it to a forum post.

Done, thank you. I presumed .zip won't be accepted here, so I didn't earlier. Attached a zip file below for official Jellyfin image with Debug logging.


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - TheDreadPirate - 2024-06-17

Can you check if you have DOTNET_SYSTEM_GLOBALIZATION_INVARIANT set in docker?


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - fedonr - 2024-06-17

(2024-06-17, 02:48 PM)TheDreadPirate Wrote: Can you check if you have DOTNET_SYSTEM_GLOBALIZATION_INVARIANT set in docker?

No I checked it doesn't exist


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - fedonr - 2024-06-18

Okay, so here is how I fixed it. Jellyfin Devs can look further into it.

So if I start Fresh and clear config each time for Fresh Jellyfin Instance, the issues stays persistent no matter the version I use, either 10.7.7, 10.8.0, 10.8.9 or 10.9.6. Library scan shows stuck at x% and suddenly stops, while only updating 1 movie without any Metadata.

But now if I go back to 10.7.7 Fresh Install the issue was still there, but this time while upgrading 10.8.9 instead of fresh I did a dirty upgrade, keeping the config from 10.7.7, and doing that dirty upgrade somehow fixed it and I am able to scan all my libraries now, all movies are updated with all Metadata. But something here is a hit or miss. As when I upgrade to 10.9.6 (dirty upgrade) I face the same issue again, reverting back to 10.8.9 works again. I would so some more testing to see how the pattern goes and would update if there is any change.

In short, 1 Movie updated=doesnt work, all movies updated=works

Fresh 10.7.7 (Doesnt work), Fresh 10.8.9 (doesnt work), Fresh 10.9.6 (doesnt work)

In Fresh 10.7.7 after first scan in 10.7.7, which would not work, do the Dirty upgrade to 10.8.9, and remove/Add the same library (works)

In Fresh 10.7.7 after first scan in 10.7.7, which would not work, do the Dirty upgrade to 10.9.6, and remove/Add the same library (doesnt work)


RE: Library scanning stuck at 48% and my Jellyfin server only updates 1 movie - fedonr - 2024-06-18

From Github I was suggested this as a solution: Please try removing Aśoka and scan again

And I'm glad to inform that it works even with the latest 10.9.6 Fresh install