Update Plex on Ubuntu Server

server-linux

#1

Greetings!

 

I'm wondering how I can update my version of Plex on a headless Ubuntu Server?

 

Having issues with it not running automatically when the server is rebooted, have to manually invoke the service.  Hoping the update will fix the problem.

 

Thanks all.


#2

Greetings!

I'm wondering how I can update my version of Plex on a headless Ubuntu Server?

Having issues with it not running automatically when the server is rebooted, have to manually invoke the service.  Hoping the update will fix the problem.

Thanks all.

sudo apt-get update && sudo apt-get upgrade


#3

Hey guys having problems doing a sudo apt get update && sudo apt get upgrade.  I sure its something obvious but I just can't wrap my head around it.  Appreciate the help.  You guys are great!  Heres the message I get:

W: GPG error: http://plex.r.worldssl.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 43525C28E533491A
 

#4

Purge the PPA from your source list and re-download. Sometimes the KEY's "break" and this happens. 

sudo apt-add-repository --remove ppa:plexapp/plexht && sudo apt-add-repository ppa:plexapp/plexht

Then re-do your update/upgrade routine.

Good luck!


#5

I found this helped sold that exact problem.

For Ubuntu installation, add this to your /etc/apt/sources.list file:

 

sudo nano /etc/apt/sources.list

(type in)

deb http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo lucid main

(Then save and exit (Ctrl + X)

Then add the repository key:

$ wget http://plexapp.com/plex_pub_key.pub
$ sudo apt-key add plex_pub_key.pub
$ rm plex_pub_key.pub

Then install with the following command:

$ sudo apt-get update

Problem with updating error solved.

Regards

Dave


#6

I found this helped sold that exact problem.

For Ubuntu installation, add this to your /etc/apt/sources.list file:

 

sudo nano /etc/apt/sources.list

(type in)

deb http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo lucid main

(Then save and exit (Ctrl + X)

Then add the repository key:

$ wget http://plexapp.com/plex_pub_key.pub
$ sudo apt-key add plex_pub_key.pub
$ rm plex_pub_key.pub

Then install with the following command:

$ sudo apt-get update

Problem with updating error solved.

Regards

Dave

I did this and I got the following errors:

W: Duplicate sources.list entry http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo/ lucid/main amd64 Packages (/var/lib/apt/lists/plex.r.worldssl.net_PlexMediaServer_ubuntu-repo_dists_lucid_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo/ lucid/main i386 Packages (/var/lib/apt/lists/plex.r.worldssl.net_PlexMediaServer_ubuntu-repo_dists_lucid_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Did I do something wrong ^^


#7

I'm getting the same as DaLuke.


#8

I removed the deb http://plex.r.worlds...ver/ubuntu-repo lucid main in /etc/apt/sources.list and installed de .deb file manually, that solved almost everything and now I'm up2date with my server.


#9

W: Failed to fetch http://www.plex.r.worldssl.net/PlexMediaServer/ubuntu-repo/dists/lucid/Release.gpg  Something wicked happened resolving 'www.plex.r.worldssl.net:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.plex.r.worldssl.net/PlexMediaServer/ubuntu-repo/dists/lucid/main/binary-amd64/Packages  Something wicked happened resolving 'www.plex.r.worldssl.net:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.plex.r.worldssl.net/PlexMediaServer/ubuntu-repo/dists/lucid/main/binary-i386/Packages  Something wicked happened resolving 'www.plex.r.worldssl.net:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.plex.r.worldssl.net/PlexMediaServer/ubuntu-repo/dists/lucid/main/i18n/Translation-en_GB  Something wicked happened resolving 'www.plex.r.worldssl.net:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.plex.r.worldssl.net/PlexMediaServer/ubuntu-repo/dists/lucid/main/i18n/Translation-en  Something wicked happened resolving 'www.plex.r.worldssl.net:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.
 

Getting that lovely error, too. Second time I've had to manually install the latest release. :/


#10

@Froberg & @DaLuke

Sorry for the delay in replying I wasn't following the post

For some reason plex is not updating for me,


Quite annoying, the code I posted before adds the plex repo the the ubunto repo.

Thus the Ninjas code "sudo apt-get update && sudo apt-get upgrade" should work.

It clears up the public key issue.

I know because I used it as an apt-install plex (and it worked)

deb http://plex.r.worldssl.net/ PlexMediaServer/ubuntu-repo lucid main (remove space after net/)

However it is still not "auto" updating -

The original link I found was http://wiki.plexapp.com/index.php/Downloads#Ubuntu_.2832-bit.29_-_PMS

My own PLEX is listed as 0.9.7.22 although the latest is 7.28 meaning mine is not auto updating either.

Maybe a Ninja might have a quick look at this.

UPDATE- after taking the time to read the forums and auto update feature seems to be broken for now,

see - http://forums.plexapp.com/index.php/topic/78362-ubuntu-repo-still-at-09722/

The link for the wiki.plexapp should help.

If not, let me know and ill keep looking.

Regards

Dave


#11

this thread is old now. The apt-get upgrade doesn't work anymore as it points to an old, non-maintained source of Plex media server. You need to download the DEB file and install it manually - each time.

  1. Go to the download page (toggle plex pass releases if you have access and want the latest)

  2. Right click on the ubuntu server version (32/64 depending on your release)

  3. Copy the link location by right clicking.

  4. Log into your plex servers terminal.

  5. in a temp folder (defaults to your home) type wget then paste the url and hit enter.

  6. type ls to see the name of the file.

  7. type sudo dpkg -i [name of the file]

  8. Wait for the upgrade to complete.


#12

this thread is old now. The apt-get upgrade doesn't work anymore as it points to an old, non-maintained source of Plex media server. You need to download the DEB file and install it manually - each time.

Is there no way to do it from the web interface or have it update automatically?


#13

As far as I know, we still have to do this manually. I'm going to try this method when I can:
http://askubuntu.com/questions/372153/using-dpkg-to-install-upgrade-and-dist-upgrade-packages

It's the third one down or so where they talk about putting the .deb file in /var/cache/apt/archives and using apt command to upgrade.


#14

Its really not hard to do without the ppa (it's not maintained,that's why it's old).

wget https://downloads.plex.tv/plex-media-server/0.9.9.14.531-7eef8c6/plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb
sudo dpkg -i plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb

The first command will download the file to the current directory you are in, the second will install the package you have download. The above will download the ubuntu 64 bit for 0.9.9.14. If you need a different version, simply go to downloads and find the url of the package you want to download.


#15

Its really not hard to do without the ppa (it's not maintained,that's why it's old).

wget https://downloads.plex.tv/plex-media-server/0.9.9.14.531-7eef8c6/plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb
sudo dpkg -i plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb

The first command will download the file to the current directory you are in, the second will install the package you have download. The above will download the ubuntu 64 bit for 0.9.9.14. If you need a different version, simply go to downloads and find the url of the package you want to download.

Easy as pie - thanks adamskoog  :)


#16

As far as I know, we still have to do this manually. I'm going to try this method when I can:
http://askubuntu.com/questions/372153/using-dpkg-to-install-upgrade-and-dist-upgrade-packages
It's the third one down or so where they talk about putting the .deb file in /var/cache/apt/archives and using apt command to upgrade.

Well there appears to be a new option in 9.10.3 that allows auto search and download updates (General -> "Search for and download Plex Media Server updates automatically")! Not sure if it works yet or if it even works for PlexPass versions since it give no option to select branch.


#17

I'm curious about the new "Search for and download Plex Media Server updates automatically" option as well... Is this for actually updating Plex? Or for managing what was always automatic in bundle/plugin updates?


#18

So what's going on with this option? I see it has been renamed to "Automatically check for updates". Does that mean it does not actually perform the update, but just gives us a reminder when a new version is detected? So it's a fairly safe option to leave on? That's why I disabled it previously...the old name gave an indication it was actually going to do some type of update, and I didn't want Plex auto updating itself to a PlexPass release with possible issues.

Also I'm not crazy right? This feature wasn't available just a few versions ago right? It just seems weird that it's not mentioned at all in the PMS change log. Or I really have never seen it until now, and I always click Show Advanced when I'm looking at the settings..


#19

Looking to see what's up with this option as well.  I have it checked and it has not updated (I just manually updated to the latest version).  I don't see anywhere it would store the downloaded update file either.  Is there no documentation on this feature at all?


#20

Its really not hard to do without the ppa (it's not maintained,that's why it's old).

wget https://downloads.plex.tv/plex-media-server/0.9.9.14.531-7eef8c6/plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb
sudo dpkg -i plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb

The first command will download the file to the current directory you are in, the second will install the package you have download. The above will download the ubuntu 64 bit for 0.9.9.14. If you need a different version, simply go to downloads and find the url of the package you want to download.

Great post, adamskoog. That did the trick!