• 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 Jellyfin can't see my media folder

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Jellyfin can't see my media folder

    Probably permissions but how?
    tparadox
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #1
    2023-09-30, 03:58 PM (This post was last modified: 2023-11-19, 09:49 PM by tparadox. Edited 1 time in total.)
    Jellyfin is saying my media folder doesn't exist even after hacking at the permissions for a good 45 minutes batting chown, chmod, and setfacl around and around. I have no idea what's missing at this point.

    Code:
    root@odroidxu4:/media/devmon/Library/Library# stat /media/devmon/Library/Library
      File: /media/devmon/Library/Library
      Size: 4096            Blocks: 16        IO Block: 4096  directory
    Device: 801h/2049d      Inode: 171704321  Links: 4
    Access: (0775/drwxrwxr-x)  Uid: (  113/jellyfin)  Gid: ( 1004/multimedia)
    Access: 2023-09-30 10:19:18.838351139 -0500
    Modify: 2023-09-30 10:50:00.617116967 -0500
    Change: 2023-09-30 10:50:00.617116967 -0500
    Birth: 2023-05-23 19:29:53.086312175 -0500
    root@odroidxu4:/media/devmon/Library/Library# dir -al
    total 28
    drwxrwxr-x+  4 jellyfin multimedia  4096 Sep 30 10:50 .
    drwxr-xr-x  9 root    users      4096 Aug  8 18:24 ..
    drwxrwsr-x  97 jellyfin multimedia 12288 Sep 28 23:04 !movies
    drwxrwsr-x  32 jellyfin multimedia  4096 Aug 22 20:06 Shows
    root@odroidxu4:/media/devmon/Library/Library#
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-09-30, 04:57 PM
    Note the + at the end of the permissions. That indicates that there is an ACL.

    Code:
    drwxrwxr-x+  4 jellyfin multimedia  4096 Sep 30 10:50 .

    Is this a samba/NFS share that is mounted?
    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]
    tparadox
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #3
    2023-11-04, 08:49 PM
    (2023-09-30, 04:57 PM)TheDreadPirate Wrote: Note the + at the end of the permissions.  That indicates that there is an ACL.

    Code:
    drwxrwxr-x+  4 jellyfin multimedia  4096 Sep 30 10:50 .

    Is this a samba/NFS share that is mounted?

    The folder is on a SATA HDD that's connected to the computer that Jellyfin is running on, but it's currently being shared on the network by CasaOS. I was going to say that wasn't a problem in my earlier install, but my earlier install was sharing with Open Media Vault, not CasaOS.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-11-05, 01:06 AM
    My first suggestion is removing the ACL. But I'm not certain if that will work if the directory isn't local. You probably have to change one of the parameters on the machine hosting the share.

    Code:
    setfacl -b -R /media/devmon/Library/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]
    tezza
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2023 Nov
    Reputation: 0
    Country:Australia
    #5
    2023-11-08, 08:17 AM (This post was last modified: 2023-11-08, 08:20 AM by tezza. Edited 1 time in total.)
    I had the same problem and solved it.

    The reason is because all the casa apps are installed via docker containers. Each container needs the desired folder (to be accessed) to be mapped as a volume in the container's internal virtual file system.

    You can add a volume mapping by clicking the 3 dots (then "settings") of the app from the casa dashboard to edit it's docker container.

    The screenshot shows how I added an entry for my external drive (last entry).


    Attached Files Thumbnail(s)
       
    tparadox
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #6
    2023-11-18, 09:18 PM (This post was last modified: 2023-11-18, 09:19 PM by tparadox. Edited 1 time in total.)
    I tried removing the ACL from Library/Library and Jellyfin still couldn't find it. I tried browsing down from the root directory and could only get as far as /media/devmon.

    So I thought maybe it needed to be somewhere in the filesystem more internal than devmon. There's already a symlink to the folder as well in /data, but it couldn't find /data/Library either.

    Actually, for some reason I have a /data and a /DATA and it looks like Jellyfin can only see the latter in the root folder. Is Jellyfin's ability to read paths not case sensitive? It's possible the reason I have two is because I goofed when I tried to make the symlink in the first place, so I tried making a symlink in /DATA, but even after restarting Jellyfin and then rebooting the machine, it can't see Library in /DATA. I tried to add a hardlink in /DATA, but it says that's not allowed for the directory (I tried deleting the symlink and that wasn't the problem). Code is what I can see in terminal, attached image is what I see in Jellyfin.

    Code:
    root@odroidxu4:/DATA# dir -al
    total 28
    drwxrwxrwx  7 root  root  4096 Nov 18 15:10 .
    drwxr-xr-x 26 root  root  4096 Oct 11 22:03 ..
    drwxrwxrwx  7 root  root  4096 Oct 11 22:11 AppData
    drwxrwxrwx  2 root  root  4096 Jul 16 15:16 Documents
    drwxrwxrwx  5 peter peter 4096 Jul 16 15:35 Downloads
    drwxrwxrwx  2 root  root  4096 Jul 16 15:16 Gallery
    lrwxrwxrwx  1 root  root    29 Nov 18 15:10 Library -> /media/devmon/Library/Library
    drwxrwxrwx  6 root  root  4096 Aug 25 18:48 Media

    This system is an ARM7 board using a microSD card as the boot drive and the media I want to add to the library is on an HDD connected to the board by internal SATA. I'm starting to suspect that Jellyfin for some reason only has access to the SD card.

    Quote: The reason is because all the casa apps are installed via docker containers. Each container needs the desired folder (to be accessed) to be mapped as a volume in the container's internal virtual file system.

    Unfortunately, there are almost no Docker builds for ARM7 systems like mine, and so my Jellyfin install is not in a Docker container, Casa or not.


    Attached Files Thumbnail(s)
       
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #7
    2023-11-18, 09:35 PM
    honestly this information should have been in post #1

    "Running Jellyfin server on an odroid xu4 armv7 with CasaOS and Jellyfin can't see my files"

    it really does matter when people are trying to answer a question that they have all the details


    unhelpful note: i personally do not think this is going to work
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-11-18, 09:59 PM
    What are the mount parameters for your SATA 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]
    tparadox
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #9
    2023-11-19, 09:44 PM
    Quote: unhelpful note: i personally do not think this is going to work

    I have largely written off a lot of the home server programs I want to run as not working with the hardware I've got, but the frustrating thing is that Jellyfin has worked. I got it running without much trouble late in the spring, able to stream to an Android TV client at home and to the client app on my phone over a Tailscale VPN, and then I had to do a clean OS install for unrelated reasons and lost it. (I have hard and soft backups of the boot disk image now, and I'll back it up again if I can get Jellyfin working again.) I'm honestly not sure if it's exactly the same version of Armbian (currently Bullseye 23.8.1), but from what I can tell, the change from OpenMediaVault to CasaOS doesn't seem to be what's affecting it.

    Quote: What are the mount parameters for your SATA drive?

    I'm not sure how to get that. The system automatically detected and mounted it. Is this output from "mount -l" helpful?

    Code:
    /dev/sda1 on /media/devmon/Library type ext4 (rw,nosuid,nodev,noatime,stripe=8191) [Library]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2023-11-19, 10:34 PM
    What is the output of

    Code:
    ls -ld /media /media/devmon/ /media/devmon/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]
    Pages (3): 1 2 3 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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