• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Cannot get Jellyfin to access my media folder

     
    • 0 Vote(s) - 0 Average

    Cannot get Jellyfin to access my media folder

    Will not see the MP4 movies I have in my Media folder
    smells-cilia0i
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    #1
    2025-02-11, 09:31 AM (This post was last modified: 2025-02-11, 09:34 AM by smells-cilia0i. Edited 1 time in total.)
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-02-11, 01:52 PM
    How did you mount the network share? Can you share the command? Or parameters you used in /etc/fstab?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    smells-cilia0i
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    #3
    2025-02-14, 01:34 AM (This post was last modified: 2025-02-14, 02:13 AM by smells-cilia0i. Edited 1 time in total.)
    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.
    smells-cilia0i
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    #4
    2025-02-14, 02:48 AM
    (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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2025-02-14, 02:15 PM
    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-lo...ons-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
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    smells-cilia0i
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    #6
    2025-02-23, 07:39 AM
    That worked! Thank you so much.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode