Building a Mini PC Home Server: Proxmox, Docker, Jellyfin + Hardware Acceleration

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • Building a Mini PC Home Server running Docker and Jellyfin with hardware acceleration in LXC Containers on Proxmox.
    🎯 Tutorials, comparisons, reviews: www.wundertech.net
    ✅ GMKtec NucBox G3*: geni.us/kOw86
    *As an Amazon Associate, I earn from qualifying purchases at no expense to you. Thank you for your support.
    ⭐⭐MINI PC HOME SERVER TUTORIALS⭐⭐
    1️⃣ Installing Proxmox: www.wundertech.net/how-to-ins...
    2️⃣ Installing Docker on Proxmox: www.wundertech.net/how-to-set...
    3️⃣ Installing Jellyfin + Hardware Acceleration on Proxmox: www.wundertech.net/installing...
    4️⃣Proxmox Backups to an NFS Share: www.wundertech.net/how-to-bac...
    🚀 Hire Me: www.wundertech.net/wundertech...
    ⚡Best Synology NAS Devices: www.wundertech.net/which-syno...
    ⚡Product Recommendations: link.wundertech.net/rmYt
    🔔 Subscribe for more tech-related tutorials and overviews: link.wundertech.net/ssYt
    DISCLAIMER: The information in this video has been self-taught through years of technical tinkering. While we do our best to provide accurate, useful information, we make no guarantee that our viewers will achieve the same level of success. WunderTech does not assume liability nor responsibility to any person or entity with respect to damage caused directly or indirectly from its content or associated media. Use at your own risk.
    WunderTech is a trade name of WunderTech, LLC.
    0:00 Mini PC/Application Requirements
    0:43 OS: Why I am Using Proxmox
    1:40 Docker + Jellyfin in LXC Containers
    2:00 Proxmox Host Changes
    2:24 Configuring Docker in an LXC Container in Proxmox
    5:15 Configuring Jellyfin + Hardware Acceleration in an LXC Container
    13:09 Configuring Automatic Backups
    15:16 Final Thoughts
  • Věda a technologie

Komentáře • 98

  • @ericbox1504
    @ericbox1504 Před 4 měsíci

    Super clean and easy to follow guidance/tutorial/content. Thank you for sharing your nuggets of how-to.

  • @TechMeOut5
    @TechMeOut5 Před 4 měsíci +10

    That was one of best videos i have seen on this topic by far! you explained everything so well and everything was just so fun to watch! great work Frank!

  • @leok4007
    @leok4007 Před 4 měsíci

    THIS is exactly what i was looking for! Thank you so much👍

  • @alias906
    @alias906 Před 4 měsíci

    Great video! Easy clean explanation !

  • @Zedris
    @Zedris Před 4 měsíci +3

    great vid. please continue this proxmox series! i got the exact same mini pc to replace all my dockers etc from rpi and offload things like plex and jelly from my synology.

  • @marcoslanes
    @marcoslanes Před 4 měsíci +2

    Amazing tutorial! I put it into practice for now.
    In my case, I bought a Lenovo Miniplex with:
    1- M.2 256 and
    1- TB SATA HD
    The Jellyfin on the M.2 and the medias/audios on the SATA HD. I hope it works well!
    Again, thanks for share this material! Save lifes!

  • @tahabinadil416
    @tahabinadil416 Před 4 měsíci

    Bro you made my day, I was looking for this exactly and the way you explained each step is simply amazing.

  • @Jari_PL
    @Jari_PL Před měsícem

    Excelent video and accompanying written tutorial.

  • @YannMetalhead
    @YannMetalhead Před 4 měsíci

    Good video!

  • @Bijlsmaa
    @Bijlsmaa Před 3 měsíci

    NICE, this is exactly what I am doing/want. A GMKtec M5 with Proxmox and 'stuff'

  • @Glasairmell
    @Glasairmell Před 4 měsíci +3

    High quality very useful Proxmox subject matter. I always learn from you. Thanks you sir.

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci

      Thank you very much! I appreciate you watching!

    • @Glasairmell
      @Glasairmell Před 4 měsíci

      @@WunderTechTutorialsPutting my vote in for a shortie on what containers-vms you use.

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci

      @@Glasairmell It's on my list!

  • @tonyseeley
    @tonyseeley Před 4 měsíci

    Yes please HA on Proxmox - great video by the way

  • @selbyca
    @selbyca Před 4 měsíci

    Great tutorial!!! Please create the HA video.

  • @kevinhughes9801
    @kevinhughes9801 Před 4 měsíci

    Brill stuff useful

  • @Thebengtify
    @Thebengtify Před 3 měsíci

    Great guide!
    I'm new to proxmox and I'm wondering about how a privilige container is not ideal to use when you have plex open to the internet? Is it safe to set up like this when it's open to the internet?
    Thanks in advance!

  • @sikiriki
    @sikiriki Před 3 měsíci

    Great video. How can I pass through a USB3 hard drive with videos directly to the LXC? It's an NTFS formatted drive ?
    Thx
    And thank you for posting it all on your website.
    SUBSCRIBEDDDD.

  • @erbartlett
    @erbartlett Před 3 měsíci

    Just got the G3 to put HA on it…. And then I was like, hmmm, I wonder if I can put proxmox on it and run some other things like Jellyfin :) Perfect timing

  • @nadtz
    @nadtz Před 4 měsíci

    Only nitpick, proxmox is a hypervisor that runs on debian. I did something similar recently, pi hole, jellyfin and HA on an N100 so those services don't go down if I'm mucking about with my 'main' proxmox server. Solid video.

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci

      Fair point, definitely could have been clearer on that. Thank you for watching!

  • @InsaiyanTech
    @InsaiyanTech Před 3 měsíci

    Plz do a video on how to setup trash guides with notifiarr/recyclar or buildarr which works with jellyfin and jellyseer atm

  • @kalel666
    @kalel666 Před 4 měsíci +9

    Would like to see the home assistant setup please.

  • @dreadstar-22
    @dreadstar-22 Před 3 měsíci

    Please make a video on all your containers you run!

  • @InSaiyan-Shinobi
    @InSaiyan-Shinobi Před 4 měsíci

    I’ve been trying to do this setup lxc containers unprivileged and how to make sure that my Arr stack run through a vpn literally can’t find any videos sadly

  • @fedefede843
    @fedefede843 Před 4 měsíci

    Nice video! What about sharing the gpu with a plex instance? Does it need to live in that container or have one of its own?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci

      Thanks! I haven't tried to run them in the same LXC container though I imagine it's possible. This is the tutorial on how to configure Plex + HW Transcoding in an LXC Container: www.wundertech.net/how-to-install-plex-on-proxmox/

  • @HarryPulvirenti
    @HarryPulvirenti Před 4 dny

    Can you create a video about how to passthrough the iGPU of an Intel N100 to a VM?

  • @sajidahmed4834
    @sajidahmed4834 Před 2 měsíci

    Do you have a video tutorial on configuring the N100 as a NAS?
    I was thinking of installing Proxmox, and then NextCloud or OwnCloud; and have Jellyfin + Photoprism access data via NextCloud/Owncloud as a Nas.
    Just a small, personal all in one NAS box...

  • @stucorbishley
    @stucorbishley Před 3 měsíci

    I’m really curious as to why we need to enable NFS on the lxc container, it’s connecting to host outside of Proxmox, surely Proxmox doesn’t know or care that the container is establishing a connection to another host (regardless that it’s NFS or not).

  • @mortenaronsen
    @mortenaronsen Před 4 měsíci +1

    Instead of using NFS within the LXC you can mount the share on the host machine and set that folder as a mount point in the LXC

  • @goofballbiscuits3647
    @goofballbiscuits3647 Před 4 měsíci

    It'd been years since I used Ubuntu and I discovered in researching what distros supported ZFS that it was the only Linux distro that supported it natively. I work in data professionally and decided to use it at home.
    I was absolutely floored when I found how much it's improved since 18. I am still surprised that the desktop version doesn't enable UFW by default but that's a one CLI line fix.
    It's been *_fast_* , sits at 1.8gigs @idle and the ZFS with 32gigs of ram gives mind melting performance w/all the data integrity. I'll sing their praises from the street corner if they ask me 😅 wtf is up with Debian lately...

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci +2

      I wish I knew! I've had major performance issues with Debian LXC containers (haven't used it in a VM/with dedicated hardware in a while), but those problems all went away with Ubuntu...which is funny because a lot of us probably initially moved to Debian from Ubuntu!

  • @thepaulbig
    @thepaulbig Před 18 hodinami

    Hi, I set up Jellyfin reading your blog and it was super helpful, everything works correctly with my i5-13400, except one thing: if I enable tone mapping, no clients work anymore. Can you show us also how to set up tone mapping?

  • @grocerylist
    @grocerylist Před 4 měsíci

    Do you know if it's possible to share the igpu amongst multiple LXC containers?

  • @leok4007
    @leok4007 Před 4 měsíci

    when I try to mount my Synology NAS folder, i get the error "mount: bad usage".
    Any ideas???

  • @16klu
    @16klu Před 2 měsíci

    Hey Frank. I already run a Plex LXC in Proxmox with my media stored on a QNAP NAS (accessible via NFS). Both containers' IPs are added on the QNAP. But it looks like both containers have user/group of their own and both need their own users to see the media via NFS (on Plex LXC I needed to run "chown -R plex:plex /Media" and on Jellyfin similarly "chown -R jellyfin:jellyfin /Media"). The problem that I have is I cannot run both at the same time, because setting up permissions for plex:plex is messing up permissions for Jellyfin and vice versa). What am I doing wrong?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 2 měsíci

      I'm not sure how QNAP handles the NFS permissions, but if you shut down Plex, does it work? Meaning is there a hard limit set on NFS connections in QTS somewhere or is it just that the permissions are wrong?

  •  Před 4 měsíci

    There is a bit harder way to run Jellyfin with hardware acceleration as a Docker container at the same LXC with other containers and without doing that chmod 777 on the host. You will have to deal with "idmap", but it should be safer.

  • @chei86
    @chei86 Před 3 měsíci

    In your example: how would you use portainer to manage the jellyfin container? does it show up, even if it’s on another proxmox container?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 3 měsíci

      Since Jellyfin isn't installed on Docker in that example, you wouldn't use Portainer to manage it.

  • @danieldorszu1317
    @danieldorszu1317 Před 4 měsíci

    Test n100 mini pc with xpenelogy and docker jellyfin is very slow when searching video plex do it instant.

  • @RazrNet
    @RazrNet Před 2 měsíci

    Long time viewer. Great video. When I do a ls /media, my folders come up but I cannot browse the subdirectories. Jellyfin says path cannot be found. Any ideas? Thanks.

    • @WunderTechTutorials
      @WunderTechTutorials  Před 2 měsíci

      When you say you can't access the subdirectories, you have access to the main media folders and those show but the subdirectories with the data don't?

    • @RazrNet
      @RazrNet Před 2 měsíci

      @@WunderTechTutorials Correct. When I do a ls /media, the directories list (Movies, Music, etc.). When I try to do a cd movies or add the directory movies in Jellyfin, it does not show up.

  • @RogerioPereiradaSilva77
    @RogerioPereiradaSilva77 Před 4 měsíci +1

    Shouldn't you set the Media directory as read-write for the Jellyfin LXC container? While Jellyfin indeed only needs read access in order to play media, it does quite a bit of writing onto those directories when scraping metadata from the internet since, by default, Jellyfin stores this metadata as .NFO files plus cover art directly into the videos directories themselves.

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci +2

      Good question - I thought the media data was written to a config directory on the OS but if it's where the media is, then yes, it does need to be read/write. I'll test it out once I can and update the written instructions if it needs to be read/write. Thanks for letting me know!

  • @luksio
    @luksio Před 4 měsíci

    I tried sharing NFS shares for Plex according to your video but it doesn't work for me. Is it done differently for Plex?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci

      It shouldn't be different. Are you getting any data returned or it's just blank? Any errors?

  • @klorin
    @klorin Před 4 měsíci

    You say in the beginning that you find the Ubuntu template working better then the Debian one, what was the difference for you?
    I just put together a N100 based system and still working on how to setup different things. My main issues is mainly manage storage and how to get access to it from VMs and LXC`s. So many ways to do, cant decide:)

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci +4

      I can't explain why (and I admit that I haven't looked that much into it), but my Debian LXC containers take like 3-5 minutes each to boot up and shut down, and the overall OS just seems to run slower. Compare that to the Ubuntu LXC Container which takes about 3 seconds to boot and is very snappy and you can see the massive difference. I can't say I notice any functional difference when it comes to services running on the Container, but in terms of interacting with it, I've seen a huge difference switching to Ubuntu.

    • @klorin
      @klorin Před 4 měsíci +2

      @@WunderTechTutorials Very strange they are so different for you. I just tested on my N100 tonight (its a Asrock motherboard with 32GB ram and 512GB Samsung NvME drive) creating two LXC containers, both clean install, update system and install just docker and portainer on them. One based on Debian and the other on Ubuntu. Both takes around 4.5 sec from I click start untill I get to login in the shell.
      Both containers cpu usage is 0.04% - 0.08% with just docker and portainer running on fresh install on both, however the debian memory usage is 57mb while the Ubuntu one use 137mb.
      Btw: Jim here explains how to map hardware acc. into unprivileged containers: czcams.com/video/0ZDr5h52OOE/video.html

  • @grocerylist
    @grocerylist Před 4 měsíci

    Thanks for this video. I've been wanting to do this for a while to get Jellyfin or Plex setup on a system separate from my desktop.
    I am having an issue though... I got all the way through to the Jellyfin install but after getting my Movie folder mounted, for some reason Jellyfin just shows a spinning blue circle when I enter the path to my Movies. When I go to shell and do 'ls' I see all of my movie folders. I'm not sure why Jellyfin can't seem to see the folder contents. It is a large folder ~16TB but I assume it'd add the folder, then scan.
    Is there anything you could think of why Jellyfin can't see my mounted media folder?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci

      If the media is showing in the terminal, I'd expect it to work in JF, though I admit I never tried with 16TB. My movie directory is incredibly tiny compared to that. Rather than selecting the folder path, can you just type the path in JF?

    • @grocerylist
      @grocerylist Před 4 měsíci

      @@WunderTechTutorials I tried with a smaller library and had the same problem. I did some searching and some said that Jellyfin couldn't search more than 2 sublevels of directories, so I modified my mount to /mnt/Music but that also didn't work. I also did a chown -R on a directory but that didn't resolve. Not sure what's going on

    • @grocerylist
      @grocerylist Před 4 měsíci

      @@WunderTechTutorials Seems to have been a permissions issue. Jellyfin creates a 'jellyfin' user that I had to give rx permissions.

    • @Tumperoinen951
      @Tumperoinen951 Před 4 měsíci

      @@WunderTechTutorials I might have the same problem. I was able to add library to jellyfin, but it's not showing the movies I have there. When I looked JF logs it says: System.UnauthorizedAccessException: Access to the path '/video' is denied. /video is the folder where I have my movies on my NAS but also the directory I mounted. LCX terminal shows the mounted media.

  • @StringerBell
    @StringerBell Před měsícem

    Hey is there any particular reason to install Home Assistant on Mini PC instead of the powerful synology NAS you already have, which are always online already?

    • @WunderTechTutorials
      @WunderTechTutorials  Před měsícem

      This Mini PC is a lot more powerful than the Synology is.

    • @StringerBell
      @StringerBell Před měsícem

      @@WunderTechTutorials Well that's kinda obvious, but I'm asking in the context of Home Assistant?
      I'm running Home Assistant for years on my remote offgrid home on raspberry pi 3 (for efficiency reasons) with around 86 automation without ANY ISSUES with speed.
      I'm also running Home Assistant in my main home with around the same amount of automations on my RTX 4090 AI server (I'm using it for other use-cases) and I cannot find absolutely any difference at all.
      Home Assistant is extremely lightweight, I even heard some people run it on Rasberry PI Zero, hence my question ,why would you choose MiniPC to run Hassio instead of the always running Synology NAS which is way more powerful than most of the raspberry pie's (which run almost 84.7% of all Home Assistants in the world?)

    • @WunderTechTutorials
      @WunderTechTutorials  Před měsícem

      @@StringerBell Sorry, I thought you meant the Synology was more powerful than the Mini PC. Mainly for high availability. I configured these Mini PCs in a cluster and if one of them goes offline, the VM will migrate to a separate node and be back online in a minute or so.

  • @RaduRadonys
    @RaduRadonys Před 2 měsíci

    Nice video, but what was the point of creating the Docker container (100), if you run Jellyfin on a separate Ubuntu container (101)? Is the Docker container be used in future videos?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 2 měsíci +1

      Yes, the Docker setup is for the containers I normally run. I plan on making a video in the future explaining what I use in Docker and why.

  • @JackupTraining
    @JackupTraining Před 4 měsíci

    I've bought the similar mini PC, with N100 CPU. I'm planning to install CasaOS on it because I have no experience with proxmox. Looks like a simple option, compared to this. What do you think?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci +1

      If you want simplicity, I don't see any issue with running CasaOS. It's definitely an OS designed with simplicity in mind.

    • @goodcitizen4587
      @goodcitizen4587 Před 4 měsíci +1

      Problem with CasaOS is you still have to install Linux, and then CasaOS on top. And OS updates and networking are not handled by casaOS.

    • @JackupTraining
      @JackupTraining Před 4 měsíci +1

      @@goodcitizen4587 didn't consider that. I'll look into it, how to set up the networking. Thanks!

  • @_AnTCeR_
    @_AnTCeR_ Před 4 měsíci +7

    we want video of containers
    that you use ty!

  • @x988
    @x988 Před 2 měsíci

    Great video, but I'm having the same issue as others have mention. I can see the mount just fine in proxmox, but in jellyfin can only see the media folder and nothing inside it. getting an unauthorized user msg in jellyfin log. I just don't have enough knowledge to troubleshoot this.

    • @WunderTechTutorials
      @WunderTechTutorials  Před 2 měsíci +1

      My only guess is that I am using different NFS settings than others. What are the NFS permission settings you're using?

    • @x988
      @x988 Před 2 měsíci

      @@WunderTechTutorials same ones you have in your written guide :/

    • @WunderTechTutorials
      @WunderTechTutorials  Před 2 měsíci +1

      @@x988 I wish I knew then, I apologize. Those are the exact settings I use and have no problem accessing the data. I'd try and play around with some of those NFS settings and see if turning on different options does or doesn't work - at least it'll help you isolate what it can be.

  • @electricketchup
    @electricketchup Před 4 měsíci

    FYI, you didn't need to make the Jellyfin LXC container privileged. You can do unprivileged, and then modify that container's LXC configuration to map the uid and gid of the /dev/dri devices. That's how I run my N100 with hardware acceleration.

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci +2

      That's how it's done here too, I used the privileged container for the NFS share.

  • @MarkConstable
    @MarkConstable Před 3 měsíci +2

    I was all into this until you got to installing Docker... nope, not going there. Maybe you explained why you wouldn't install the apps directly inside the LXC container but I didn't stick around long enough to hear it.

  • @E_Proxy
    @E_Proxy Před 2 měsíci

    The more i watch videos like this, the more i feel stupid and illiterate. I'd really like to self host some stuff but I'm really struggling even with the basics. I've just tinkered around with my synology NAS but really basic stuff and still struggle (tonight i tried plex before and jellyfin after but nothing works anymore). Do you have any advice for someone who wants to learn the basics (almost idiot-proof) or should i just give up and keep using subscription-cloud services ?

    • @WunderTechTutorials
      @WunderTechTutorials  Před 2 měsíci +1

      I wouldn't quit - I think what it comes down to is a lot of this stuff (hypervisors, Docker, etc) are all things that take some time to figure out but as soon as you get it, you can apply it to a bunch of other things. For example, fully understanding how to implement one Docker container means you probably know how to implement most of them. I would take it one topic at a time, try and understand as much as you can (by viewing different videos to get different perspectives/points) and go from there. Happy to help if you have specific questions!

  • @bhootpurvmanusya
    @bhootpurvmanusya Před měsícem

    lower the bass. not a music channel.

  • @ruwn561
    @ruwn561 Před 4 měsíci +7

    Just run your docker container rootless. Then it won’t make a difference about LXC being priveled or not.

  • @silverismoney
    @silverismoney Před 2 měsíci +1

    it's not recommended to run docker inside an LXC container, the recommendation is to run docker in a VM. You can, of course run it in LXC and in most cases, it will be fine. But it's just not recommended even the proxmox forum has an explanation why. But one big one for me, if the docker lxc container causes a kernel panic, that panics your proxmox hypervisor too and then all your instances are dead. This doesn't happen with a VM. This is true of all LXC containers though, not just ones running docker.

  • @CompellingBytes
    @CompellingBytes Před 4 měsíci

    Too bad raspberry pi’s cpu don’t have on chip encoding/transcoding…
    It’s almost as if intel is about to eat raspberry pi’s lunch…

  • @marp04
    @marp04 Před 4 měsíci

    overkill and over complicated, just install any Linux distro and docker

    • @WunderTechTutorials
      @WunderTechTutorials  Před 4 měsíci +1

      I explained why I picked Proxmox and also said you can use any Linux distro you want.

    • @electricketchup
      @electricketchup Před 4 měsíci

      It's not complicated, and it is worth it if you have the time to learn and try it.

    • @BoraHorzaGobuchul
      @BoraHorzaGobuchul Před 4 měsíci +1

      Proxmox is not that complicated, and def not overkill

    • @marp04
      @marp04 Před 4 měsíci

      @@BoraHorzaGobuchul you definitely need more ram to be able to virtualize something that you can easily run in docker

    • @BoraHorzaGobuchul
      @BoraHorzaGobuchul Před 4 měsíci +1

      @@marp04 the difference is negligible, and you can run docker in proxmox if needed