Upgrade on linux process

Been running PMS on a Mac for a few years and upgrading is simple. I am warned in the GUI that there’s an update available and I can then simply tell it to download and install.

I am now moving to a Debian linux based server (currently both PMSs still running) but although PMS linux warns me in the same way (and at same time as on Mac which is good to see), I am unable to upgrade in-place. I have to open up an SSH terminal session and upgrade from the command line (apt … etc).

I have no problem doing this, but I don’t see why I have to take this roundabout route to upgrading and it’s another odd discrepancy between MacOS and linux versions of PMS. The first and primary reason to switch to using a linux server for PMS is that it runs as a daemon which is required for a headless server, whereas this is not possible on a Mac (I have heard of it being done, but even more reports of it being impossible due to requiring access to a display). Anyway, with linux PMS, I can now run a true headless server, but with a poor way to have to upgrade PMS each time.

Can anyone explain (i.e. actually justify) why PMS on linux is unable to upgrade itself? How hard could it be to make this process on linux as easy to perform as on the Mac?

Plex is a 3rd party repository, and in general Linux distributions aren’t going to add 3rd party repositories for you just because you manually installed software. For many (myself included) this is preferred behavior. Linux is a philosophical difference from more end user oriented OSes. It doesn’t just give you more control, it expects you want more control.

If you want Plex to automatically update then follow the instructions here: Enable repository updating for supported Linux server distributions | Plex Support

I’m not sure of the point of your reply. I was using unix before there even WAS linux, so I am perfectly comfortable with the command line (as I thought I said). I cannot really see the point of your philosophising about the attributes (or otherwise) of linux.

Are you actually suggesting that the entire Plex GUI is unnecessary on linux, as ‘real’ users just use the command line? No, it would be nonsense to suggest such a thing wouldn’t it.

The fact remains that to upgrade in-place, at the time of the notice of a new release is more convenient and so preferable to having to start an entirely new process elsewhere in order to accomplish what otherwise could be done with just a few clicks.

Not a major issue admittedly, but just seems like another loose end that needs tidying.

You can setup a cron job that run every night to check if there’s a update to install.
It can be done easily with that script : GitHub - mrworf/plexupdate: Plex Update script to simplify the life of Linux Plex Media Server users.

Ah yes, good idea. Hadn’t thought of that. Could write my own script, but will check out the one mentioned. Beats having to write my own. :slightly_smiling_face:

Thanks.

I wasn’t questioning your ability to use the command line, but in your original post you were asking Plex to make their software initiate a superuser level action on the server from a remote web interface. I can only speak for myself, but that isn’t something I want as a feature.

I never made any suggestion in any way regarding the lack of a need for the Plex GUI, so I’m not sure how that was interpreted. The Plex Web GUI is for configuring the Plex Media Server and certain Plex functions, and a web implementation is an excellent choice for what they have implemented.

If I may shed some light here?

  1. PMS runs as a non-privileged user on Linux (user plex:plex)
  2. It is not a member of wheel.
  3. Regardless what the gui reminds of (which works for Windows and Mac), it won’t work yet for Linux (we do have some ideas but nothing 5000% solid)
  4. root intervention is required whether via bash manually or cron.
1 Like

Good to hear you agree it would be good to have and are thinking about it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.