Plex Getting Updated Anymore?

Status
Not open for further replies.

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
What's the contents of /etc/pkg/FreeBSD.conf
 

TrashKing

Dabbler
Joined
Feb 15, 2018
Messages
28
What's the contents of /etc/pkg/FreeBSD.conf
Code:
root@plex:/ # cat /etc/pkg/FreeBSD.conf 
# $FreeBSD: releng/11.0/etc/pkg/FreeBSD.conf 303975 2016-08-11 23:39:23Z gjb $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

 

TrashKing

Dabbler
Joined
Feb 15, 2018
Messages
28
Also running into this:

Code:
root@plex:/ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update6.freebsd.org... failed.
Fetching public key from update5.freebsd.org... failed.
Fetching public key from update4.freebsd.org... failed.
No mirrors remaining, giving up.
root@plex:/ # ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=60 time=9.177 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=60 time=9.887 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=60 time=9.599 ms

 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Do you have a default gateway listed in your FreeNAS GUI?
 

TrashKing

Dabbler
Joined
Feb 15, 2018
Messages
28
Do you have a default gateway listed in your FreeNAS GUI?

Yes, my gateway is lised under Network/Global Configuration IPv4.

Im wondering why the jails are getting installed as freebsd 11.0 when were at several revisions past 11.1
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Im wondering why the jails are getting installed as freebsd 11.0
According to the output you posted of uname -a it's a FreeBSD 11.1 jail.
 

TrashKing

Dabbler
Joined
Feb 15, 2018
Messages
28
Ok im not sure why but this worked for me:

pkg update -f && pkg upgrade

Code:
Installed packages to be UPGRADED:
	subversion: 1.9.7_2 -> 1.9.7_4
	sqlite3: 3.21.0_1 -> 3.22.0
	serf: 1.3.9_1 -> 1.3.9_3
	plexmediaserver: 1.11.3.4803 -> 1.12.0.4829
	curl: 7.58.0_3 -> 7.59.0
	apr: 1.6.3.1.6.1 -> 1.6.3.1.6.1_1

 

TrashKing

Dabbler
Joined
Feb 15, 2018
Messages
28
This was throwing me off as well.

Code:
root@plex:/ # cd /usr/ports/ftp/wget
root@plex:/usr/ports/ftp/wget # make install clean
===> Building/installing dialog4ports as it is required for the config dialog
===>  Cleaning for dialog4ports-0.1.6
===> Skipping 'config' as NO_DIALOG is defined
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[3]: stopped in /usr/ports/ports-mgmt/dialog4ports
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/ports-mgmt/dialog4ports
===> Options unchanged
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ftp/wget
*** Error code 1

Stop.
make: stopped in /usr/ports/ftp/wget

 

stualden

Explorer
Joined
Apr 11, 2015
Messages
80
It's too bad the automatic updates of the plugin have stopped, but I can live with the occasional manual update (using commands WebKnight pointed us to - thank you!).

But is there a simple way to get the GUI to show the correct Plex version number after the update? Currently it's stuck reporting the last automatic update that was done (1.10.1.4602).
 

eire1274

Dabbler
Joined
Jan 1, 2015
Messages
13
So, have the updates from PMS 1.10.x.x via plugin been suspended or cancelled? This question was never answered.

My plugin was created, with jail, in FreeNAS 9.2 (or there abouts), and while I still have no updates on this install at all. However, I do see PlexMS 1.12.2.4929 under Plugins, this new version appears to have become disassociated with the installed plugin/jail.

I understand the manual upgrade, but my reasoning in using FreeNAS vs. bare FreeBSD or Linux distro server is the compartmentalization and simple upgrade UI. Sometimes I just need a one click upgrade path.
 

TrashKing

Dabbler
Joined
Feb 15, 2018
Messages
28
So, have the updates from PMS 1.10.x.x via plugin been suspended or cancelled? This question was never answered.

My plugin was created, with jail, in FreeNAS 9.2 (or there abouts), and while I still have no updates on this install at all. However, I do see PlexMS 1.12.2.4929 under Plugins, this new version appears to have become disassociated with the installed plugin/jail.

I understand the manual upgrade, but my reasoning in using FreeNAS vs. bare FreeBSD or Linux distro server is the compartmentalization and simple upgrade UI. Sometimes I just need a one click upgrade path.

I think easiest is to re-create the jail and configure like so:

First, deal with the portsnap not supported error

Code:
 "ALLOW_UNSUPPORTED_SYSTEM=yes"
to the file /etc/make.conf should enable you to proceed.

update ports

Code:
Portsnap fetch extract
Portsnap update  
Portsnap upgrade


install plex

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


add plexmediaserver_ to rc.conf

Code:
echo plexmediaserver_enable="YES" >> /etc/rc.conf
 

SamBGB

Cadet
Joined
Aug 29, 2018
Messages
2
Here is how I got plex to update using that script. Some of the paths are different in the plugins in 11.2 it seems.

Go into your Jail for plex and do the following


portsnap fetch update
portsnap fetch extract update
cd /usr/ports/ftp/wget
make install clean
A few options will come up just accept defaults
cd /usr/ports/editors/nano
make install clean
wget --no-check-certificate https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh

nano PMS_Updater.sh
Change: PMSPARENTPATH="/usr/pbi/plexmediaserver-amd64/share" to: PMSPARENTPATH="/usr/local/share"
If you are using the PlexPass plugin change the following lines
Change: PMSLIVEFOLDER="plexmediaserver" to PMSLIVEFOLDER="plexmediaserver-plexpass"
Change: PMSBAKFOLDER="plexmediaserver.bak" to PMSBAKFOLDER="plexmediaserver-plexpass_bak"
Hold Control and then Strike X then with no other keys pressed strike Y

(Only do this section if using the plex pass) (Use Control and then W to search in nano)
In the PMS_Updater.sh file find the line: service plexmediaserver stop and change it to service plexmediaserver_plexpass stop
In the PMS_Updater.sh file find the line: service plexmediaserver start and change it to service plexmediaserver_plexpass start

Go here: https://www.plex.tv/media-server-downloads/ download the latest FreeBSD Plex Installer
In my case this was done using command: wget --no-check-certificate https://downloads.plex.tv/plex-media-server/1.13.6.5339-115f087d6/PlexMediaServer-1.13.6.5339-115f087d6-freebsd-amd64.tar.bz2
chmod 755 PMS_Updater.sh
./PMS_Updater.sh -l PlexMediaServer-1.13.6.5339-115f087d6-freebsd-amd64.tar.bz2 -vv -a (replace with actual plex file downloaded)
 
Status
Not open for further replies.
Top