Updating Plex Plugin

Status
Not open for further replies.

airflow

Contributor
Joined
May 29, 2014
Messages
111
Hello,

I use latest FreeNAS 9.3 and I have troubles updating the provided Plex-Plugin. Current installed version is 0.9.16.3.1840. When I upgrade via the GUI, after a while it just cancels without error-message and my plugin is turned off, also the storage-path is unmounted. Retries yield the same result, the version stays the same and update-button also. Can anybody point me to a log-file or some ressource about how to troublshoot this?

Thanks a lot,
airflow
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
here's a strategy to upgrade that is faster and more reliable.

upload a PBI for another plugin to the plex jail
stop plex
delete the plex plugin
upload the latest plex PBI to the plex jail
start plex
 

airflow

Contributor
Joined
May 29, 2014
Messages
111
Sorry but I don't really understand. I can upload PBIs via the GUI and create new plugin-instances. But how am I supposed to upload it "to the plex jail"? Do you mean via SCP and put it in a directory? Where would that be?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Sorry but I don't really understand. I can upload PBIs via the GUI and create new plugin-instances. But how am I supposed to upload it "to the plex jail"? Do you mean via SCP and put it in a directory? Where would that be?
you can upload PBIs to an existing plugin jail on the Jails tab. select a jail and click on the box looking icon
 

Johannez

Explorer
Joined
Jan 25, 2016
Messages
59
Another fast way to update (also a way to get the early PlexPass releases):

1. Login with SSH to your FreeNAS (or alternatively go to shell in WebGUI)
2. type: 'jls' (without ' ' ) and take the note of the # of jail of your Plex installation
3. type: 'jexec # csh' (where # is the number of the jail noted in last step)
4. type: 'fetch -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh'
5. type: 'chmod 755 PMS_Updater.sh'
6. type: './PMS_Updater.sh -u PlexPass_User -p PlexPass_password -a'

Source:
https://forums.plex.tv/discussion/120658
 
Last edited:

dnjordman

Dabbler
Joined
Jun 12, 2015
Messages
14
Johannez, step 3 does not work for me. This is the output I get:
Code:
root@plexmediaserver_1:/ # fetch -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh								 
Certificate verification failed for /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA										 
15552:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:997:   fetch: https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh: Authentication error

I've been having all kinds of problems with Plex after recent Freenas updates, so I was hoping a Plex update might fix it.
 

Johannez

Explorer
Joined
Jan 25, 2016
Messages
59
dnjordman, step 1 to 3 could be skipped if you use the FreeNAS webinterface and go to jails and then select the Plex jail and then use the Shell button in the bottom.
 

dnjordman

Dabbler
Joined
Jun 12, 2015
Messages
14
Thanks, but because I'm a big dumb idiot, I meant I get that error after step 4. Getting into the jail's shell isn't an issue.
 

Johannez

Explorer
Joined
Jan 25, 2016
Messages
59
Last edited:
Status
Not open for further replies.
Top