Previous Article

Plex Media Server Cent OS Update

Next Article

I've been using Plex Media Server now for nearly a year and unfortunately if you run the system through Cent OS command line there is no automatic way of updating it. This little guide will go through the process of ssh'ing into your media server, downloading the latest version and then manually installing it.

To see which version of Plex you are running simply log into your web interface for your media server and go to Settings > Server > General you will see something similar to the screenshot below.

Plex Media Server Server Settings - General

Now check the Plex website to see if there is a newer version available for Cent OS. If there is then it's time to ssh into your media server.

ssh USER@SERVERADDRESS

Where USER is the user of your media server and SERVERADDRESS is the IP or domain name of your media server. Now we need to navigate to a directory that the update can be downloaded into. I download mine into /home/install using this example the code would be.

cd /home/install/

Now we need to download the update, copy the url from the plex website, as of today that would be http://downloads.plexapp.com/plex-media-server/0.9.9.12.504-3e7f93c/plexmediaserver-0.9.9.12.504-3e7f93c.x86_64.rpm now in your ssh terminal type the following

wget http://downloads.plexapp.com/plex-media-server/0.9.9.12.504-3e7f93c/plexmediaserver-0.9.9.12.504-3e7f93c.x86_64.rpm

Were the filename is the link you just copied from Plex. You should then see the download begin, if it doesn't work double check your link.

After is has completed you need to shut down the Plex service running on the media server. This is done with the following:

service plexmediaserver stop

After a couple of seconds you should see something similar to the following

Plex Media Server stopped via command line in Cent OS

Now that Plex is stopped we can run the manual install, run the following command (where the filename is the same as the file you downloaded from plex).

yum localupdate plexmediaserver-0.9.9.12-504-3e7f93c.x86_64.rpm

After a minute the update should be installed and you are ready to restart your server. Use the following command:

service plexmediaserver start
Plex Media Server started via command line in Cent OS

Congratulations, Plex is updated to the latest version.

Avatar of Clive Walkden

Clive Walkden

Posted:

Latest Articles

Linux command line tools, installations etc

Linux

How to Install NordLayer VPN Client on Ubuntu 20.04 and Connect to a Virtual Network

A simple to follow installation guide for NordLayer VPN

MySQL usage, tweaks and learnings

MySQL

Mastering MySQL Database Imports on Linux

Learn efficient ways to import MySQL databases on Linux using the mysql command-line client. Explore the --source option and < operator for seamless data migration. Master MySQL imports on Linux with our comprehensive guide.

DevOps principles and tool usage

DevOps

Mastering SSH Key Conversions for DevOps

A guide to convert SSH keys from one version to another using Linux CLI