• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Jellyfin on proxmox

    Pages (6): « Previous 1 2 3 4 5 6 Next »

     
    • 0 Vote(s) - 0 Average

    Jellyfin on proxmox

    final server installation
    wbravin
    Offline

    Member

    Posts: 94
    Threads: 20
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #31
    2024-10-17, 04:49 PM
    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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    madsepperl
    Offline

    Junior Member

    Posts: 12
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #32
    2024-10-17, 05:54 PM
    see post #28, you have to unmount first
    wbravin
    Offline

    Member

    Posts: 94
    Threads: 20
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #33
    2024-10-17, 06:15 PM
    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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    madsepperl
    Offline

    Junior Member

    Posts: 12
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #34
    2024-10-17, 06:28 PM
    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
    wbravin
    Offline

    Member

    Posts: 94
    Threads: 20
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #35
    2024-10-17, 08:07 PM (This post was last modified: 2024-10-18, 09:44 AM by wbravin. Edited 5 times in total.)
    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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    wbravin
    Offline

    Member

    Posts: 94
    Threads: 20
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #36
    2024-10-18, 09:58 AM
    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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    Fate
    Offline

    Member

    Posts: 221
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #37
    2024-10-18, 10:32 AM
    (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
    wbravin
    Offline

    Member

    Posts: 94
    Threads: 20
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #38
    2024-10-18, 01:50 PM (This post was last modified: 2024-10-18, 01:54 PM by wbravin. Edited 1 time in total.)
    @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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    madsepperl
    Offline

    Junior Member

    Posts: 12
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #39
    2024-10-18, 02:16 PM
    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?
    madsepperl
    Offline

    Junior Member

    Posts: 12
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #40
    2024-10-18, 02:23 PM
    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)
    Pages (6): « Previous 1 2 3 4 5 6 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode