Jellyfin Forum
No Media - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: No Media (/t-no-media)

Pages: 1 2


No Media - Leonard OBoyle - 2024-04-24

Im trying to add Jellyfin to my media on raspi Plex already works. Jellyfin doesnt see my media. My directories and groups are as follows.

/media/len/MyMedia 

drwxrwxr-x+  13 plex plex 4.0K Feb 12  2023 .
drwxr-x---+  3 plex plex 4.0K Feb 14 22:05 ..
drwxrwxr-x+  4 plex plex 4.0K Mar 17 15:19 backups
drwxrwxr-x+  2 plex plex 4.0K Sep  9  2021 Flanders_old
drwxrwxr-x+  19 plex plex 4.0K Mar 10 20:06 home_videos
drwxrwxr-x+  2 plex plex  16K Dec  3  2020 lost+found
drwxrwxr-x+ 480 plex plex  20K Apr 20 22:23 movies
drwxrwxr-x+  28 plex plex 4.0K Mar 20 17:33 music
drwxrwxr-x+  8 plex plex 4.0K Oct 14  2022 music_videos_old
drwxrwxr-x+  20 plex plex  16K Aug 25  2023 pictures
drwxrwxr-x+  2 plex plex 4.0K Aug  6  2022 test
drwxrwxr-x+  61 plex plex 4.0K Jun 27  2022 tv
drwxrwxr-x+  8 plex plex 4.0K Jul  1  2023 various

groups plex
plex : plex video plugdev media my_media

groups jellyfin
jellyfin : jellyfin video render plex media my_media

Jeelyfin should have rwx permission to everything as part of the my_media group since plex is also part of that group.
Any help , insights welcome


RE: No Media - TheDreadPirate - 2024-04-24

There's an ACL on those directories, probably on the parent directory too (/media/len). You will either need to remove them or add Jellyfin to the ACL.


RE: No Media - Leonard OBoyle - 2024-04-27

Thanks for the info. Dont know about ACLs. I thought all I had to do was set groups and permissions. How do I add Jellyfin to the ACL?


RE: No Media - TheDreadPirate - 2024-04-27

Read this stack exchange post. "setfactl" is the command.

https://unix.stackexchange.com/questions/105831/how-do-i-allow-rwx-access-to-a-specific-group-with-acls


RE: No Media - Leonard OBoyle - 2024-05-10

I fixed the ACL problem by removing the ACL but still not seeing media.

My new directory listing is:

drwxrwxrwx 13 plex plex 4.0K Feb 12 2023 .
drwxrwxrwx 3 plex plex 4.0K Feb 14 22:05 ..
drwxrwxrwx 4 plex plex 4.0K Mar 17 15:19 backups
drwxrwxrwx 2 plex plex 4.0K Sep 9 2021 Flanders_old
drwxrwxrwx 19 plex plex 4.0K Mar 10 20:06 home_videos
drwxrwxrwx 2 plex plex 16K Dec 3 2020 lost+found
drwxrwxrwx 480 plex plex 20K Apr 20 22:23 movies
drwxrwxrwx 28 plex plex 4.0K Mar 20 17:33 music
drwxrwxrwx 8 plex plex 4.0K Oct 14 2022 music_videos_old
drwxrwxrwx 20 plex plex 16K Aug 25 2023 pictures
drwxrwxrwx 2 plex plex 4.0K Aug 6 2022 test
drwxrwxrwx 61 plex plex 4.0K Jun 27 2022 tv
drwxrwxrwx 8 plex plex 4.0K Jul 1 2023 various

groups plex
plex : plex video plugdev media my_media

groups jellyfin
jellyfin : jellyfin video render plex media my_media

I believe Jellyfin should have rwx permission to everything as part of the my_media group since plex is also part of that group.
Any help , insights welcome


RE: No Media - TheDreadPirate - 2024-05-10

What are the permissions on /media/len? Jellyfin needs access to every step in a path.


RE: No Media - Leonard OBoyle - 2024-05-12

len@raspberrypiConfused-facemedia $ ll
total 12K
drwxrwxrwx 3 plex plex 4.0K Jan 1 19:27 .
drwxr-xr-x 18 root root 4.0K Dec 5 03:08 ..
drwxrwxrwx 3 plex plex 4.0K Feb 14 22:05 len


RE: No Media - TheDreadPirate - 2024-05-12

What is the output of "sudo cat /proc/mounts"?


RE: No Media - Leonard OBoyle - 2024-05-14

media $ sudo cat /proc/mounts
/dev/root / ext4 rw,noatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=340468k,nr_inodes=85117,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,size=188824k,nr_inodes=819200,mode=755 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 0
/dev/sda1 /media/len/MyMedia ext4 rw,relatime 0 0
tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=94408k,nr_inodes=23602,mode=700,uid=1000,gid=1000 0 0
gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0


RE: No Media - TheDreadPirate - 2024-05-14

Hmmm. Nothing out of the ordinary on the mount parameters.

One more time. Let's walk through the directories.

Code:
ls -ld /media /media/len /media/len/MyMedia /media/len/MyMedia/movies /media/len/MyMedia/movies/<pick a movie>
ls -l /media/len/MyMedia/movies/<pick a movie>/<insert filename here>