• 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 SOLVED: Libraries

     
    • 0 Vote(s) - 0 Average

    SOLVED: Libraries

    Grant the Service User Access
    soodoenim
    Offline

    Junior Member

    Posts: 10
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #1
    2024-05-01, 01:11 PM
    I am on Jellyfin Version 10.8.13 running on Ubuntu 22.04.4 and am trying to add the directories contained within an external hard drive to the libraries on Jellyfin. I found this thread on Reddit which seems to describe a solution to the problem - https://www.reddit.com/r/jellyfin/commen...ad_access/ - however, when I type in the path to the external drive (as described in the Reddit thread) I get this readout:

    $ sudo setfacl -m user:jellyfin:rxw /media/littlebox/Big Box 2
    setfacl: /media/littlebox/Big: No such file or directory
    setfacl: Box: No such file or directory
    setfacl: 2: No such file or directory

    Regardless of whether the solution described in this Reddit thread is the solution for me, the problem I am attempting to solve is that even though I have set the drive permissions and local network share options in the same way as the other external drive that's already supplying content to Jellyfin, I cannot add the directories contained on this new drive to the content libraries on Jellyfin.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-01, 03:02 PM
    You have to put the path in quotes or escape the spaces in the folder name.

    sudo setfacl -m user:jellyfin:rxw "/media/littlebox/Big Box 2"

    or

    sudo setfacl -m user:jellyfin:rxw /media/littlebox/Big\ Box\ 2
    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]
    soodoenim
    Offline

    Junior Member

    Posts: 10
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #3
    2024-05-01, 04:48 PM
    (2024-05-01, 03:02 PM)TheDreadPirate Wrote: You have to put the path in quotes or escape the spaces in the folder name.

    sudo setfacl -m user:jellyfin:rxw "/media/littlebox/Big Box 2"

    or

    sudo setfacl -m user:jellyfin:rxw /media/littlebox/Big\ Box\ 2

    Thanks for this. I tried putting the directory path in quotes as you suggested, and it didn't give me the "No such file or directory" error message, so that seems to be a step in the right direction. However, I am still unable to add folders from that drive to my Jellyfin libraries. I've tried rebooting my system, and restarting Jellyfin. No luck.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-01, 04:54 PM
    If it couldn't find the directory when you run the command then it didn't set the ACL. Ensure that it is actually there.

    Code:
    sudo cat /proc/mounts

    Do you see big box 2 in the list?
    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]
    soodoenim
    Offline

    Junior Member

    Posts: 10
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #5
    2024-05-01, 05:10 PM
    (2024-05-01, 04:54 PM)TheDreadPirate Wrote: If it couldn't find the directory when you run the command then it didn't set the ACL.  Ensure that it is actually there.

    Code:
    sudo cat /proc/mounts

    Do you see big box 2 in the list?

    I see this:  /media/littlebox/Big\040Box\0402 ext4 rw,nosuid,nodev,relatime,errors=remount-ro 0 0
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-05-02, 12:49 PM
    Ah. Its ext4. Good. I had assumed it was NTFS or something. We can just remove the ACL instead and use basic linux permissions.

    Code:
    sudo setfacl -b -R /media/littlebox
    sudo chmod 755 /media/littlebox
    sudo find "/media/littlebox/Big Box 2" -type d -exec chmod 755 {} \;
    sudo find "/media/littlebox/Big Box 2" -type f -exec chmod 644 {} \;

    This SHOULD set the permissions open enough for Jellyfin to read everything in Big Box 2.
    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]
    soodoenim
    Offline

    Junior Member

    Posts: 10
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #7
    2024-05-02, 01:14 PM (This post was last modified: 2024-05-02, 01:15 PM by soodoenim. Edited 1 time in total.)
    (2024-05-02, 12:49 PM)TheDreadPirate Wrote: Ah.  Its ext4.  Good.  I had assumed it was NTFS or something.  We can just remove the ACL instead and use basic linux permissions.

    Code:
    sudo setfacl -b -R /media/littlebox
    sudo chmod 755 /media/littlebox
    sudo find "/media/littlebox/Big Box 2" -type d -exec chmod 755 {} \;
    sudo find "/media/littlebox/Big Box 2" -type f -exec chmod 644 {} \;

    This SHOULD set the permissions open enough for Jellyfin to read everything in Big Box 2.

    That worked!
    « 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