I recently upgraded from Mint 17.3 to 18. Unfortunately, my PMS was broken during the upgrade. As my PMS uses a library location different that the default, I decided to uninstall and reinstall PMS and just reconfigure. I uninstalled PMS and removed all the old configuration files. Upon trying to install the latest version I got the following:
sudo dpkg -i plexmediaserver_1.2.3.2914-1ff0f18_amd64.deb
Selecting previously unselected package plexmediaserver.
(Reading database ... 350716 files and directories currently installed.)
Preparing to unpack plexmediaserver.deb ...
Unpacking plexmediaserver (1.2.3.2914-1ff0f18) ...
Setting up plexmediaserver (1.2.3.2914-1ff0f18) ...
Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /lib/systemd/system/plexmediaserver.service.
Job for plexmediaserver.service failed because the control process exited with error code. See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.
dpkg: error processing package plexmediaserver (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for systemd (229-4ubuntu11) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
plexmediaserver
It seems that the default library directory of '/var/lib/plexmediaserver/Library/Application Support'
was not being created at all. This causes PMS to fail to startup. To fix this issue I created a symlink at '/var/lib/plexmediaserver/Library/Application Support'
pointing to my custom library location. This fixed my issue.
Just wanted to post this for the odd person with a similar issue in the future!