![]() |
SOLVED: Media Library won't add - 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: Media Library won't add (/t-solved-media-library-won-t-add) |
Media Library won't add - spaceexplorer23 - 2025-02-22 No matter what I do I keep getting the: "The path could not be found. Please ensure the path is valid and try again." Message trying to add Libraries. I am running Ubuntu, and I had this working using the fstab file to set permissions when it was a FAT drive I was using, but I had to change it to an ext4 drive to allow larger than 4 gb files and now nothing I do seems to be able to change the permissions such that I can actually add libraries. I mount the drive (still in Fstab) as: /media/library/Media_1 and I had a group I created "media" as I thought the owner, but it still couldn't see it. Then I just changed the group to the "jellyfin" group, and still nothing. Is there a way to actually get this to work? I use linux quite a lot but have never had an issue like this. Thanks for any help. RE: Media Library won't add - TheDreadPirate - 2025-02-22 Run this command to show the permissions on the entire library path. Code: sudo ls -ld /media /media/library /media/library/Media_1 How is Jellyfin installed on Ubuntu? I'm assuming directly on Ubuntu and not with Docker. RE: Media Library won't add - spaceexplorer23 - 2025-02-22 (Yesterday, 02:47 AM)TheDreadPirate Wrote: Run this command to show the permissions on the entire library path. drwxrwxrwx+ 4 jellyfin jellyfin 4096 Dec 3 07:32 /media drwxr-xr-x+ 3 tyr jellyfin 4096 Dec 3 07:37 /media/library drwxr-xr-x+ 6 tyr jellyfin 4096 Feb 18 07:33 /media/library/Media_1 yes it's installed directly on Ubuntu RE: Media Library won't add - TheDreadPirate - 2025-02-22 /media/library has an ACL as denoted by the +. Code: setfacl -b -R /media/library That will remove the ACLs recursively. RE: Media Library won't add - spaceexplorer23 - 2025-02-22 Ok I did that. I don't quite understand ACLs at this point, but that didn't in and of itself make it so jellyfin can access it. What I WANT is the group "media" to own the whole thing, and every member of the group have read/write/all the privileges. And obviously jellyfin itself to be able to find my libraries. that did remove the pluses, as I think expected on both library and Media_1 media has these "members" currently: $ members media sonarr sonarr jellyfin prowlarr tyr RE: Media Library won't add - TheDreadPirate - 2025-02-22 ACLs are an additional layer of permissions that your average user doesn't need and overrides the standard linux permissions Also, didn't notice that /media also has an ACL. Code: sudo setfacl -b -R /media RE: Media Library won't add - spaceexplorer23 - 2025-02-22 (Yesterday, 09:52 PM)TheDreadPirate Wrote: ACLs are an additional layer of permissions that your average user doesn't need and overrides the standard linux permissions Ok can you explain what we just did here? Were the ACLs screwing this up? Did I put them there trying to fix it earlier? This does appear to have worked. I just want to know exactly what we did. What do the 755 and the 770 denote? RE: Media Library won't add - theguymadmax - 2025-02-23 You can read his guide for more details: https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer |