My wife consumes whatever media I throw at our Plex server and I’d like to stick with it (The tv’s + set top boxes/remote controls are all easy for her to use and stream Plex fine)

I’d grabbed an old work PC I replaced years ago, Windows 10, and tossed a Plex server on it and it’s worked for a long time but recently despite being used for NOTHING but Plex, its bloated itself like most Windows machines and I found Cortana taking 90% CPU (despite being disabled via registry) and some updates failing over and over.

I’d like to replace it (the software) but really no idea where to start, even the most helpful sites are just “use your favorite Unix then install Plex” or “Here are 56 perfect versions of Unix to install for your Plex server”

Honestly I use it for nothing except Plex, is there something easy enough I could look at?

  • jozza@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I recently migrated my Plex server to a box running Proxmox with Plex in an LXC container. Very little resource overhead, and it’s been rock solid ever since. No ragrets.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    IP Internet Protocol
    LTS Long Term Support software version
    LXC Linux Containers
    Plex Brand of media server package

    4 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

    [Thread #426 for this sub, first seen 12th Jan 2024, 20:45] [FAQ] [Full list] [Contact] [Source code]

  • Fashtas@aussie.zoneOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 months ago

    I case anyone is interested, I have Plex up and running now and wife is happy, some feedback on how it went

    Why it went:

    • I needed to install Plex specifically, because all the set-top boxes we use support plex but are fairly locked down. Wife likes their interface and remote control and doesn’t want to change (they are simple to use< Australia Telstra boxes, all free)
    • I choose Mint, I thought I’d prefer a GUI to make the install easier and also wanted to see what Linux desktops were like these days

    How it went

    • Install was trivial when I chose “simple” - I tried advanced to format the two drives I had (which were messy with many partitions I wanted blown away), but when I tried one method it told me I had a Boot drive but no NIF or NEF drive (or something) in order to boot - when I told it to install that type (Found it in the list) it told me I had no boot drive now (Online help for Mint install on Mint web site was out of date and the GUI didn’t match what I saw - a common theme - so made it harder) - Gave up, choose SIMPLE. No idea what it installed but it worked
    • Lot more raw command line that you’d expect from a GUI, In fact not sure the GUI does anything at all. I used the command line commands for almost the entire install
    • The Networking failed and was as bad as Windows off the bat. HOWEVER fixing any networking issues was much easier than windows (I still have network issues in my windows machines from 5 years ago, never could fix them) but the two issues I had with Mint, (1) plex could not be seen (answer: ufw opened one port) and (2) Windows could not see and share a Mint drive (answer: Samba installed with one line and permission set on a folder) were fixed in a few minutes
    • Man you can trash your OS with one command! Reinstalled once because I did a chown on the wrong folder and gave plex the sole ownership of the entire drive whereupon nothing ran anymore!
    • Much faster, better software generally, the trans-coding for videos seems better, the speed of the desktop “server” is faster and Plex is madly playing everything nice and clearly with great response time.
    • Stuff changes a LOT between versions apparently- many suggestions online failed for me because the suggested folders or files no longer existed or had been moved or changed. Likewise Mints own sites screen shots doesn’t match reality.
    • People are confused a lot - One of the common issues is Plex cannot see the folders where your videos are, as Plex runs under its own user - The number of different methods people have used to get around this is outstanding! And every one is thumbed up as “the answer that solved my problems!” From changing the user Plex uses to root or other users that already have permissions, to adding plex ownership of folders or even changing permissions of the folders to either something safe, or just ROOT ROOT ROOT. It is hard to know what you should be doing (Even changing permissions there were apparently at many programs to use, not sure which was the right method… chown, setfacl, chmod (I know they are different, I glanced at the docs but with so much to learn it becomes a bit overwhelming and you just take the first suggestion and stick with it)

    Edit: at any rate, works fine now ty all for suggestions. Now I am getting annoyed I don’t have ALL the services running on the server and am starting to see what else I can run and how… all without interrupting my wifes streaming of course!

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    The simplest solution would be to install Debian. The thing to note is that the Debian installer is designed to be multipurpose so it will default to installing a GUI.

    Assuming you can boot off of a live USB with the Debian installer, you can follow the steps until you get to tasksel software selection from there uncheck gnome and check system utilities and ssh server. Also Debian defaults to separate root and user accounts. I would recommend disabling root (see steps below)

    On a different machine, ssh into the server (I’m using debian.local but you should replace that with a hostname or IP)

    ssh username@debian.local
    

    Once you have access run the following commands to switch to root.

    su - 
    

    Install sudo and give yourself access

    sudo apt update
    sudo apt install sudo
    sudo usermod -aG sudo username 
    

    Now type exit twice to exit the shell entirely. Once that’s done log back in.

    ssh username@debian.local
    

    Lock root

    sudo passwd -l root
    

    Now you have a system to set things up. I would start by enabling automatic updates and installing docker compose. (Docker compose allows you to deploy software very quickly in co trainers via a yaml spec)

    #enable automatic updates
    sudo apt install unattended-upgrades
    sudo dpkg-reconfigure unattended-upgrades
    sudo systemctl start unattended-upgrades #probably not needed
    
    #install updates and install docker and docker-compose
    
    sudo apt update
    sudo apt upgrade 
    sudo apt install docker.io docker-compose
    sudo systemctl start docker
    sudo usermod -aG docker username
    
    

    You will need to log out and then back in to apply the docker permission.

    I hope that gets you started.

    • Fashtas@aussie.zoneOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Thanks, I decided to see what happened with a Mint Install (Before I saw your reply) so as a Toe-in-water thing to learn more about the OS and see what stuff was like. I only Kitty into a Linux server for work and do some basic tasks on it occasionally so was interested.

      An … interesting experience… trivial install, easy enough to understand the UI, entirely failed to get a Plex server working though… Nothing on the network can see it (Local works fine) which doesn’t make much difference because Plex has nothing to server since it can’t see the folder with movies on it due to, I believe, ownership issues (The files are on a portable USB drive)

      Still fiddling but most help documents descend into arcane command line arguments very quickly and are generally “wrong” in that they suggest editing files that don’t exist in folders that aren’t there.

      Still… a learning experience :) (Easy enough to kill it and tried Debian if I can’t work out chown!

      • Fashtas@aussie.zoneOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        Hah! Apparently in the long list of UFW commands I was running, the first one didn’t run or I missed it, can see the server now at least, just need it to see the files!
        Entertaining but the wife is getting impatient :/

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months ago

          Just a disclaimer I have never used Plex has I use Jellyfin.

          For your firewall mint has a GUI for it. I’m not sure why your firewall is even turned on as it should be off by default.

          • Fashtas@aussie.zoneOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months ago

            Could be, dunno yet how to tell these things but the issue was a port was not open. Once opened the server was seen fine!

  • admin@lemmy.mohammadodeh.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    I’ve got a RaspberryPi 4B running dietpi and hosting plex with a debrid service. The setup is very flawless and easy to maintain.

    Also very minimal footprint