Jellyfin Forum
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)

Pages: 1 2 3 4 5 6


RE: Jellyfin on proxmox - wbravin - 2024-10-17

Hello 

Thank you for your quick response


i have both situations  this is my mess 


I would like to remove both mnt/media (which contains /mnt/media/truenas) and mnt/truenas (which contains /mnt/truenas/media)

what a mess

sudo rm -r /mnt/media/truenas/Movies is busy


RE: Jellyfin on proxmox - madsepperl - 2024-10-17

see post #28, you have to unmount first


RE: Jellyfin on proxmox - wbravin - 2024-10-17

Hi Thank you

as you can see i did try to unmount it and i still shows as busy

root@pve:/mnt/media/truenas# unmount /Movies
-bash: unmount: command not found
root@pve:/mnt/media/truenas# unmount /mnt/media/truenas/Movies
-bash: unmount: command not found
root@pve:/mnt/media/truenas# cd
root@pve:~# unmount /mnt/media/truenas/Movies
-bash: unmount: command not found
root@pve:~# umount /mnt/truenas/Shows
umount: /mnt/truenas/Shows: not mounted.
root@pve:~# umount /mnt/truenas/Music
root@pve:~# umount /mnt/truenas/Movies
root@pve:~# rmdir -r /mnt/media/
rmdir: invalid option -- 'r'
Try 'rmdir --help' for more information.
root@pve:~# sudo rm -r /mnt/media/truenas/Movies
rm: cannot remove '/mnt/media/truenas/Movies': Device or resource busy
root@pve:~# umount /mnt/truenas/Movies
umount: /mnt/truenas/Movies: not mounted.
root@pve:~# cd /mnt/media/truenas
root@pve:/mnt/media/truenas# ls
Movies  Music
root@pve:/mnt/media/truenas# sudo rm -r /mnt/media/truenas/Movies
rm: cannot remove '/mnt/media/truenas/Movies': Device or resource busy
root@pve:/mnt/media/truenas#

Thank you for your patience


RE: Jellyfin on proxmox - madsepperl - 2024-10-17

please look closely to my post. the command is umount (not unmount)

and please just do one directory by another. I your screenshot above you only successfully umounted /mnt/truenas/Music and /mnt/truenas/Movies. The rest still seems to be mounted and thus you still get "busy" for /mnt/media/truenas/Movies and /mnt/media/truenas/Movies.

try the following:

Code:
umount /mnt/media/truenas/Movies
rm -r /mnt/media/truenas/Movies

When this is successful, continue with the other directories


RE: Jellyfin on proxmox - wbravin - 2024-10-17

Hi all


after 3 weeks of tribulation on my part (learning) and after all the grief i caused and support you all provided me, I now see the mount points being populated by the media in their proper folders

During this process i managed to delete from truenas all my music and videos (thank god for backups)

as the turenas folder are being restored the mount points are being populated. \tomorrow i will bind the media to jellyfin and i hope all will go well

I added
{ echo 'mp0: /mnt/truenas/Movies/,mp=/mnt/Truenas' ; } | tee -a /etc/pve/lxc/104.conf
which i modified to 
{ echo 'mp0: /mnt/media/Movies/,mp=Movies' ; } | tee -a /etc/pve/lxc/104.conf

As per post 23 and to reflect my latest structure which is /mnt/media/Movies

Hopping when adding a library to Jellyfin i would select as the folder /Movies
the circle goes round and round for a long time is this normal ? i do not think so

I tried mp=/mnt/media/Movies and using /media/Movies to configure my library 

All my libraries are loaded onto the lxc share /mnt/media/Movies, Music and Shows
 
 
since i listen to music via playlists i create (156 of them on Kodi ) and only 37 migrated to Jellyfin I would like to know what should i do to migrate the 37 playlists that i currently have in Jellyfin to my jellyfin lxc 

This is an issue i have with jellyfin
i presume that  mp0: /mnt/media/Movies/ is the source
and

mp=/mnt/Movies is the destination for the folder id when adding a library to jellyfin he playlist manually the playlist will not show up as a possible selection option in the context menus 

THank you so much for all your help, teachings and patience


RE: Jellyfin on proxmox - wbravin - 2024-10-18

hello all

i found the possible culprit

when i nano /etc/pve/lxc/104.conf i add the lines above to bind the mount and the lxc is stopped

i do a ctrl-X then press y and then return i presume that the edit is saved

i nano 104.cong again and i see the edit there
i start the lxc 
open jailfin configuration try to add a library and it does not work

i stop the lxc

return to the pv shell and nano 104.conf

to my surprise the edit i did before is no longer there

 what am i not doing correctly when editing 104.conf?

|This is why i cannot load the mount


RE: Jellyfin on proxmox - Fate - 2024-10-18

(2024-10-18, 09:58 AM)wbravin Wrote: hello all

i found the possible culprit

when i nano /etc/pve/lxc/104.conf i add the lines above to bind the mount and the lxc is stopped

i do a ctrl-X then press y and then return i presume that the edit is saved

i nano 104.cong again and i see the edit there
i start the lxc 
open jailfin configuration try to add a library and it does not work

i stop the lxc

return to the pv shell and nano 104.conf

to my surprise the edit i did before is no longer there

 what am i not doing correctly when editing 104.conf?

|This is why i cannot load the mount

You can't edit the conf files when the lxc is running.

- stop the lxc
- put in your mount
- start it again


RE: Jellyfin on proxmox - wbravin - 2024-10-18

@Fate

Thank you for your reply


i did stop the lxc as you mentioned and added the mp

root@pve:~# { echo 'mp1: /mnt/media/Shows/,mp=/mnt/Shows' ; } | tee -a /etc/pve/lxc/104.conf

in jellyfin configuration when i tried to add a library (in this case Shows) i do see the see Shows in the network file path selection however no content appears when i select it when adding  the library to the jellyfin server

in my pve: /mnt/media/Shows does have all the contents  for all the shows so i guess my syntax is correct so far? mp1: (from source),mp=(destination for jellyfin server) I do not know | tee -a does  correct? 

mp0 is for Movies and mp2 is for Music.

This is what my lxc.conf file looks like

rch: amd64
cores: 2
features: keyctl=1,nesting=1
hostname: jellyfin
memory: 2048
mp0: /mnt/media/Movies/,mp=/Movies
mp1: /mnt/media/Shows/,mp=/Shows
mp2: local-lvm:vm-104-disk-2,mp=/Music,backup=1,size=8G
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:38:34:09,ip=192.168.1.12>
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-104-disk-0,size=8G
swap: 512
tags: proxmox-helper-scripts
unprivileged: 1
unused0: local-lvm:vm-104-disk-1

I do not know what is 192.168.1.12 is
Once again thank you very much for your help


RE: Jellyfin on proxmox - madsepperl - 2024-10-18

please post your /etc/pve/lxc/104.conf

on the pve host: does "ls -la /mnt/media/Shows" show your media?
on the jellyfin LXC: what does "ls -la /mnt/Shows" display?


RE: Jellyfin on proxmox - madsepperl - 2024-10-18

ah I just saw that you already posted the LXC config. Looks good so far.

192.168.1.12 is the IP address of your LXC container and also the address you connect to jellyfin in that container (http://192.168.1.12:8096)