Server Version#: 12.2-RELEASE-p4
Player Version#: plexmediaserver-plexpass-1.21.3.4015
Hi guys, I’m trying to update my server to the latest version (1.22.0.4163)
I have pkg configure to use the latest FreeBSD branch but it still shows a version that its more than a month old.
root@plex-custom:/ # cat /etc/pkg/FreeBSD.conf
FreeBSD: {
url: “pkg+http://pkg.FreeBSD.org/${ABI}/latest”,
mirror_type: “srv”,
signature_type: “fingerprints”,
fingerprints: “/usr/share/keys/pkg”,
enabled: yes
}
root@plex-custom:/ # pkg search plexmed
plexmediaserver-1.21.3.4014 Plex Media Server component
plexmediaserver-plexpass-1.21.3.4015 Plex Media Server component
Is there a different repo where plex uploads the latest release in a pkg package?
The maintainer for this port hasn’t updated the package to the latest version. You would need to perform the update manually to get the latest version.
Isn’t the package maintain by the plex guys them self’s? I’m guessing that packaging and updating is not a manual process and must be part of some automatic deployment that runs with each release
The guide involves uploading PMS manually via SFTP it looks like. Being on 12.2 really has no bearing on this.
I recommend just exercising some patience. While it’s certainly unusual for the port to go so long without an update when I check the page for it now it appears to have a new commit, to version 1.22.0.4145, about six days ago. Actually, it’s showing available right now for pkg.
Hi nx6, I have always wondered where can we see the current status of Plex pkg’s. I understrand that there is some lag between when the updates are released by Plex and when they are ready for pkg update but can you post the link you refer to? You said “when I check the page”, what page is this?
The port is updated by the maintainer named “feld”. The pkg builds are automated I believe (I could be wrong on that), and go by architecture/FreeBSD version (note table on page). So a new pkg for FreeBSD 11 can show up before one for FreeBSD 12, for example. Also there are separate builds for the Quarterly verses Latest package lists.
Remember that the Jails created on TrueNAS are by default on the Quarterly (every three month) release train, and you need to change it to the Latest manifest to get the latest versions of pkgs.
At this time, the most recent commit was to version 1.22.2.4282 for both normal and plexpass it looks like. But as you can see from the table, the automated build has not happened yet (it would only be on the Latest column). Actual pkg releases are still 1.22.1.4228 right now it has been 9 days since the commit was made so I would expect a new pkg build very soon.
Thank you nx6, I have been trying to figure that information out forever. You were also correct, the pkg update showed in latest the next day. Many thanks for your explanation.
Hi again nx6, just when I thought I understood what was going on I dont!
Plex says there is a new version available 1.22.3.4392 and I see this listed in FreshPorts like you mentioned previously and that version shows available for the latest repository. I have my repositories set to latest so why dont I get the upgrade when running pkg update && pkg upgrade in the jail?
If you really are on the Latest release schedule, I don’t know.
Works for me.
root@plex-4:/ # pkg update
Updating FreeBSD repository catalogue...
[plex-4] Fetching packagesite.txz: 100% 6 MiB 1.1MB/s 00:06
Processing entries: 100%
FreeBSD repository update completed. 30626 packages processed.
All repositories are up to date.
root@plex-4:/ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (2 candidates): 100%
Processing candidates (2 candidates): 100%
The following 2 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
nano: 5.5 -> 5.6.1
plexmediaserver-plexpass: 1.22.0.4145 -> 1.22.3.4392
Number of packages to be upgraded: 2
The process will require 12 MiB more space.
80 MiB to be downloaded.
Proceed with this action? [y/N]:
And when you do pkg search plexmediaserver you don’t see 1.22.3.4392?
root@plex:~ # pkg search plexmediaserver
plexmediaserver-1.22.3.4392 Plex Media Server component
plexmediaserver-plexpass-1.22.3.4392 Plex Media Server component
If I do the search command you gave then, yes I get a result just like yours and I see the latest version. But as you can see from my pkg upgrade command it says nothing is availble.
Well when I run the pkg info plexmediaserver-plexpass command I get information about the latest version and looks like it was maybe installed on May 9th. Guess it is pending restart. Problem is if I do a “service plexmediaserver-plexpass restart” command I get an error see second screen shot. I did a reboot of the jail and that didnt seem to help either.