I am having the same issue as above (never had the issue over the last 4 years until this version) and I don’t understand the solutions as the Plex server was built for me and all I do everytime a new version needs installing is this:
Wayne,
I’m going to need more information than what you provided. There were a few issues in the thread you had posted in – all of which were resolved.
I moved you here to avoid further disturbing an already-solved thread.
I understand you didn’t build your PMS system. This is going to be difficult because Linux is not a forgiving OS and our time to teach / support basic Linux admin is very limited.
Please tell me / show me what is happening as best you can. If there’s a /tmp/plexinstaller.log file, please include it here for me to review.
Thanks for sharing the console output. You need to change exactly what the output shows.
In the thread you first posted, PLEX_MEDIA_SERVER_TMPDIR was a mistake I had made very early in the development of the Linux packaging support. I had included one variable name which wasn’t supported by Engineering in PMS itself.
The solution for you is to edit /etc/default/plexmediaserver (notice it’s listed as the “Config file used”)
Change that variable from PLEX_MEDIA_SERVER_TMPDIR to be (your choice of) TMPDIR, TEMP, or TMP as the variable name to use.
Now, when you install PMS, it will accept the variable name you’re using in your configuration and show that targeted temporary directory as intended.
I hope you’re well, I have now edited the information you recommended, the latest Plex would not download still so I also updated the Ubuntu software to:
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-112-generic x86_64)
and try to update my Plex system again after and got this:
Wayne,
The error message itself is telling you what the problem is .
There exists a file plexmediaserver.service in /etc/systemd/system
It’s left over from when Ubuntu made the mistake of placing them there.
The correct location should be /lib/systemd/system (systemd standard)
The installer detected it, might contain customizations, and because it’s in the wrong location (not-maintainable), is pointing out the misconfiguration.
This new installer we’ve moved to is intelligent. It’s purpose is to spot and report errors to you so you can fix them. The goal is to always guarantee PMS has a valid host configuration.
To resolve this:
Compare the file /etc/systemd/system/plexmediaserver.service with the master copy in /lib/systemd/system/plexmediaserver.service
If you find any differences in the Environment variables which are customizations for your installation, transfer those customizations to /etc/systemd/system/plexmediaserver.service.d/override.conf
After transferring the customizations, remove the old file from /etc/systemd/system.