• 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: Media Library won't add

     
    • 0 Vote(s) - 0 Average

    SOLVED: Media Library won't add

    spaceexplorer23
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2025 Feb
    Reputation: 0
    #1
    2025-02-22, 01:34 AM
    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.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-02-22, 02:47 AM
    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.
    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]
    spaceexplorer23
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2025 Feb
    Reputation: 0
    #3
    2025-02-22, 03:22 AM
    (2025-02-22, 02:47 AM)TheDreadPirate Wrote: 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.

    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-02-22, 05:42 PM
    /media/library has an ACL as denoted by the +.

    Code:
    setfacl -b -R /media/library

    That will remove the ACLs recursively.
    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]
    spaceexplorer23
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2025 Feb
    Reputation: 0
    #5
    2025-02-22, 07:47 PM (This post was last modified: 2025-02-22, 07:49 PM by spaceexplorer23.)
    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-02-22, 09:52 PM
    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
    sudo chmod 755 /media
    sudo chown -R tyr:media /media/library
    sudo chmod -R 770 /media/library
    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]
    spaceexplorer23
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2025 Feb
    Reputation: 0
    #7
    2025-02-22, 11:28 PM (This post was last modified: 2025-02-22, 11:28 PM by spaceexplorer23.)
    (2025-02-22, 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

    Also, didn't notice that /media also has an ACL.

    Code:
    sudo setfacl -b -R /media
    sudo chmod 755 /media
    sudo chown -R tyr:media /media/library
    sudo chmod -R 770 /media/library

    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?
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,199
    Threads: 0
    Joined: 2024 Jun
    Reputation: 61
    #8
    2025-02-23, 12:12 AM
    You can read his guide for more details: https://forum.jellyfin.org/t-mounting-lo...ons-primer
    « 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