Update plex on 11.2

Status
Not open for further replies.

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
Hi guys,
Did anyone manage to update plex via PSM_Updater.sh script or any other way on FreeNAS 11.2 ?
 

ClassicGOD

Contributor
Joined
Jul 28, 2011
Messages
145
pkg doesn't have the newest version.

I updated manually. You just need to copy the archive with the newest version to /usr/local/share in the jail filesystem and then from the jail console:
(this is for plexpass version - use plexmediaserver instead of plexmediaserver_plexpass where appropriate)

cd /usr/local/share/ service plexmediaserver_plexpass stop mv plexmediaserver-plexpass plexmediaserver-plexpass_old tar -vxjf PlexMediaServer-1.14.0.5470-9d51fdfaa-freebsd-amd64.tar.bz2 mv PlexMediaServer-1.14.0.5470-9d51fdfaa plexmediaserver-plexpass ln -s /usr/local/share/plexmediaserver-plexpass/Plex\ Media\ Server /usr/local/share/plexmediaserver-plexpass/Plex_Media_Server ln -s /usr/local/share/plexmediaserver-plexpass/libpython2.7.so.1 /usr/local/share/plexmediaserver-plexpass/libpython2.7.so service plexmediaserver_plexpass start
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
pkg doesn't have the newest version.
Indeed, you might suffer the horror of your Plex installation being a few days out of date. Why is this a problem?
 

ClassicGOD

Contributor
Joined
Jul 28, 2011
Messages
145
Indeed, you might suffer the horror of your Plex installation being a few days out of date. Why is this a problem?
It's not.
But if you want to update early because PLEX is nagging you about the new version you can do so manually.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Oh come on now Dan, sometimes it takes up to a week to get the package updated. How do you expect us to wait?

;)
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
thanks for the replies. I'll give it a try. I was using the easiest method previously...which does exactly the same :)
I tried what ClassicGOD suggested and works.
thank you
 
Last edited:

colmconn

Contributor
Joined
Jul 28, 2015
Messages
174
pkg doesn't have the newest version.
This may be because pkg is using the quarterly releases rather than the latest available packages. To get the latest releases edit /etc/pkg/FreeBSD.conf in the jail and replace quarterly with latest. Save the file, then run:
Code:
pkg update
to update the pkg database and currently installed packages. If you've already got plex installed from the pkg repository it might be upgraded by the previous command. If not, then try to install plexmediaserver with
Code:
pkg install plexmediaserver
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
This may be because pkg is using the quarterly releases rather than the latest available packages. To get the latest releases edit /etc/pkg/FreeBSD.conf in the jail and replace quarterly with latest. Save the file, then run:
Code:
pkg update
to update the pkg database and currently installed packages. If you've already got plex installed from the pkg repository it might be upgraded by the previous command. If not, then try to install plexmediaserver with
Code:
pkg install plexmediaserver
That will work but if you want to do it properly you create a pkg override.

https://forums.freenas.org/index.ph...-lets-encrypt-iocage.60375/page-2#post-477773
 

Mlovelace

Guru
Joined
Aug 19, 2014
Messages
1,111
You can always install using ports instead of the pkg system.

What is a port?
"If you install the port, the source will be downloaded, patched if necessary, compiled and installed. You will have a chance to set any optional configuration items particular to that port. If the port is dependent upon another port, that port will also be installed. After installing, ports are identical to packages.
It is because of these compile time options that I prefer ports over packages."

What is a package?
"A package is a compiled port. It is a binary. When you install the package, you will download a binary and it will be installed.
Packages often lag behind ports. That is usually because it takes time to compile the packages, etc. If you want the latest version, and the package is not available, then you should install the port.
Not all ports can have packages, often because of license restrictions that prevent binary distribution."

Code:
portsnap fetch && portsnap extract

cd /usr/ports/multimedia/plexmediaserver/ && make install clean


Edit: You can check for the latest ports releases here: https://www.freshports.org/
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
That will work but if you want to do it properly you create a pkg override.

https://forums.freenas.org/index.ph...-lets-encrypt-iocage.60375/page-2#post-477773
Follow Jailer's advice and do it properly. It takes just a few minutes, is far less risky for someone who is not a system guru, and you won't have to jump though hoops after future FreeNAS updates.

Of course, if the real issue is the nagging about Plex server updates in the Plex player, then you can just dismiss the reminder. One click, and the problem goes away :)
 
Status
Not open for further replies.
Top