My long term plan is to re-install my physical PMS server but as I am looking to switch distributions I am using a virtual machine to go through the motions and see how things work out.
I've opted to give Lubuntu 15.04 (64-bit) a try and things were going well until I tried to install PMS.
In hindsight, I'm kicking myself for not using the snapshot feature to take an image of the virtual machine, but all I will have lost (if I can't resolve this) is time.
I downloaded the latest 64-deb package and installed it. That seemed to go OK, but the first thing I noticed upon trying to access the web GUI was the absence of the setup wizard. I tried reloading the web GUI a couple of more times and still no setup wizard. To clarify there I did see a Plex GUI, but the setup wizard didn't start.
I decided to try again with the installation. I ran -
sudo dpkg -r plexmediaserver
sudo rm -rf /var/lib/plexmediaserver
I rebooted the machine (just to make sure there were no PMS-related executables still running) and re-ran the installer.
This time I noticed new messages during the command line installation process:-
sudo dpkg -i plexmediaserver_0.9.12.1.1079-b655370_amd64.deb
Selecting previously unselected package plexmediaserver.
(Reading database ... 145329 files and directories currently installed.)
Preparing to unpack plexmediaserver_0.9.12.1.1079-b655370_amd64.deb ...
Unpacking plexmediaserver (0.9.12.1.1079-b655370) ...
Setting up plexmediaserver (0.9.12.1.1079-b655370) ...
Job for plexmediaserver.service failed. 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 ureadahead (0.100.0-19) ...
Processing triggers for systemd (219-7ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Errors were encountered while processing:
plexmediaserver
I ran the systemctl and journalctl commands mentioned and they returned the following:-
systemctl status plexmediaserver.service â plexmediaserver.service - Plex Media Server for Linux Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit) since Wed 2015-06-03 14:24:01 BST; 3s ago Process: 1818 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=1/FAILURE) Jun 03 14:23:56 Lubuntu-Plex systemd[1]: plexmediaserver.service: control process exited, code=exited status=1 Jun 03 14:23:56 Lubuntu-Plex systemd[1]: Failed to start Plex Media Server for Linux. Jun 03 14:23:56 Lubuntu-Plex systemd[1]: Unit plexmediaserver.service entered failed state. Jun 03 14:23:56 Lubuntu-Plex systemd[1]: plexmediaserver.service failed. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: plexmediaserver.service holdoff time over, scheduling restart. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: start request repeated too quickly for plexmediaserver.service Jun 03 14:24:01 Lubuntu-Plex systemd[1]: Failed to start Plex Media Server for Linux. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: Unit plexmediaserver.service entered failed state. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: plexmediaserver.service failed.
journalctl -xe Jun 03 14:23:56 Lubuntu-Plex systemd[1]: plexmediaserver.service: control process exited, code=exited status=1 Jun 03 14:23:56 Lubuntu-Plex systemd[1]: Failed to start Plex Media Server for Linux. -- Subject: Unit plexmediaserver.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit plexmediaserver.service has failed. -- -- The result is failed. Jun 03 14:23:56 Lubuntu-Plex systemd[1]: Unit plexmediaserver.service entered failed state. Jun 03 14:23:56 Lubuntu-Plex systemd[1]: plexmediaserver.service failed. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: plexmediaserver.service holdoff time over, scheduling restart. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: start request repeated too quickly for plexmediaserver.service Jun 03 14:24:01 Lubuntu-Plex systemd[1]: Failed to start Plex Media Server for Linux. -- Subject: Unit plexmediaserver.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit plexmediaserver.service has failed. -- -- The result is failed. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: Unit plexmediaserver.service entered failed state. Jun 03 14:24:01 Lubuntu-Plex systemd[1]: plexmediaserver.service failed.
Is it start from scratch time? or is there something I can do to fully remove the failed PMS installation which will allow me to re-run the installer (hopefully with success) without having to trash the entire virtual machine?
Thanks in anticipation.
-Phil.