I run my Plex Media Server on Ububtu 16.04 LTS. My Plex library databse is located on another drive from the default install. The entry in /lib/systemd/system/plexmediaserver.service looks like this:
[Service]
Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/rhino9094/Plex/Library/Application Support”
I download the provided Plex update .deb files from my Plex Media Manager when they become avaialble, and use a gui based installer called GDebi to install them. I do this because I’m not fluent on CLI and it is just quicker and more convenient for me to do so.
On my previous install of Ububtu 12.04 LTS, occasionally I would be prompted that a new config file was available and I could ignore it. Then the path to my library wasn’t overwritten. On most updates I got no such prompt but the update still ignored the fact that my library files were not in the default path.
On the current version, I get no warning and the plexmediaserver.service file is overwritten with the default path to the library. If I forget to stop the “plexmediaservice” before I run the update, (something I didn’t need to worry about in the past) I have to then stop the service. Sudo edit the plexmediaserver.service file to correct the path. Reload the systemctl daemon and then restart the service. I then must go to the Plex Media Manager and remove the new server that was found after the update ran.
I simply want to be able to update Plex as I did in the past and have the update ignore the fact that my database is located elsewhere. I worked flawlessly on 12.04 LTS, and now on 16.04 it is a mess.