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:
Since Plex is asking us to change our systemd directory to a different structure than is currently used on the system (creating new service sub-directories that are not currently present), it would be nice if the message was a bit more specific.
Is Plex telling us to copy plexmediaserver.service to ./plexmediaserver.service.d/override.conf and then delete the original plexmediaserver.service file? This will make Plex happy? But what does it do to the systemd service running on our computer? Will this now-missing service file hose that up? Not everybody is a systemd expert - personally, I haven’t played with it for years, what little I knew - very little - has been mostly forgotten.
I wouldn’t say that “the error message includes the remedy”. I would say that, best case, it “hints at the remedy”. Leaving people who are not terribly familiar with systemd to fend for themselves. When the error message says to transfer all your customizations to an override.conf file, is that talking about only moving PART of the unit file to override.conf? Just the customization part? What are considered the customizations then? I didn’t create this unit file or modify it, evidently Plex did during a previous install.
Thanks. That explanation helps. You mentioned that /lib is the correct location now. I do indeed have a plexmediaserver.service file in that filesystem. And I also have the questionable one in the /etc filesystem. I will delete/rename the /etc version. Do the override.conf files go in the /lib filesystem or in the /etc/filesystem? The error message from the Plex installer does not mention /lib that I can see. It only talks about /etc. I did not make any customizations to the server file. Not manually, anyway - unknown if Plex customized the file on my behalf based on changes I might have made during the original install or via the web GUI.
If you’ll show me what you have in /etc/systemd/system/plexmediaserver.service,
I’ll craft the file which goes in /etc/systemd/system/plexmediaserver.service.d/override.conf
Plex doesn’t modify any system configuration files on your behalf.
It’s setup to be an atomic package. By keeping it this way, when you remove and purge, there is no trace of it afterwards. It’s very easy to delete manually if needed.
Thanks. I already quoted that in my initial post to this thread. See above, first post in this thread. It’s in the second scrolling box that starts with “cd /etc/systemd/system” at the top (this second box is below the first box containing dpkg and the Plex install errors). Down where it says “cat plexmediaserver.service” That’s the file in /etc/systemd/system/