Jellyfin Forum
SOLVED: tv library not scanning - 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: tv library not scanning (/t-solved-tv-library-not-scanning)

Pages: 1 2


tv library not scanning - n4tur3502 - 2023-08-08

So I recently moved my Jellyfin setup to a new server. It is running jellyfin on ubuntu server 22.04.2 as a manual install, no docker or anything. My media is stored on my omv setup and jellyfin accesses it via nfs, just like the old server. The problem I am having is Jellyfin is no longer updating the tv shows library I have when adding new content. I can play content from the library, I have done manual scans and it simply stopped updating the library. It seems to update my movies library though and thats hosted on the same drive the tv shows are.  I am not seeing anything in the log (  but then not too sure what to look for). Any assistance would be amazing, any info thats needed I will gladly provide.


RE: tv library not scanning - TheDreadPirate - 2023-08-08

There are a couple troubleshooting steps in this doc. Do they help?

https://jellyfin.org/docs/general/administration/storage/#nfs


RE: tv library not scanning - n4tur3502 - 2023-08-08

I appreciate the reply, I took a look at the doc and I already had nolock set on my mount in ubuntu. It mentioned adding DOTNET_SYSTEM_IO_DISABLEFILELOCKING. Would that be in the nfs settings in omv? I havent changed anything with my network drive since moving the jellyfin server to the new hardware, so not sure it is in the settings for omv. As far as the version of nfs omv uses, it appears to use nfs 4 which should have built in lock support. Still not sure whats causing it, but I am currently updating omv in hopes something there is holding it up.

Edit: I was in the wrong section for the doc. Checking the troubleshooting section now.


RE: tv library not scanning - n4tur3502 - 2023-08-08

I thought I solved this but I still cant get it to show updates to the libraries. Not sure what to try at this point.


RE: tv library not scanning - TheDreadPirate - 2023-08-09

Does the jellyfin user have read and execute permissions on the folders?


RE: tv library not scanning - n4tur3502 - 2023-08-10

Would I say unmount the network folder from the local folder in ubuntu and chmod the folder so the user has read/write to that? I have the media mounted via nfs on the jellyfin server, so not too sure how to make sure of that on the omv side of things.


RE: tv library not scanning - bitmap - 2023-08-10

Don't need to unmount to change permissions, depending on how you have it set up. If you squashed access over NFS (i.e., all NFS clients are seen as the same user accessing the data), you should be able to ensure on the host system that user/group has read and execute permissions. Whether in GUI or command line, chmod r+x should be all that's required.


RE: tv library not scanning - n4tur3502 - 2023-08-12

So I need to know which user jellyfin is actually running under in ubuntu, make sure that user is in omv with read AND execute permissions. Am I following that correctly?


RE: tv library not scanning - n4tur3502 - 2023-08-13

Ok, i am lost on getting this to work. I thought I set my permissions in omv correctly, but jellyfin is still not updating the libraries. I am using the omv gui interface to set things up. Do I need to do anything in ubuntu where jellyfin is running? I am mounting the nfs share in ubuntu via /etc/fstab, do i need to put any specific options in fstab? I am so very lost and it is driving me crazy.


RE: tv library not scanning - TheDreadPirate - 2023-08-13

On your ubuntu system, edit /etc/passwd to get the Jellyfin user a bash shell. Replace /bin/false with /bin/bash. "sudo su jellyfin" and try to navigate your library folders. "md5sum filename" should confirm read permissions.

Once you are done confirming whether jellyfin has access to your share, revert /bin/bash to /bin/false.