How to manually update PMS 0.9.16.6 on a RaspberryPi with Raspbian

Dear Plex-Team,
dear Plex-Users,
I run Plex Media Server in Version 0.9.16.6 on an RaspberryPi with Raspbian (Raspbian GNU/Linux 8
\l).
PMS tells mit to manually update and offers a link to a download, which I have downloaded (to my client).
How to get this downloaded file onto the RPi? In which directory?
How to perform a manual update?
Will my settings be lost?

Thanks in advance and kind regards
Daniel

@uglymagoo

Care to step in?

Hi, if you installed plex from “deb https://dev2day.de/pms/ jessie main” (the way that most tutorials sugest) just running “sudo apt update && sudo apt upgrade” will update your plex server, there is no need to manually dowload the new versión, the installer take care of that.

Sorry, that doesn´t work.

the update command followed by the upgrade command results in:

Fetched 19.5 MB in 21s (909 kB/s)
Reading package lists… Done
W: Duplicate sources.list entry http://mirrordirector.raspbian.org/raspbian/ jessie/main armhf Packages (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://mirrordirector.raspbian.org/raspbian/ jessie/non-free armhf Packages (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_non-free_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems
root@greip:~# sudo apt upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I edited the sources.list removed the entries and entered the one you told me, but no effect.

@dco87 I never released 0.9.16.6 as a binary package, so I suppose you installed this update manually 2 years ago and followed some random Internet tutorial. Your best chance right now is to migrate your system to my package. If your meta data is already stored in /var/lib/plexmediaserver just remove the old binaries and install my plexmediaserver-installer (take a Look at my signature). If you require more help you have to give us the link to the tutorial you used to install plex in the first place.

I indeed set it up in May 2016 according to a post of biglesp in Raspberry Pi Projects (www.element14.com). Unfortunately the post itself has been removed. Luckily I converted the entry to a pdf, of which I post an excerpt:

Setup our software
Our next goal is to install the software necessary for our Pi.
First we update our list of available software and then upgrade the software. We will use an operator to join two commands together. The first command updates the list of software and if that completes successfully, then the last part of the sequence, a software upgrade is started and any suggested files are auto installed.
In the terminal type.
view plain

  1.   sudo apt-get update && sudo apt-get upgrade -y
    

Now we are going to upgrade the distribution, Raspbian, software. To ensure that our operating system is fully up to date. In the terminal type.
view plain

  1.   sudo apt-get update && sudo apt-get dist-upgrade
    

Once completed and the terminal is returned to you enter the next command to install the HTTPS transport package to enable access to HTTPS content over the Internet.
view plain

  1.   sudo apt-get install apt-transport-https -y --force-yes
    

Next we shall download a key that will authenticate our downloads to ensure they are safe + expand source view plain

  1. wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | sudo apt-key add -
    With the key downloaded we now add a new repository to our list, this repository is provided by dev2day.de who has worked on the packages that will power our Plex install.
    In the terminal type
  • expand source view plain
  1. echo "deb https://dev2day.de/pms/ jessie main" | sudo tee /etc/apt/sources.list.d/pms.list
    

We now update our list again, to ensure that we now have the latest updates for the Plex Media Server. + expand source view plain

  1. sudo apt-get update
    

Lastly we install the Plex Media Server software. + expand source view plain

  1. sudo apt-get install -t jessie plexmediaserver -y

@dco78 OK, that looks good so far. So what happens when you try to install my new package? sudo apt-get install plexmediaserver-installer?

sudo apt-get install plexmediaserver-installer
Reading package lists… Done
Building dependency tree
Reading state information… Done
plexmediaserver-installer is already the newest version.
plexmediaserver-installer set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Output please of apt-cache policy plexmediaserver-installer and cat /etc/apt/sources.list.d/pms.list. Please also try `sudo apt-get dist-upgrade’

apt-cache policy plexmediaserver-installer and cat /etc/apt/sources.list.d/pms.list
plexmediaserver-installer:
Installed: 0.9.16.6.1993-5089475-1~jessie
Candidate: 0.9.16.6.1993-5089475-1~jessie
Version table:
1.9.4.4325-1bf240a65-1 0
-1 https://dev2day.de/pms/ jessie/main armhf Packages
*** 0.9.16.6.1993-5089475-1~jessie 0
100 /var/lib/dpkg/status
and:
Installed: (none)
Candidate: (none)
Version table:
1.2.2-4.1 0
-1 http://mirrordirector.raspbian.org/raspbian/ jessie/main armhf Packages
-1 http://archive.raspbian.org/raspbian/ jessie/main armhf Packages
N: Unable to locate package cat
N: Unable to locate package /etc/apt/sources.list.d/pms.list
N: Couldn’t find any package by regex ‘/etc/apt/sources.list.d/pms.list’

cat /etc/apt/sources.list.d/pms.list
deb https://dev2day.de/pms/ jessie main

sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

@dco78 You obviously disabled my repo using apt pinning [1]. Please read the guide and remove the appropriate entry in the apt preferences. Then apt-get update and apt-get upgrade

[1] https://wiki.debian.org/AptPreferences

in the mentioned directory /etc/apt/preferences.d is just one file called jessie.pref

Package: *
Pin: release n=jessie
Pin-Priority: -1

I´ve just set Pin-Priority to 500 and do apt-get update and apt-get upgrade.
It´s processing.

Yes that’s it. You had disabled all Debian updates :wink:

The Update obviously worked but at first no connection to pms from Web or Plex-client. After stop and start no change. Reboot, another stop and start: here we go!

Thanks a lot for your help. How may I return the favor?

Please make sure you are really using Debian jessie or stretch. Update at least to jessie [1] if you are still running wheezy. wheezy has not been supported for years. Also perform a reboot after such a huge upgrade.

[1] https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=121880

Ah, I was too slow :slight_smile: