Jellyfin Forum
Truenas Install not finding media in the designated libraries - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Truenas Install not finding media in the designated libraries (/t-truenas-install-not-finding-media-in-the-designated-libraries)



Truenas Install not finding media in the designated libraries - Syed Badrudduja - 2025-09-29

So I followed the steps to the Truenas Scale install and just left everything as default except letting it access my /mnt/Movies and /mnt/TV Shows folders where I will have movies and shows. Now I've added them in there as libraries and added the folders containing seasons of The office in MP4 files and some subtitle filles as well but when I click scan on the libraries it just doesn't find anything in the folders. 
When I hit the scan all button it blips up and then disappears. 

Is this an issue with the folder being an smb share?

In truenas the folders have the exec ON and read-only OFF


RE: Truenas Install not finding media in the designated libraries - sakkath - 2025-10-12

Piggybacking on this thread since I had the same issue which I managed to resolve. New Jellyfin install on Truenas Scale.

Here's what I'd found in logs:

Jellyfin library scanning fails:
[2025-10-12 17:45:00.785 +11:00] [WRN] [31] MediaBrowser.Controller.Entities.BaseItem: Library folder "/jellyfin-media/Shows" is inaccessible or empty, skipping
[2025-10-12 17:45:00.785 +11:00] [WRN] [31] MediaBrowser.Controller.Entities.BaseItem: Library folder "/jellyfin-media/Movies" is inaccessible or empty, skipping
[2025-10-12 17:45:00.786 +11:00] [WRN] [31] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping

If I ran a shell in the Jellyfin container I could access the mount location which is /jellyfin-media/ and can see the contents, which has two subfolders. If I tried to access the subfolders, it returned error for example "can't cd to Movies".

Jellyfin is running using the apps account, user 568 which has full control to the dataset.

I also could see this in the Jellyfin logs: System.UnauthorizedAccessException: Access to the path '/jellyfin-media/Movies' is denied.
This seemed pretty clear that it could access the mount but was having access denied to the contents of the mount.

Here's some screenshots that I pulled.
https://imgur.com/a/b5ltmKz

I resolved it by going to the dataset ACL and checking 'Apply permissions recursively' which overwrote permissions on the subfolders etc. I then restarted the SMB service and then restarted Jellyfin and then it started working.
Not sure how the permissions of the subfolders etc in the datastore were wrong, I had connected to the SMB share from another PC and created the subfolders and copied some videos across. I'd have expected the new folders and files to inherit permissions from the parent folder but I guess not.

Hope this helps anyone who might have this same issue.


RE: Truenas Install not finding media in the designated libraries - designdev - 2025-10-13

Thanks for sharing quick question to help narrow it down: is Jellyfin running as the correct user with read access to the media folders, and have you double checked that the dataset permissions (or ACLs) are set properly for that user? Also, how are the media folders mounted are they mapped directly or accessed via SMB/NFS?