• 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 Media Scanning & Identification Can't add media folder to library

     
    • 0 Vote(s) - 0 Average

    Can't add media folder to library

    JacquiD
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:Canada
    #1
    2023-08-31, 03:25 PM
    Jellyfin won't accept media path.

    I have the following folder setup for Jellyfin:
    /media/jacqui/Drive2/media

    Jellyfin is the default user and owner of this folder.

    When I try and add this folder to a library, Jellyfin says it is not found.  The drive is mounted and I can access the folder from file manager, etc.  Given that jellyfin is the owner, I don't think permissions is the issue, but have no idea where else to look.

    Running Jellyfin 10.8.10 on Ubuntu 22.04.3 LTS.

    Any ideas on what to check next

    BTW, I am new to linux, so really not sure what I am doing (though did get Samba up and running).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-08-31, 03:47 PM (This post was last modified: 2023-08-31, 03:49 PM by TheDreadPirate. Edited 3 times in total.)
    Even if Jellyfin is the owner of that last media folder, the jellyfin user needs to be able to get to that folder. If it doesn't have permissions on one of the folders above it then jellyfin can't get to the folder it owns.

    For a user to navigate down to a folder they own, they need read and execute permissions on every directory above it.

    Code:
    chris@rat-trap:~$ ls -ld /media/ /media/library/ /media/library/Movies/
    drwxr-xr-x  6 root  root     4096 Aug 18 23:45 /media/   <-----All users have read and execute permission.
    drwxrwxrwx 17 root  root     4096 Aug 25 23:14 /media/library/     <-----Mount point for HDD. Defaults to 777 (wide open, no restrictions).
    drwxrwx--- 75 chris jellyfin 4096 Jul 24 01:31 /media/library/Movies/   <-----Jellyfin group has full permissions.  Movies library pointed here.
    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]
    « 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