Please check in /etc for a plexmediaserver.service file. It would be under /etc/systemd somewhere if it exists.
sudo journalctl -xe | grep -i plex
will tell us a lot.
We are seeing where some of the Upstart upgraded systems (Ubuntu 15) and early Ubuntu 16 systems had the service file in /etc/systemd/system/plexmediaserver.service.
If any service files for Plex exist in /etc it will most likely prevent it from starting because the variable LD_LIBRARY_PATH changed.
The distributed version is in /lib/systemd/system/plexmediaserver.service
If you wish to have customizations, please let me know and I will assist if needed.
$ sudo journalctl -xe | grep -i plex
Feb 08 17:29:58 raph systemd[1]: Starting Plex Media Server...
-- Subject: Unit plexmediaserver.service has begun start-up
-- Unit plexmediaserver.service has begun starting up.
Feb 08 17:29:58 raph systemd[1]: Started Plex Media Server.
-- Subject: Unit plexmediaserver.service has finished start-up
-- Unit plexmediaserver.service has finished starting up.
Feb 08 17:30:37 raph systemd-udevd[2685]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:37 raph systemd-udevd[2686]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:39 raph systemd-udevd[2895]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:52 raph systemd-udevd[3110]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:52 raph systemd-udevd[3144]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:53 raph systemd-udevd[3178]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:53 raph systemd-udevd[3179]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:53 raph systemd-udevd[3236]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 08 17:30:53 raph systemd-udevd[3237]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Having examined the machine together, @raphattack and I were able to determine the root problem to be a changed UID/GID for /var/lib/plexmediaserver and its contents.
We are uncertain where that is but when downgrading to PMS 1.14.1.5488, we discovered it would not run either meaning the problem originated elsewhere.
So I have a file here dated this Dec 14 2018
$ ls -altrh /lib/systemd/system/plexmediaserver.service
-rw-r–r-- 1 root root 768 Dec 14 13:11 /lib/systemd/system/plexmediaserver.service
That sets the Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
You mentioned “This is not how it’s distributed” Well after apt-get remove plexmediaserver, and basically cleaning up a lot of remenants, the dpkg -i ./1.15 isn’t idempotent enough to remove this veriable. Should I presume this var is /var/lib/plexmediaserver instead of /usr/lib/?
As of now, 1.14 is working wth the above. Any insight on the recommended $ENV_VAR for PMS_HOME is sincerely appreciated.
I have been reading patiently on the whole 1.15 on Ubuntu threads, because I finally regressed back to 1.14 after much consternation. I do appreciate Chuck’s knowledgeable help and assistance (and tips/howtos for Linux) I would have done some log captures but my setup is too much a Rube Golberg’s machine to qualify as a clean/semi clean state. However. I just wanted to express from the field, I’ve never had a version go tts up as fast and as frequent as the last OSX debacle and had to regress two versions back as well. Some things I did notice, (since I have 2 servers with reverse DNS enabled. The fancy proxying behind the scenes does not like my setup, and sht the bed probably every 15 minutes until I cleaned, and reverted back to 1.14.1.5488