Jellyfin on proxmox - 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: Jellyfin on proxmox (/t-jellyfin-on-proxmox) |
RE: Jellyfin on proxmox - wbravin - 2024-10-15 @GrumpyNick I tried it and i got this root@pve:~# nano /etc/fstab root@pve:~# systemctl daemon-reload root@pve:~# mount /mnt/truenas mount: /etc/fstab: parse error at line 1 -- ignored does this mean that the share was mounted? i f so great how do i verify it? and i can now just proceed with the binding Thank you so much RE: Jellyfin on proxmox - wbravin - 2024-10-16 Hello all first let me thank you @TheDreadPirate @GrumpyNick and @madsepperl for all your help, patience and teachings Following the latest recommendations i had successfully managed to load /mnt/truenas/Movies all my movies were there brilliant. So i continued with Music and Shows by adding the same line (amended for each dataset) to the /etc/fstab file I then mounted each dataset using mount/mnt/truenas/Movies I screwed up and i got all the files for movies in /mnt/truenas/Movies all the files for Music in /mnt/truenas/Movies/Music and all the shows in /mnt/truenas/Movies/Shows it was a mess. I proceeded to delete all the contents of /mnt/truenas/Movies root@pve:~# mount /mnt/truenas/Movies mount: /etc/fstab: parse error at line 1 -- ignored mount error(16): Device or resource busy Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) the same for Music when i did /mnt/truenas/Music and for shows I got root@pve:~# mount /mnt/truenas/Shows mount: /etc/fstab: parse error at line 1 -- ignored Couldn't chdir to /mnt/truenas/Shows: No such device i found the following information root@pve:/mnt/truenas# ls -la total 8 drwxr-xr-x 5 root root 4096 Oct 16 08:14 . drwxr-xr-x 6 root root 4096 Oct 15 13:21 .. drwxrwx--- 2 100000 110000 0 Oct 16 08:23 Movies drwxrwx--- 2 100000 110000 0 Oct 15 23:49 Music drwxr-xr-x 2 root root 0 Oct 16 08:14 Shows root@pve:/mnt/truenas# Notice the shows having a uid of root instead of 10000 and i guess the 0 means that the directory is empty. What is keeping the directories busy? and how do i change Shows to 10000? then i will need to bind the mount to the lxc with { echo 'mp0: /mnt/truenas/Movies/,mp=/mnt/Truenas' ; } | tee -a /etc/pve/lxc/104.conf { echo 'mp0: /mnt/truenas/Music/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf { echo 'mp0: /mnt/truenas/Shows/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf I will have to do this for all 3 datasets correct? then start the lxc and install and configure Jellyfin I looked at the possible issues and i saw this root@pve:~# cd /mnt/truenas root@pve:/mnt/truenas# ls -la total 8 drwxr-xr-x 5 root root 4096 Oct 16 08:14 . drwxr-xr-x 6 root root 4096 Oct 15 13:21 .. drwxrwx--- 2 100000 110000 0 Oct 16 08:23 Movies drwxrwx--- 2 100000 110000 0 Oct 15 23:49 Music drwxr-xr-x 2 root root 0 Oct 16 08:14 Shows Once again Thank you RE: Jellyfin on proxmox - GrumpyNick - 2024-10-16 What does your fstab file look like, can you share it? Also these are incorrect, well two of them are:
{ echo 'mp0: /mnt/truenas/Movies/,mp=/mnt/Truenas' ; } | tee -a /etc/pve/lxc/104.conf
You need to increment the device each time like so:
{ echo 'mp0: /mnt/truenas/Movies/,mp=/mnt/Truenas' ; } | tee -a /etc/pve/lxc/104.conf
Usually if the user and/or group is incorrect with an SMB/CIFS location it's down to what's in fstab. RE: Jellyfin on proxmox - wbravin - 2024-10-16 hello Thank your for your quick reply <file system> <mount point> <type> <options> <dump> <pass> /dev/pve/root / ext4 errors=remount-ro 0 1 UUID=AA01-F313 /boot/efi vfat defaults 0 1 /dev/pve/swap none swap sw 0 0 proc /proc proc defaults 0 0 //192.168.1.124/Movies/ /mnt/truenas/Movies cifs _netdev,x-systemd.automount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=root,pass=bikerdude30,iocharacterset=utf8 0 0 //192.168.1.124/Music/ /mnt/truenas/Music cifs _netdev,x-systemd.automount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=root,pass=bikerdude30,iocharset=utf8 0 0 //192.168.1.124/Shows/ /mnt/truenas/Shows cifs _netdev,x-systemd.automount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=root,pass=bikerdude30,iocharset=utf8 0 0 THis fstab was not changed since last night and before proceeding the mount i did do a systemctl daemon-reload Thank you for your prompt reply RE: Jellyfin on proxmox - GrumpyNick - 2024-10-16 Sorry long day... Nothing is jumping out at me, I'd delete that "Shows" directory within mnt/truenas and then recreate it. "mkdir -p Shows" Then try and mount the share again. RE: Jellyfin on proxmox - wbravin - 2024-10-16 HI @GrumpyNick no worries i tried rmdir /mnt/truenas/Shows root@pve:~# cd /mnt/truenas/ root@pve:/mnt/truenas# ls -la total 8 drwxr-xr-x 5 root root 4096 Oct 16 08:14 . drwxr-xr-x 6 root root 4096 Oct 15 13:21 .. drwxrwx--- 2 100000 110000 0 Oct 16 08:23 Movies drwxrwx--- 2 100000 110000 0 Oct 15 23:49 Music drwxr-xr-x 2 root root 0 Oct 16 08:14 Shows root@pve:/mnt/truenas# rmdir /mnt/truenas/Shows rmdir: failed to remove '/mnt/truenas/Shows': Device or resource busy root@pve:/mnt/truenas# root@pve:/mnt/truenas# root@pve:/mnt/truenas# mount /mnt/truenas/Shows mount: /etc/fstab: parse error at line 1 -- ignored Couldn't chdir to /mnt/truenas/Shows: No such device root@pve:/mnt/truenas# mount /mnt/truenas/Movies mount: /etc/fstab: parse error at line 1 -- ignored mount error(16): Device or resource busy Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) root@pve:/mnt/truenas# This is the issues will all the directories they show as busy Coudl I be taking on more than i can chew? RE: Jellyfin on proxmox - GrumpyNick - 2024-10-17 Do you have them mapped into a running LXC at all? RE: Jellyfin on proxmox - madsepperl - 2024-10-17 you probably get the "device busy" error messages, because the directories are mounted. You can't mount them again or delete them, when they're mounted. to check if the local directory already is mounted: Code: mount | grep /mnt/truenas/Shows If this returns nothing, then the directory is not mounted. But if this shows something like: Code: //192.168.1.124/Shows/ on /mnt/truenas/Shows type cifs (rw,........... then it's already mounted. If you want to delete that directory, you first have to unmount it: Code: umount /mnt/truenas/Shows After that the rmdir should work. Some more troubleshooting: If this is your first line in fstab "<file system> <mount point> <type> <options> <dump> <pass>" then this will generate the error message "mount: /etc/fstab: parse error at line 1 -- ignored" you get. Delete this first line in fstab. the commands to add to the LXC config have some errors: { echo 'mp0: /mnt/truenas/Movies/,mp=/mnt/Truenas' ; } | tee -a /etc/pve/lxc/104.conf { echo 'mp1: /mnt/truenas/Music/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf { echo 'mp2: /mnt/truenas/Shows/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf you can't use the same mp= for all three mountpoints first mp=/mnt/Truenas should be /mnt/truenas (lower case t in truenas) 2nd and third tee targets should be /etc/pve/lxc/104.conf and not /etc/pve/lxc/LXC_ID.conf RE: Jellyfin on proxmox - wbravin - 2024-10-17 Hello @GrumpyNick i truly apologize for being so thick I made a dogs breakfast of this whole situation. I'm trying to delete all the directories i created /mnt/media and /mnt/truenas. when t5itry to delete the directories and their contents and all the groups, i get that the directory is busy or there is something in the directory for which i do not have permission. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Oct 17 17:34:09 CEST 2024 on pts/0 root@pve:~# sudo rm -r /mnt/media/truenas/Movies rm: cannot remove '/mnt/media/truenas/Movies': Device or resource busy root@pve:~# sudo rm -r /mnt/media/truenas rm: cannot remove '/mnt/media/truenas/Movies': Device or resource busy rm: cannot remove '/mnt/media/truenas/Music/.recycle/root': Permission denied rm: cannot remove '/mnt/media/truenas/Music/Muddy Magnolias/Broken People': Permission denied root@pve:~# mount /mnt/truenas/Movies mount error(16): Device or resource busy Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) root@pve:~# root@pve:~# I do not understand Muddy Magnolias is a music directory that has a folder called broken people In truenas all my datasets have the same posix acl with uid=root gid=root with the addition of myself and Jellyfin as users belonging to the same groups (wheel root) I deleted the lxc and created it using the proxmox ve scripts for jellyfin. I also may inadvertently messed up group 10000 which was supposed to be media how do i see what group exists and how to modify them Thank you for your patience once this is all done RE: Jellyfin on proxmox - madsepperl - 2024-10-17 root@pve:~# sudo rm -r /mnt/media/truenas/Movies root@pve:~# mount /mnt/truenas/Movies seems there's a mismatch, which one is the correct one? |