Does is work for Plex Pass?
of course, this is the way I used it.
./PMS_Updater.sh -v -c plexpass.txt -a
# more plexpass.txt
user=XXX
password=XXX
/PMS_Updater.sh: /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex Media Server: not found Using URL https://plex.tv/api/downloads/1.json?channel=plexpass Downloading https://plex.tv/api/downloads/1.json?channel=plexpass ./PMS_Updater.sh: wget: not found Error downloading https://plex.tv/api/downloads/1.json?channel=plexpass
It doesn't work because the structure for the iocage is different then waren(sp) I got errors couldn't find
Code:./PMS_Updater.sh: wget: not found
# ./plex_update.sh
+ fetch -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh
PMS_Updater.sh 100% of 8818 B 77 MBps 00m00s
+ chmod 755 PMS_Updater.sh
+ ./PMS_Updater.sh -v -c plexpass.txt -a
Using URL https://plex.tv/api/downloads/1.json?channel=plexpass
Downloading https://plex.tv/api/downloads/1.json?channel=plexpass
--2018-08-09 16:00:38-- https://plex.tv/api/downloads/1.json?channel=plexpass
Resolving plex.tv (plex.tv)... 52.208.108.2, 54.77.129.25, 34.249.151.238, ...
Connecting to plex.tv (plex.tv)|52.208.108.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Last-modified header missing -- time-stamps turned off.
--2018-08-09 16:00:39-- https://plex.tv/api/downloads/1.json?channel=plexpass
Reusing existing connection to plex.tv:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘/tmp/1.json?channel=plexpass’
1.json?channel=plexpass [ <=> ] 20.22K --.-KB/s in 0s
2018-08-09 16:00:40 (257 MB/s) - ‘/tmp/1.json?channel=plexpass’ saved [20701]
Download Complete
Searching https://plex.tv/api/downloads/1.json?channel=plexpass for the FreeBSD download URL .....Done.
Already running latest version v1.13.5.5291-6fa5e50a8
Download Complete Verifying /tmp/PlexMediaServer-1.13.5.5291-6fa5e50a8-freebsd-amd64.tar.bz2 .....Done Removing previous PMS Backup .....Done. Stopping Plex Media Server .....plexmediaserver does not exist in /etc/rc.d or the local startup directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable Done. Moving current Plex Media Server to backup location .....mv: rename /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/ to /usr/pbi/plexmediaserver-amd64/share/plexmediaserver.bak/: No such file or directory Done. Extracting /tmp/PlexMediaServer-1.13.5.5291-6fa5e50a8-freebsd-amd64.tar.bz2 .....mkdir: /usr/pbi/plexmediaserver-amd64/share: No such file or directory tar: could not chdir to '/usr/pbi/plexmediaserver-amd64/share/plexmediaserver/' Done. ln: /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex_Media_Server: No such file or directory ln: /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/libpython2.7.so: No such file or directory Starting Plex Media Server .....plexmediaserver does not exist in /etc/rc.d or the local startup directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable Done.
I don’t know if this will help, but my plexpass version is called "plexmediaserver-plexpass". I manually upgrade from pkg but I believe it lags a few days behind.Thanks, downloaded but couldn't update Plex Server since directories do not exist.
Code:Download Complete Verifying /tmp/PlexMediaServer-1.13.5.5291-6fa5e50a8-freebsd-amd64.tar.bz2 .....Done Removing previous PMS Backup .....Done. Stopping Plex Media Server .....plexmediaserver does not exist in /etc/rc.d or the local startup directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable Done. Moving current Plex Media Server to backup location .....mv: rename /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/ to /usr/pbi/plexmediaserver-amd64/share/plexmediaserver.bak/: No such file or directory Done. Extracting /tmp/PlexMediaServer-1.13.5.5291-6fa5e50a8-freebsd-amd64.tar.bz2 .....mkdir: /usr/pbi/plexmediaserver-amd64/share: No such file or directory tar: could not chdir to '/usr/pbi/plexmediaserver-amd64/share/plexmediaserver/' Done. ln: /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex_Media_Server: No such file or directory ln: /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/libpython2.7.so: No such file or directory Starting Plex Media Server .....plexmediaserver does not exist in /etc/rc.d or the local startup directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable Done.
Go into your Plex Jail via SSH
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"
** (Only do this section if using the plex pass)**
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)
Go into your Plex Jail via SSH
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"
** (Only do this section if using the plex pass)**
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)
For a regular install I'd think you'd be able to update Plex right from within the UI. But I think the Updater script should work perhaps with some path changes.does this work for a non plugin version? I would assume it does but figure I would ask.
I've updated update script to work on 11.2-RC1 build.
Check Read me for install instructions.
https://github.com/luluhoc/PMS_Updater
...except that people apparently feel a pathological need to be up-to-date on Plex. Baffles me, frankly. Although these steps from your post:that isn't really much of an issue.
# service plexmediaserver_plexpass stop (on FreeNAS) # pkg update && pkg upgrade multimedia/plexmediaserver-plexpass # service plexmediaserver_plexpass start
# pkg upgrade # service plexmediaserver_plexpass restart
I understand your pain. Everybody is a noob at some point.I am such a noob but is there a step by step guide how to do this like where i enter in what and stuff like that.
i would like to learn but when i see this page i still don`t know what to do.
i usually follow you-tube tutorials.
I've updated update script to work on 11.2-RC1 build.
Check Readme for install instructions.
https://github.com/luluhoc/PMS_Updater
[root@freenas ~]# pkg install ca_root_nss Updating local repository catalogue... pkg: Repository local load error: access repo file(/var/db/pkg/repo-local.sqlite) failed: No such file or directory pkg: file:///usr/ports/packages/meta.txz: No such file or directory repository local has no meta file, using default settings pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory Unable to update repository local Error updating repositories!
[root@freenas ~]# iocage console 1 jail '1' not found! [root@freenas ~]# jls JID IP Address Hostname Path 1 plexmediaserver_1 /mnt/Media/pluginjails/plexmediaserver_1