Got the email about upgrading from 1.10 so I downloaded the latest deb files for Ubuntu 18.04 LTS. Installation failed around 16%. This is the command line error message? Any suggestions? TIA
PlexMediaServer install: Pre-installation Validation complete.
dpkg: error processing archive plexmediaserver_1.19.5.3112-b23ab3896_amd64.deb (–install):
new plexmediaserver package pre-installation script subprocess returned error exit status 1
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /etc/systemd/system/plexmediaserver.service.
Processing triggers for libc-bin (2.27-3ubuntu1.2) …
Errors were encountered while processing:
plexmediaserver_1.19.5.3112-b23ab3896_amd64.deb
No .log file, not even when I reran the installer manually.
Took your advice regarding system health. Did a reformat and clean minimal install of Ubuntu 20.04 LTS. The system is a six year old Asus Chromebox whose only task is to run Plex Media Server and Transmission 24/7 with all libraries located on a NAS. The PMS 1.19 now installed without any issues.
Exact same issue with it failing at 16%. I hadn’t considered running the update from command line, but gave that a try and get the identical error. I used to use this machine for Plex and a website, but now it’s just for plex. Maybe I need to bite the bullet and reinstall too.
If Ubuntu 18.04 is having the same downstream problems as Debian 9 & 10 have then I have the solution for this already in the queue but we can work something out until it gets released by Engineering.
Notice the error text? It should be self explanatory.
PlexMediaServer install: Only “/etc/systemd/system/plexmediaserver.service.d/override.conf” is supported.
You have the file “/etc/systemd/system/plexmediaserver.service” which you customized at some point or is this residual from sometime early in Ubuntu 16’s existence when they put the files in the wrong place. (systemd default is in /lib/systemd/system/plexmediaserver.service)
The easy solution here is just as I report in the error text.
If you have any customizations for the runtime Environment you wish to keep, create the file /etc/systemd/system/plexmediaserver.service.d/override.conf and place those singular items (User, Group, APP_SUPP_DIR, TMPDIR, and/o UMask) in the override.conf
What’s important here is that you allow the service to run as I configured it to work with systemd. You’re completely free to specify (override) the default variable values for the rest.
If you need help figuring out what to keep,
Scroll down to “Overriding the Environment” and remember you can specify User= and Group= as well.
If you need help customizing, please show me what you have and I’ll write it for you.
I started using Plex at least 6-7 years ago, so I’m not sure what I would have customized. From what I’m seeing in my file, the only thing I can think I might have ever customized was “User=plex” and “Group=plex”. What would a clean install look like for this file?
My 18.04 system had been upgraded from an original 16.04 clean reinstall. Apart from some third party plugin installs (most now obsolete) I made no modifications. So files in the wrong place from that setup may indeed have broken the 1.19 PMS install.
For reference, you can look at file /tmp/plexinstaller.log. (presuming you haven’t rebooted yet)
In there you will find everything the installer gathered about the system during installation. It’s a nice summary for you and a great debugging tool for me if things ever fail miserably.