![]() |
Cannot get Jellyfin to access my media folder - 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: Cannot get Jellyfin to access my media folder (/t-cannot-get-jellyfin-to-access-my-media-folder) |
Cannot get Jellyfin to access my media folder - smells-cilia0i - 2025-02-11 Hello, I have tried over and over to my Jellyfin 10.10.5 to see the default Video folder on my Ubuntu 24.04.1 LTS OS running on my Terramaster F4-424 Pro. The file system is encrypted ZFS. I did the basic, non-docker install listed on https://jellyfin.org/docs/general/installation/linux using the repository. I can access the server, it is up, I can remote access it, everything seems to be good except the permissions. My user looks like this: jellyfin:x:122:124:Jellyfin default user,,,:/var/lib/jellyfin:/bin/false When I look at the logs in Jellyfin it shows: Library folder "/home/nas" is inaccessible or empty, skipping The permission on the Videos folder are wide open: drwxrwxrwx 2 nas nas 4 Feb 11 03:46 Videos I have tried every forum I can find and I am just not getting anywhere. I completely reinstalled and started over to make sure I didn't make a mistake already. If you can point to what I need to do, you would be my hero. I am a noob to Linux/Ubuntu, but I really want to get better. RE: Cannot get Jellyfin to access my media folder - TheDreadPirate - 2025-02-11 How did you mount the network share? Can you share the command? Or parameters you used in /etc/fstab? RE: Cannot get Jellyfin to access my media folder - smells-cilia0i - 2025-02-14 Sorry for the delayed response - the email stating you responded went to my junk folder. I did not do any specific mount command to do what you are discussing - mounting to network share. I just followed the steps on Jellyfin's website verbatim https://jellyfin.org/docs/general/installation/linux - the repo did all the work. I am trying to read up on mounting network shares to better understand what you are referring to. RE: Cannot get Jellyfin to access my media folder - smells-cilia0i - 2025-02-14 (2025-02-11, 01:52 PM)TheDreadPirate Wrote: How did you mount the network share? Can you share the command? Or parameters you used in /etc/fstab? I guess I am not understanding why this is so complicated. I can't get Jellyfin to see the folder I put the MP4s in (which I understand Jellyfin can read). I opened up permissions on the folder to 777 - open as they can be. I am not using this device as a RAID - it is a standard Ubuntu build for now. I can access Jellyfin remotely through the port forwards in my DDNS perfectly fine. Nothing is wrong with the Jellyfin server's remote access. It just doesn't want to see the default Ubuntu "Videos" folder. I am using a different folder for SMB and moving the files to the Videos folder manually. The folder I am trying to get Jellyfin to see is local to the same device that hosts the server. Linux has me a bit baffled here. Seems like I should be able to just point to the folder and scan the media to add it to the server. RE: Cannot get Jellyfin to access my media folder - TheDreadPirate - 2025-02-14 With linux permissions, you have to keep in mind all of the parent folders leading up to the folder you "777"'d. For example, let's say you have your movies located in /mnt/Jellyfin/Movies. You "777"'d the Movies folder and all the folders within it. If Jellyfin doesn't have access to /mnt or /mnt/Jellyfin it cannot navigate to the Movies folder that it does have access to. Jellyfin does not need full access to /mnt and /mnt/jellyfin. It only needs read and execute permissions. The act of "changing directories" (cd) requires both of those permission levels. I wrote a longer Linux permissions primer over in the walkthrough sub-forum. https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer I suggest you give that a read. For now, if you provide the current path where Jellyfin is actually reading from, I can get you going while. Based on what you have provided, Jellyfin probably can't get into /home/nas. And it looks like you have a user called "nas". Home directories are meant to be private and only accessible by that user. Since Jellyfin runs as its own user, you'd need to open up /home/nas. I recommend relocating your media folder outside of /home/nas. /media is a common directory for storing media and is safe to open up the permissions on. If you want keep the videos in /home/nas, run this command. Based on what you've stated, this should be enough since you already opened up the permissions on the rest of the folders inside /home/nas containing the videos. Code: sudo chmod 755 /home/nas RE: Cannot get Jellyfin to access my media folder - smells-cilia0i - 2025-02-23 That worked! Thank you so much. |