• 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 Path Not Found

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Path Not Found

    Jellyfin lost all access to media folders
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #1
    2024-05-29, 10:42 PM (This post was last modified: 2024-05-30, 12:43 AM by JustAnotherDude. Edited 2 times in total.)
    In the middle of watching a show, Jellyfin suddenly lost access to all of my media folders.  All of my files are intact and able to play in VLC.  When I go to manage libraries, whether I try to adjust a current library or add a new one, I end up with an error message stating:
    "The path could not be found. Please ensure the path is valid and try again."

    Remediation attempts have been:
     1.    unmount and remount hard drives
    2.     ensure permissions on all drives, folders, and files are read/write
    3.     unmount drives and run
    Code:
    ls -al /media/user
    which showed all drives and partitions as root.  run
    Code:
    sudo rmdir /media/user/partition_name
    for each partition.  remount, ls -al now lists all partitions as user owned.
    4.     restart server
    5.     shutdown server, follwed by
    Code:
    sudo systemctl enable --now jellyfin.service

    I have no other ideas on how to solve this.  
    System is running Linux Mint, all packages are up to date, jellyfin version 10.9.3.  All partitions and drives for media are formatted as btrfs.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-29, 10:47 PM
    Are there ACLs on any of the paths? Possibly /media/user.
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #3
    2024-05-29, 11:16 PM
    getfacl media/user shows the following:
    # file: media/user
    # owner: root
    # group: root
    user::rwx
    user:jellyfin:r-x
    user:user:r-x
    group::---
    mask::r-x
    other::r-x
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-29, 11:38 PM
    When you do an "ls -ld /media/user" is there a plus at the end of the permissions? Here is what getfacl shows a directory that definitely doesn't have an ACL.

    Code:
    getfacl: Removing leading '/' from absolute path names
    # file: media/library/
    # owner: chris
    # group: jellyfin
    # flags: -s-
    user::rwx
    group::r-x
    other::---

    Pretty sure the "mask" and "user:jellyfin" and "user:user" indicate the presence of an ACL and I've never been able to get them to work like you'd think they do. So I always remove them and use basic linux permissions.

    sudo setfacl -b /media/user

    Add -R if you want to recursively remove the ACL.
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #5
    2024-05-29, 11:49 PM
    after doing sudo setfacl -b /media/user and sudo setfacl -bR /media/user I got
    # file: media/user
    # owner: root
    # group: root
    user::rwx
    group::---
    other::r-x
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-05-29, 11:53 PM
    sudo chmod 755 /media/user
    sudo chown user: /media/user
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #7
    2024-05-30, 12:02 AM
    Output of getfacl now lists user as owner, and I went ahead and ran the following, just in case...
    cd /media/user
    sudo setfacl -m u:jellyfin:rwx

    Jellyfin server still giving the same 'Path not found' error.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-05-30, 12:05 AM
    We don't want ACL though. They muck things up. You also need to make sure that all the folders in /media/user/ have the necessary permissions.

    ls -l /media/user/*
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #9
    2024-05-30, 12:09 AM
    All partitions list:
    total 0
    drwxrwxrwx 1 user user

    Thank you for taking the time to go through all of this with me.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-05-30, 12:12 AM
    This is not ideal, but I'm short on time tonight.

    sudo setfacl -b -R /media/user
    sudo chmod -R 777 /media/user
    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]
    Pages (2): 1 2 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