These are my notes on using Plex on Ubuntu.
I upgraded Ubuntu from 13.10 to 14.04 and my Plex media server wouldn't restart. I couldn't find a good source for information on the Ubuntu version of Plex so here are some notes.
When I login to my http://plex.tv account, it says Server unavailable. The next step is to try and directly connect to the plex web server on my local system.
http://<ip-addr>:32400/web/index.html
I received no response from the server.
Use the Ubuntu service command to check on the status and to start/stop the plex server:
sudo service plexmediaserver status
sudo service plexmediaserver start
Plex still wasn't starting for me.
I first looked in the system logfile - /var/log/syslog. I found an error "terminated with status 2" and "plexmediaserver respawning too fast, stopped".
There's a good article here on the plex logfiles which points out that the Plex logfile is here:
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/
I ran the start command again and none of these logfiles was updated.
Plex Configuration File
The Plex configuration file is here.
/etc/default/plexmediaserver
I give up. I'm going to do a fresh install. Follow the installation instructions here.
Download the latest plex distribution for linux from https://plex.tv/downloads.
Execute the command:
sudo dpkg -i plexmediaserver_.deb
After that, I was back up and running again and my library was still there.
There's a nice plex update script for Ubuntu on GitHub by mrworf. To install the script:
bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)"
To run the script:
/opt/plexupdate/extras/installer.sh