7 Oct 2014

Plex on Ubuntu Cheatsheet

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.

Plex Server Running?

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.


I received no response from the server.

Plex Service Start / Stop / Status

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.

Log Files

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.



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.

Update Plex

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: