• 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): 1 2 3 4 5 6 Next »

     
    • 0 Vote(s) - 0 Average

    Jellyfin on proxmox

    final server installation
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #1
    2024-10-11, 01:24 PM
    Hello all

    I am currently running Jellyfin server as an app in trunas scale with in tern is installed as a vm on proxmox. all works well

    All my media disks are installed in proxmox and passed through to Truenas scale
    My current Jellyfin server is @ 192.168.1.124:30013

    Many individuals on this forum and others criticise this integration and demm it not optimal. The all suggest I install Jellyfin on proxmox as an LXC

    I did create an ubuntu template LXC and installed Jellyfin media server. It is currently up and running however not configured.
    .
    I did add jellyfin as a user in all my media datasets

    My question is how do i add a libraries to jellyfin? do i first need to mount the libraries in the proxmox lxc. I do not want to duplicate all my media file on more disks


    Ie.: /192.168.1.124/mnt/media/Movies to load my movies does not work I get the path could not be found

    What would be the correct path to input when trying to add a library?        


    Thank you all in advance for any guidance provided
    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


    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-11, 01:55 PM
    What protocol are you using for the network share? SMB or NFS? And what are the mount options you used in /etc/fstab?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #3
    2024-10-11, 02:05 PM
    HI TheDreadPirate

    Most of my shares are SMB however i also use nfs for my linx pc

    Thank you for your very prompt reply
    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


    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-11, 03:22 PM
    Can you provide the mounting options you used in /etc/fstab?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #5
    2024-10-11, 08:46 PM
    I managed to get

    apt-get install cifs-utils

    root@jellyfinConfused-facemnt# mount -t cifs -o user=root //192.168.1.124/mnt/media/Shows /mnt/Media
    Password for root@//192.168.1.124/mnt/media/Shows:
    mount error(1): Operation not permitted
    Refer to the mount.cifs(Nerd-face manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

    My truenas ip is 192.168.1.124
    the shared folder is /mnt/media/
    and the datasets are Movies Shows and Music

    the ACL are owned by root and have wbravin as user with full control

    I presume that i need to mount each dataset individually then they will mount each in /mnt/Media or can i
    root@jellyfinConfused-facemnt# mount -t cifs -o user=root //192.168.1.124/mnt/media /mnt/Media and this will mount all 3 dataset in the LXC

    I truly appreciate you helping me
    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


    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-11, 09:29 PM
    The remote path and the credentials you're providing likely isn't correct. You created a share at a particular path, but that doesn't mean that you have to reference that full path.

    In TrueNAS, it should provide you with a name for that share. It looks like you named it "media" with the information I can see from your commands. So it would likely be accessible with //192.168.1.124/media. Additionally, the username and password aren't going to be the root password for the Jellyfin LXC. It would be for the user ON TRUENAS that you granted permissions to access the share. It sounds like you created a jellyfin user on TrueNAS and granted that user permissions. You would use the "jellyfin" username and whatever password you created on TrueNAS as the credentials to access the SMB share.

    I plan on writing a walkthrough for this process, but this Ubuntu forum post provides instructions for permanently mounting a SMB share.

    https://askubuntu.com/questions/210937/m...dded-files
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    madsepperl
    Offline

    Junior Member

    Posts: 12
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #7
    2024-10-12, 08:01 PM
    (2024-10-11, 08:46 PM)wbravin Wrote: ...
    mount error(1): Operation not permitted 
    Refer to the mount.cifs(Nerd-face manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
    ...

    Please check if your LXC is privileged: In Proxmox VE select the LXC, choose "Options" and check "Unprivileged Container". If this is set to "Yes", then you can't mount remote file systems and you have several options:

    1. Backup the LXC and restore as privileged LXC (the "official" Proxmox VE way)
    2. mount the share on the Proxmox host and set a mountpoint in the LXC config
    3. re-install the LXC from scratch with "Unprivileged Container=No"

    cheers,
    madsepperl
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #8
    2024-10-13, 08:18 PM (This post was last modified: 2024-10-13, 08:38 PM by wbravin. Edited 1 time in total.)
    Hi Hope all are well

    I deleted the LXC (which was created using the proxmox scripts) and created a new LXC using a ubuntu 24.
    when creating the lxc i unchecked the unprivileged box (which i presume that this will make it privileged)allocated 16gb of disk 2 cores and 1024 ram. I then assigned an ip address and finished the lxc set up.

    Went into the pve shell and as below tried to mount the share


    root@pve:~# apt-get install cifs-utils
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    cifs-utils is already the newest version (2:7.0-2).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@pve:~# cd /mnt
    root@pveConfused-facemnt# ls
    media  pve  vzsnap0
    root@pveConfused-facemnt# mount -t cifs -o user=root //192.168.1.124/media /mnt/media
    Password for root@//192.168.1.124/media:
    mount error(2): No such file or directory
    Refer to the mount.cifs(Nerd-face manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
    root@pveConfused-facemnt# mount -t cifs -o user=root //192.168.1.124/media/Movies /mnt/media
    Password for root@//192.168.1.124/media/Movies:
    mount error(2): No such file or directory
    Refer to the mount.cifs(Nerd-face manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
    root@pveConfused-facemnt#

    i even tried mount -t cifs -o user=root //192.168.1.124/media /mnt/media

    root is the owner of my pool and of the datasets in trunas

    As can be seen /mnt/media does exist in my jellyfing shell

    my question would be do i put //192.168.1.124/mnt/media
    or do i put //192.168.1.124/media as my source

    since media is my pool name, and movies shows and music are my datasets do i need to repeat this line for every dataset or will the that pointing to //192.168.1.124/media will mount all the datasets in that pool to /mnt/media in the LXC?

    root has the same password on all my servers datasets and pools

    Thank you for your continued help how can i buy you a beer?
    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


    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-10-13, 10:18 PM
    (2024-10-13, 08:18 PM)wbravin Wrote: or do i put //192.168.1.124/media as my source

    This one.

    (2024-10-13, 08:18 PM)wbravin Wrote: since media is my pool name, and movies shows and music are my datasets do i need to repeat this line for every dataset or will the that pointing to //192.168.1.124/media will mount all the datasets in that pool to /mnt/media in the LXC?

    Just mount media.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #10
    2024-10-14, 02:31 AM
    Thank you for your prompt reply

    I tried again as per below;

    I tried /server/mnt/media/, /server/media/, server/media/Movies

    user=wbravin, user=jellyfin, user=root, user=admin
    privileged and unprivileged lxc

    If i cd /mnt/media in the pve shell i do see /mnt/media
    why does it keep saying error 2 no such file or directory



    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Sun Oct 13 22:51:29 CEST 2024 on pts/0
    root@pve:~# mount -t cifs -o user=jellyfin,vers=2.0 //192.168.1.124/media /mnt/media/
    Password for jellyfin@//192.168.1.124/media:
    mount error(2): No such file or directory
    Refer to the mount.cifs(Nerd-face manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
    root@pve:~# cd /mnt/media
    root@pveConfused-facemnt/media# ls
    root@pveConfused-facemnt/media#
    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


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

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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