Yesterday, 11:37 AM
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.
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.