• 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 Ubuntu permissions

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Ubuntu permissions

    FuzzyDunlop
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:United States
    #1
    2023-11-29, 06:34 PM
    Hello all,

    Just installed Jellyfin on Ubuntu (22.04.3), and in the setup process, when trying to add a directory, I keep getting the message "The path could not be found. Please ensure the path is valid and try again."  From what I can see, all users have permission to access the directory.  Where else should I be looking?

    Apologies if this is redundant.  This appears to be pretty straightforward, but everything I found when searching didn't seem to apply.

    Thanks in advance.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-11-29, 06:46 PM
    Is the directory a network share that you mounted? An external hard drive? Are there any ACLs on ANY of the directories in the path?
    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]
    FuzzyDunlop
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:United States
    #3
    2023-11-29, 07:19 PM
    It is an external hard drive.

    Looking into ACL now.

    Sorry...I've been using Ubuntu for years, but have had almost no need to investigate/change any settings.
    FuzzyDunlop
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:United States
    #4
    2023-11-30, 12:00 PM
    The ACL for the drive is set to...

    user: rwx
    group: rwx
    other: r-x

    and for the folder it's...

    user: rwx
    group: r-x
    other r-x

    Again, thanks in advance.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2023-11-30, 03:54 PM
    If you don't need the ACLs, I would just remove them and use standard linux permissions.

    Code:
    setfacl -b -R /path/to/drive/mnt/

    That will recursively remove all the ACLs

    I've found that ACLs, even when it looks like they should allow access, can be hard to get working.
    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]
    FuzzyDunlop
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:United States
    #6
    2023-11-30, 07:31 PM
    I tried it, and nothing changed, but I did not get any error indicating why it wouldn't work. Any ideas?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2023-11-30, 07:39 PM (This post was last modified: 2023-11-30, 07:39 PM by TheDreadPirate. Edited 1 time in total.)
    What is the full path do your library(s)? So I can construct a command for you to run.

    Also, is the external hard drive formatted as EXT4 or something else? And what are the mount parameters of the external hard drive?
    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]
    FuzzyDunlop
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:United States
    #8
    2023-11-30, 07:49 PM (This post was last modified: 2023-11-30, 07:50 PM by FuzzyDunlop.)
    Full path is /media/lucky/Elements. It's formatted as NTFS. Should I reformat?

    I also tried a local folder, before and after removing ACLs, and still got the same "path not found" message.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2023-11-30, 07:58 PM
    (2023-11-30, 07:49 PM)FuzzyDunlop Wrote: Full path is /media/lucky/Elements.  It's formatted as NTFS.  Should I reformat?

    I also tried a local folder, before and after removing ACLs, and still got the same "path not found" message.

    It's been a while since I used Linux + NTFS.  But I remember that there are some issues with permission compatibility.  Reformat to EXT4.  If you have multiple drives or drives on other computers, backup your data before reformatting, obviously.
    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]
    FuzzyDunlop
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:United States
    #10
    2023-12-02, 07:57 PM
    It took some time to back everything up, but I got it done this morning, and I reformatted to ext4, removed ACLs, and still got the same message. I tried reformatting again to FAT, just for the hell of it, and got the same message again, even after removing the ACLs.

    Any other ideas?
    Pages (3): 1 2 3 Next »

    « 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