2025-04-15, 02:22 PM
(This post was last modified: 2025-04-15, 02:26 PM by numToStr. Edited 2 times in total.)
I've installed jellyfin in a proxmox lxc unprivilaged container using Proxmox VE Helper-Scripts and my library is on a smb share, which i made available to the lxc using the following steps.
First i mounted my smb share in the proxmox host's
Note: proxmox host adds 100000 to the lxc's user and group id
then i bind-mounted the share to lxc container
then tweaked the
Finally, i added
I even tried docker but same issue, library not showing.
First i mounted my smb share in the proxmox host's
fstab
Code:
//192.168.31.150/anime /mnt/nas/anime cifs _netdev,x-systemd.automount,noatime,uid=100000,gid=110000,nobrl,dir_mode=0770,file_mode=0770,credentials=/etc/.smbpwd 0 0
Note: proxmox host adds 100000 to the lxc's user and group id
then i bind-mounted the share to lxc container
Code:
pct set 115 -mp0 /mnt/nas/anime,mp=/mnt/anime
then tweaked the
jellyfin
user permissionsCode:
groupadd -g 10000 lxc_shares
usermod -aG lxc_shares jellyfin
Code:
root@jellyfin:~# id jellyfin
uid=110(jellyfin) gid=118(jellyfin) groups=118(jellyfin),44(video),104(render),3000(nfs_shares),10000(lxc_shares)
Code:
root@jellyfin:~# sudo -u jellyfin ls -al /mnt/anime/
total 9
drwxrwx--- 2 root lxc_shares 0 Apr 14 19:16 .
drwxr-xr-x 5 root root 5 Apr 15 14:59 ..
drwxrwx--- 2 root lxc_shares 0 Apr 12 00:12 'Attack on Titan (2013)'
drwxrwx--- 2 root lxc_shares 0 Apr 13 03:44 'Blue Exorcist (2011)'
drwxrwx--- 2 root lxc_shares 0 Apr 12 19:59 'Chainsaw Man (2022)'
drwxrwx--- 2 root lxc_shares 0 Apr 13 20:16 'Demon Slayer - Kimetsu no Yaiba (2019)'
drwxrwx--- 2 root lxc_shares 0 Apr 14 18:08 'Dragon Ball Super (2015)'
drwxrwx--- 2 root lxc_shares 0 Apr 13 16:27 'Dragon Ball Z (1989)'
drwxrwx--- 2 root lxc_shares 0 Apr 13 00:01 'Jujutsu Kaisen (2020)'
drwxrwx--- 2 root lxc_shares 0 Apr 11 21:05 'Mob Psycho 100 (2016)'
drwxrwx--- 2 root lxc_shares 0 Apr 14 19:16 'One Piece (1999)'
drwxrwx--- 2 root lxc_shares 0 Apr 12 01:04 'Scissor Seven (2018)'
drwxrwx--- 2 root lxc_shares 0 Apr 13 01:54 'Solo Leveling (2024)'
drwxrwx--- 2 root lxc_shares 0 Apr 13 17:59 'Steins;Gate (2011)'
Finally, i added
/mnt/anime
as Shows under my jellyfin's library but it doesn't seem to scan the files, checked the logs but nothing related to files. First screenshot is my library after scanning is finished and second is the metadata manager which doesn't go deeper than the top-level folder.I even tried docker but same issue, library not showing.