• 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 The path could not be found. Please ensure the path is valid and try again

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    The path could not be found. Please ensure the path is valid and try again

    The path could not be found. Please ensure the path is valid and try again
    Exact3081
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Austria
    #1
    2024-08-29, 10:58 AM
    Hi Jellyfin community. Hope you can help me with this headache.

    I have a Linux Mint 21.3 laptop where I have installed Jellyfin server.

    I have my media on an external USB at this path
    Code:
    /media/dellxps13/1TB Work/MEDIA/TV_Shows
    but when I try and add this as the Library source, I receive the error: The path could not be found. Please ensure the path is valid and try again

    Interestingly when I installed Jellyfin via Flatpak, this source worked, however after having to reinstall Jellyfin server via the package manager (snap?) it no longer is able to add this as a media path. (I had to reinstall as Jellyfin flatpak was too outdated and would no longer connect from my Fire Stick saying was too outdated).

    I've read a lot of threads with a lot of different possible solutions but I'm confused as to what to try to be honest.

    A visual File Explorer to select the folder of interest for setup, would be a big UX improvement in my eyes.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-29, 03:38 PM
    Jellyfin server, when installed via apt, creates and runs as the user "jellyfin". When you run Jellyfin server via the flatpak (maintained by 3rd party) it runs as your user.

    The path in question likely has an ACL that restricts access to your user, which is why the flatpak could access it. /media/dellxps13 is the directory that likely has the ACL.

    I am assuming this is some sort of external hard drive that you've allowed Linux to auto-mount.

    The temporary solution is to remove the ACL. The proper solution is to edit /etc/fstab and have that auto mount the hard drive without an ACL.

    See my post on this thread for properly configuring /etc/fstab. Let me know if you have any questions.

    https://forum.jellyfin.org/t-cannot-acce...6#pid32986
    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]
    Exact3081
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Austria
    #3
    2024-08-31, 08:39 AM
    Thank you for your response. As an interim solution I tried to remove the ACL. (I first reformatted by drive to ext4 so it has a different name than in my first post.)

    My USB drive is mounted at
    Code:
    /media/dellxps13/1TB_MEDIA/
    so I ran
    Code:
    sudo setfacl -b -R /media/dellxps13/1TB_MEDIA/

    The process ran but I still am unable to add the drive or folder as a Library - I get the same error message?

    ------

    I read your other thread re the fstab updating and would like to try.

    Code:
    /dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/rich/Red6 ext4 defaults 0 0

    for me should be

    Code:
    /dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/dellxps13/1TB_MEDIA/ ext4 defaults 0 0

    Is that correct?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-31, 02:37 PM
    Yes. After removing the ACL you also need to make sure that the jellyfin user can get in the directory. I'm assuming the permissions are 750 with your user as both the owner and group.

    IMO, move your mount out of "dellxps13". Since ACLs can reappear on that directory if you plug in new drives.
    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]
    Exact3081
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Austria
    #5
    2024-08-31, 05:38 PM
    Code:
    IMO, move your mount out of "dellxps13". Since ACLs can reappear on that directory if you plug in new
    drives.

    I'm relatively new to Linux. I didn't choose this mount location, -that is just where the external drive is automatically mounted when plugged in. I enter the drive in terminal and use
    Code:
    pwd
    to get the path. A search didn't reveal much on how to move the mount location out of a location...

    ---- 

    I have also tried the other method with fstab.

    I opened the fstab file and added this as a new line at the bottom (copied and modified from your other discussion):
    Code:
    /dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/dellxps13/1TB_MEDIA/ ext4 defaults 0 0

    However then I tried to run this command as recommended
    Code:
    sudo umount media/dellxps13/1TB_MEDIA/
    but got this error:
    Code:
    umount: media/dellxps13/1TB_MEDIA/: no mount point specified.

    Apologies I am not more versed in these areas. Appreciate your help.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-31, 05:58 PM (This post was last modified: 2024-08-31, 06:02 PM by TheDreadPirate. Edited 5 times in total.)
    (2024-08-31, 05:38 PM)Exact3081 Wrote:
    Code:
    IMO, move your mount out of "dellxps13". Since ACLs can reappear on that directory if you plug in new drives.


    I'm relatively new to Linux. I didn't choose this mount location, -that is just where the external drive is automatically mounted when plugged in. I enter the drive in terminal and use
    Code:
    pwd
    to get the path. A search didn't reveal much on how to move the mount location out of a location...

    Yep.  That location is where drives are mounted when allowed to be auto-mounted.  In fstab you can mount it somewhere else.

    (2024-08-31, 05:38 PM)Exact3081 Wrote: I have also tried the other method with fstab.

    I opened the fstab file and added this as a new line at the bottom (copied and modified from your other discussion):
    Code:
    /dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/dellxps13/1TB_MEDIA/ ext4 defaults 0 0

    However then I tried to run this command as recommended
    Code:
    sudo umount media/dellxps13/1TB_MEDIA/
    but got this error:
    Code:
    umount: media/dellxps13/1TB_MEDIA/: no mount point specified.

    Apologies I am not more versed in these areas. Appreciate your help.

    Code:
    [code]/dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/dellxps13/1TB_MEDIA/ ext4 defaults 0 0

    The second parameter is where you want the drive to be mounted and can be almost anywhere.  Change

    /media/dellxps13/1TB_MEDIA/

    to

    /media/{insert arbitrary folder name}

    For example.

    Code:
    sudo mkdir /media/library

    Then put this in /etc/fstab

    Code:
    /dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/library ext4 defaults 0 0

    Then

    Code:
    sudo umount /media/dellxps13/1TB_MEDIA
    sudo mount -a
    sudo chgrp -R jellyfin /media/library
    sudo find /media/library -type d -exec chmod 770 {} \;
    sudo find /media/library -type f -exec chmod 660 {} \;

    In your umount command you missed the leading slash before "media".  Or you could reboot and it will mount this drive to the new location.

    https://forum.jellyfin.org/t-mounting-lo...ng%20fstab***
    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]
    Exact3081
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Austria
    #7
    2024-08-31, 06:24 PM (This post was last modified: 2024-08-31, 06:29 PM by Exact3081. Edited 1 time in total.)
    Thank you - I will try this now. One thing I am understanding though is that part of the command is a unique identifier for this particular external USB:
    Code:
    /dev/disk/by-id/wwn-0x50014ee00419ce97-part1

    I just copied and pasted it from the other discussion, hence I think that this is the unique ID for the other posters drive, would that be correct?

    I searched and found this command to try discover the IDs of my drives:
    Code:
    ls -lha /dev/disk/by-uuid

    This was the output:
    Code:
    $ ls -lha /dev/disk/by-uuid
    total 0
    drwxr-xr-x 2 root root 100 Aug 31 20:18 .
    drwxr-xr-x 8 root root 160 Aug 31 20:18 ..
    lrwxrwxrwx 1 root root  15 Aug 31 10:26 9f295487-f64c-434d-b7c1-78a4262fc5e9 -> ../../nvme0n1p2
    lrwxrwxrwx 1 root root  15 Aug 31 10:26 B325-6B3A -> ../../nvme0n1p1
    lrwxrwxrwx 1 root root  10 Aug 31 20:18 e7b8530e-a74e-4e57-ad92-270edc94018e -> ../../sda1


    If I unplug the drive, this id disappears so I am guessing it is that:
    Code:
    B325-6B3A

    So I make a new directory at /media/Library

    and then add this line at the bottom of fstab?
    Code:
    /dev/disk/by-id/B325-6B3A /media/Library/1TB_MEDIA/ ext4 defaults 0 0






    Ah, I saw the other command you recommended and get this output:
    Code:
    dellxps13@dellxps13-XPS-13-9370:~$ [b]sudo ls -l /dev/disk/by-id/[/b]
    total 0
    lrwxrwxrwx 1 root root 13 Aug 31 10:26 nvme-eui.ace42e8170288bca -> ../../nvme0n1
    lrwxrwxrwx 1 root root 15 Aug 31 10:26 nvme-eui.ace42e8170288bca-part1 -> ../../nvme0n1p1
    lrwxrwxrwx 1 root root 15 Aug 31 10:26 nvme-eui.ace42e8170288bca-part2 -> ../../nvme0n1p2
    lrwxrwxrwx 1 root root 13 Aug 31 10:26 nvme-PC401_NVMe_SK_hynix_512GB_MS87N582914507M34 -> ../../nvme0n1
    lrwxrwxrwx 1 root root 13 Aug 31 10:26 nvme-PC401_NVMe_SK_hynix_512GB_MS87N582914507M34_1 -> ../../nvme0n1
    lrwxrwxrwx 1 root root 15 Aug 31 10:26 nvme-PC401_NVMe_SK_hynix_512GB_MS87N582914507M34_1-part1 -> ../../nvme0n1p1
    lrwxrwxrwx 1 root root 15 Aug 31 10:26 nvme-PC401_NVMe_SK_hynix_512GB_MS87N582914507M34_1-part2 -> ../../nvme0n1p2
    lrwxrwxrwx 1 root root 15 Aug 31 10:26 nvme-PC401_NVMe_SK_hynix_512GB_MS87N582914507M34-part1 -> ../../nvme0n1p1
    lrwxrwxrwx 1 root root 15 Aug 31 10:26 nvme-PC401_NVMe_SK_hynix_512GB_MS87N582914507M34-part2 -> ../../nvme0n1p2
    lrwxrwxrwx 1 root root  9 Aug 31 20:27 usb-SanDisk_Portable_SSD_323234374739343031353332-0:0 -> ../../sda
    lrwxrwxrwx 1 root root 10 Aug 31 20:27 usb-SanDisk_Portable_SSD_323234374739343031353332-0:0-part1 -> ../../sda1


    It is the portable SSD, but which is the correct ID - with the part1 or without?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-08-31, 07:54 PM (This post was last modified: 2024-08-31, 07:54 PM by TheDreadPirate. Edited 1 time in total.)
    /dev/disk/by-id/usb-SanDisk_Portable_SSD_323234374739343031353332-0:0-part1
    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]
    Exact3081
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Austria
    #9
    2024-09-01, 10:15 AM
    All seemed to work. Thank you for your help.
    Exact3081
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Austria
    #10
    2024-09-04, 04:58 PM
    As a follow up, I've noticed that if my external USB is not connected my laptop fails to boot. Did I do something incorrect? 
       
    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