Jellyfin Forum
Jellyfin can't see my media folder - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin can't see my media folder (/t-jellyfin-can-t-see-my-media-folder)

Pages: 1 2 3


Jellyfin can't see my media folder - tparadox - 2023-09-30

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#



RE: Jellyfin can't see my media folder - TheDreadPirate - 2023-09-30

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?


RE: Jellyfin can't see my media folder - tparadox - 2023-11-04

(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.


RE: Jellyfin can't see my media folder - TheDreadPirate - 2023-11-05

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



RE: Jellyfin can't see my media folder - tezza - 2023-11-08

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).


RE: Jellyfin can't see my media folder - tparadox - 2023-11-18

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.


RE: Jellyfin can't see my media folder - tmsrxzar - 2023-11-18

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


RE: Jellyfin can't see my media folder - TheDreadPirate - 2023-11-18

What are the mount parameters for your SATA drive?


RE: Jellyfin can't see my media folder - tparadox - 2023-11-19

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]



RE: Jellyfin can't see my media folder - TheDreadPirate - 2023-11-19

What is the output of

Code:
ls -ld /media /media/devmon/ /media/devmon/Library