Jellyfin Forum
jellyfin libraries - 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 libraries (/t-jellyfin-libraries)



jellyfin libraries - BillZXN - 2024-05-29

hello,
am using jellyfin on a debian laptop, my SSD have 2 paretion (1 for OS and the other for all media), when i try to add my media jellyfin cant find the path(directory) of the folder that my media stored at.
any suggestion ? i rly need help to solve it XD


RE: jellyfin libraries - Fate - 2024-05-29

Are you on windows or on linux?

Does jellyfin has the access rights to your media partition?


RE: jellyfin libraries - BillZXN - 2024-05-29

(2024-05-29, 04:07 PM)Fate Wrote: Are you on windows or on linux?

Does jellyfin has the access rights to your media partition?

am using debian and i used chmod -R 777 is there any other way ?


RE: jellyfin libraries - Fate - 2024-05-29

ok can you post "df -h", "mount" and fdisk -l


RE: jellyfin libraries - BillZXN - 2024-05-29

(2024-05-29, 04:18 PM)Fate Wrote: ok can you post "df -h", "mount" and fdisk -l

root@debianConfused-face# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            2.9G    0  2.9G  0% /dev
tmpfs          581M  1.8M  579M  1% /run
/dev/sda1      110G  5.9G  99G  6% /
tmpfs          2.9G    0  2.9G  0% /dev/shm
tmpfs          5.0M  8.0K  5.0M  1% /run/lock
tmpfs          581M  2.6M  578M  1% /run/user/1000
/dev/sda4      815G  566G  249G  70% /media/billz/02E8A8F5E8A8E7DD

root@debianConfused-face# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=2938024k,nr_inodes=734506,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=594280k,mode=755,inode64)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15570)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=594276k,nr_inodes=148569,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda4 on /media/billz/02E8A8F5E8A8E7DD type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)

root@debianConfused-face# fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: SSD 1TB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x917d03fd

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 234960895 234958848 112G 83 Linux
/dev/sda2 234962942 244688895 9725954 4.6G 5 Extended
/dev/sda3 244688896 245757951 1069056 522M 27 Hidden NTFS WinRE
/dev/sda4 245760000 1953521663 1707761664 814.3G 7 HPFS/NTFS/exFAT
/dev/sda5 234962944 244688895 9725952 4.6G 82 Linux swap / Solaris


all media in here: media/billz/02E8A8F5E8A8E7DD


RE: jellyfin libraries - TheDreadPirate - 2024-05-29

There is probably an ACL on it. What is the output of

Code:
ls -l /media /media/billz



RE: jellyfin libraries - BillZXN - 2024-05-29

(2024-05-29, 04:29 PM)TheDreadPirate Wrote: There is probably an ACL on it.  What is the output of

Code:
ls -l /media /media/billz

root@debianConfused-face# ls -l /media /media/billz
/media:
total 8
drwxr-xr-x+ 3  777 jellyfin 4096 May 29 11:59 billz
drwxr-xr-x  2 root root    4096 May 29 11:50 cdrom

/media/billz:
total 4
drwxrwxrwx 1 billz billz 4096 May 28 07:12 02E8A8F5E8A8E7DD


RE: jellyfin libraries - TheDreadPirate - 2024-05-29

sudo setfacl -b -R /media/billz

This will remove the ACL. Also, it looks like you chown'd 777 instead of chmod 777 on /media/billz.


RE: jellyfin libraries - BillZXN - 2024-05-29

(2024-05-29, 04:32 PM)TheDreadPirate Wrote: sudo setfacl -b -R /media/billz

This will remove the ACL.  Also, it looks like you chown'd 777 instead of chmod 777 on /media/billz.

thank you so much it worked for me


RE: jellyfin libraries - Fate - 2024-05-29

TDP was faster ... nvm