Override.conf issue when running apt-get upgrade from Ubuntu Server 18.04.4 LTS

Hello!

I am attempting to upgrade my Plex version from 1.10.1.4602 to 1.19.1.2645

When I am logged into the Plex web and look at the server info, it says there is an update available, and next to that it says please install manually.

I have attempted to install the update both manually and via apt-get upgrade and both methods yield the following result:

Preparing to unpack plexmediaserver_1.19.1.2645-ccb6eb67e_amd64.deb ...
Removed /etc/systemd/system/multi-user.target.wants/plexmediaserver.service.
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Systemd configuration error detected:
PlexMediaServer install: File "/etc/systemd/system/plexmediaserver.service" is leftover from an earlier Debian/Ubuntu bug.
PlexMediaServer install: Please transfer any customizations \(APP_DIR, User, Group, TMPDIR, and/or UMask\) to a proper "/override.conf"
PlexMediaServer install: and reinstall.
PlexMediaServer install: Unit override "/etc/systemd/system/plexmediaserver.service" found.
PlexMediaServer install: Only "/etc/systemd/system/plexmediaserver.service.d/override.conf" is supported.
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation failed.
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install:   Installation Type:  Update
PlexMediaServer install:   Process Control:    systemd
PlexMediaServer install:   Plex User:          plex
PlexMediaServer install:   Plex Group:         plex
PlexMediaServer install:   Video Group:        video
PlexMediaServer install:   Metadata Dir:       /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:     /tmp
PlexMediaServer install:   Lang Encoding:      en_US.UTF-8
PlexMediaServer install:   Transcoding HW:     Found
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.
dpkg: error processing archive plexmediaserver_1.19.1.2645-ccb6eb67e_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) ...
Errors were encountered while processing:
 plexmediaserver_1.19.1.2645-ccb6eb67e_amd64.deb

Any assistance would be greatly appreciated! Not really sure what I’m doing wrong here…

Server Version#: 1.10.1.4602
Player Version#:

You’re not doing anything wrong.
It’s what Ubuntu did wrong.

They put the service file in /etc/systemd/system when it belongs in /usr/lib/systemd/systaem. They later corrected it but left the file sitting there.

If you’ve customized it, you need to create a regular systemd “override.conf” file with your customized settings. If not, just delete it.

(I wrote the installer. It’ll do the rest of the work for you).

Hi ChuckPa,

Thanks for the quick response!

Another quick question.

So, IF I set up an override.conf file, which I don’t believe I did, but I may have? Where would I find it on the older version of Plex that I have installed?

Also, what exactly am I deleting? /etc/systemd/system/plexmediaserver.service ? And just let the installer recreate the plexmediaserver.service file in /usr/lib/systemd/system/ ?

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