Plugin Update breaks GUI support

Status
Not open for further replies.

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
For example: 10cc greatest hits/ CD1 and CD2; plexmediaservers deems there are no mp3 files in each folder, but there is.

That's something you'd have to go to the plex forums to answer.
 

mpfusion

Contributor
Joined
Jan 6, 2014
Messages
198
@Joshua Parker Ruehlig: I can reproduce the issue now. It really seems to be related to HTTPS. A clean FreeNAS VM with default HTTP works. But switching to HTTPS and the errors appear and the plugin won't start. Maybe you can reproduce it as well.

Syncthing works:
  • only when HTTP is used
  • with VIMAGE enabled (=default)
  • no IP address is displayed in jls | grep syncthing
  • direct installation of recent version without installing 0.10.30 first
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@Joshua Parker Ruehlig: I can reproduce the issue now. It really seems to be related to HTTPS. A clean FreeNAS VM with default HTTP works. But switching to HTTPS and the errors appear and the plugin won't start. Maybe you can reproduce it as well.

Syncthing works:
  • only when HTTP is used
  • with VIMAGE enabled (=default)
  • no IP address is displayed in jls | grep syncthing
  • direct installation of recent version without installing 0.10.30 first
thanks, looks like you got the issue isolated.
but.. some others experiencing problems have it with HTTP, so there may be another issue you and I aren't experiencing.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Plex just announced a new update (0.9.12.3) which adds DigiCert SSL certificates to the media server. Given some of the https related issues above, I'm hesitant to try an upgrade. Has the OP confirmed that JPR's mentioned fix is working? Especially since the github link above is titled: "Don't verify SSL connections to FreeNAS". Which seems to negate what Plex just released. I may be wrong though.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Plex just announced a new update (0.9.12.3) which adds DigiCert SSL certificates to the media server. Given some of the https related issues above, I'm hesitant to try an upgrade. Has the OP confirmed that JPR's mentioned fix is working? Especially since the github link above is titled: "Don't verify SSL connections to FreeNAS". Which seems to negate what Plex just released. I may be wrong though.
not sure what this Plex update does but it won't be affected by my change.

my change only relates to the connection between the plugin Python API and the freenas GUI. it doesn't touch the actually program at all.

as for being scared to update, you could always try installing a second instance of plex to test things first.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Woo-hoo - testing looks good!

Code:
root@plexmediaserver_2:/ # fetch --no-verify-peer -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh
PMS_Updater.sh                                100% of 8482  B  119 MBps 00m00s
root@plexmediaserver_2:/ # chmod 755 PMS_Updater.sh
root@plexmediaserver_2:/ # ./PMS_Updater.sh -u USERNAME -p PASSWORD -a


The bottom (3rd) server is the test PMS using SSL.

upload_2015-6-4_13-29-58.png
 

InQuize

Explorer
Joined
May 9, 2015
Messages
81
Code:
root@plexmediaserver_2:/ # fetch --no-verify-peer -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh
PMS_Updater.sh                                100% of 8482  B  119 MBps 00m00s
root@plexmediaserver_2:/ # chmod 755 PMS_Updater.sh
root@plexmediaserver_2:/ # ./PMS_Updater.sh -u USERNAME -p PASSWORD -a

Thank you, sir.
Apparently Samsung Smart TV doesnt't support SSL yet. But web and android app work just fine.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Just another datapoint. I just ran the following to update from 0.9.12.3 to 0.9.12.8 to take advantage of the new IOS client:
Code:
root@plexmediaserver_1:/ # fetch --no-verify-peer -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh
root@plexmediaserver_1:/ # chmod 755 PMS_Updater.sh
root@plexmediaserver_1:/ # ./PMS_Updater.sh  -a
 

ovizii

Patron
Joined
Jun 30, 2014
Messages
435
@Joshua Parker Ruehlig : I'm having a problem that looks very similar to this https issue here with the emby plugin.

My logs are saying:
Code:
Sep 15 22:06:15 freenas manage.py: [freeadmin.navtree:573] Couldn't retrieve https://192.168.178.41/plugins/couchpotato/1/_s/treemenu: timed out
Sep 15 22:06:15 freenas manage.py: [freeadmin.navtree:573] Couldn't retrieve https://192.168.178.41/plugins/transmission/2/_s/treemenu: timed out
Sep 15 22:06:15 freenas manage.py: [freeadmin.navtree:573] Couldn't retrieve https://192.168.178.41/plugins/plexmediaserver/3/_s/treemenu: timed out
Sep 15 22:06:15 freenas manage.py: [freeadmin.navtree:573] Couldn't retrieve https://192.168.178.41/plugins/sickrage/4/_s/treemenu: timed out
Sep 15 22:06:15 freenas manage.py: [freeadmin.navtree:573] Couldn't retrieve https://192.168.178.41/plugins/syncthing/5/_s/treemenu: timed out
Sep 15 22:06:15 freenas manage.py: [freeadmin.navtree:573] Couldn't retrieve https://192.168.178.41/plugins/emby/6/_s/treemenu: timed out
Sep 15 22:08:30 freenas manage.py: [plugins.utils:92] Couldn't retrieve https://192.168.178.41/plugins/couchpotato/1/_s/status: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol>


If you think its related, here is the full post: https://forums.freenas.org/index.php?threads/emby-plugin-seems-to-break-freennas-gui.38133/
 

webpilot

Dabbler
Joined
Nov 9, 2015
Messages
27

STREBLO

Patron
Joined
Oct 23, 2015
Messages
245
I seem to be having a similar issue. Not sure if same thing. Plugins are being buggy, just updated to 9.10.

Keep seeing stuff like this:

Code:
Apr 13 18:14:54 Lilan manage.py: [freeadmin.navtree:575] Couldn't retrieve http://192.168.0.142/plugins/couchpotato/9/_s/treemenu: timed out
Apr 13 18:14:54 Lilan manage.py: [freeadmin.navtree:629] An error occurred while unserializing from http://192.168.0.142/plugins/sabnzbd/10/_s/treemenu: No JSON object could be decoded
Apr 13 18:15:50 Lilan manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.0.142/plugins/couchpotato/9/_s/status: No JSON object could be decoded
 

InQuize

Explorer
Joined
May 9, 2015
Messages
81
I seem to be having a similar issue. Not sure if same thing. Plugins are being buggy, just updated to 9.10.

Keep seeing stuff like this:

Code:
Apr 13 18:14:54 Lilan manage.py: [freeadmin.navtree:575] Couldn't retrieve http://192.168.0.142/plugins/couchpotato/9/_s/treemenu: timed out
Apr 13 18:14:54 Lilan manage.py: [freeadmin.navtree:629] An error occurred while unserializing from http://192.168.0.142/plugins/sabnzbd/10/_s/treemenu: No JSON object could be decoded
Apr 13 18:15:50 Lilan manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.0.142/plugins/couchpotato/9/_s/status: No JSON object could be decoded

https://forums.freenas.org/index.ph...e-vmware-interface-problem.42569/#post-278394

If I'm right, set static IPs on all jails, reboot, and it should work

Also, may be https://bugs.freenas.org/issues/14638
 
Last edited:

STREBLO

Patron
Joined
Oct 23, 2015
Messages
245

InQuize

Explorer
Joined
May 9, 2015
Messages
81
They are static already :S
Then check if Network -> Network Summary page of the GUI, the "Default route" configured right.

You are not using virtualization, right?

Anyway, I believe issue described in this particular thread is fixed prior to 9.10
 

STREBLO

Patron
Joined
Oct 23, 2015
Messages
245
Then check if Network -> Network Summary page of the GUI, the "Default route" configured right.

You are not using virtualization, right?

Anyway, I believe issue described in this particular thread is fixed prior to 9.10
Nope. Looked similar thats all, thanks.
 

STREBLO

Patron
Joined
Oct 23, 2015
Messages
245
This problem seems to be occuring, or something similar. Couchpotato isnt appearing on the tree and im getting:
Code:
Apr 16 16:14:09 Lilan manage.py: [freeadmin.navtree:575] Couldn't retrieve http://192.168.0.142/plugins/couchpotato/4/_s/treemenu: timed out


but it appears to be functioning fine. Similar bug maybe?
 

AndrewWOz

Cadet
Joined
Sep 10, 2016
Messages
1
Thought this was probably the best place to add my 2c. I've been using 9.3.1 since it came out without a problem, I am in the process of setting up a brand new N54L for my dad and thought I might as well go with 9.10

Unfortunately both the sabd and sonarr plugins suffered the same 'No JSON object could be decoded' error, the plugins would not autostart on boot and the GUI status for the plugins was incorrect (showing off even after clicking the button to turn them on, which actually worked). Dad needs a 'set and forget' solution so unfortunately it is back to 9.3.1 for me.

But I thought you'd like another datapoint from a brand new 9.10 install without the potential of confusion from a 9.3 upgrade.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thought this was probably the best place to add my 2c. I've been using 9.3.1 since it came out without a problem, I am in the process of setting up a brand new N54L for my dad and thought I might as well go with 9.10

Unfortunately both the sabd and sonarr plugins suffered the same 'No JSON object could be decoded' error, the plugins would not autostart on boot and the GUI status for the plugins was incorrect (showing off even after clicking the button to turn them on, which actually worked). Dad needs a 'set and forget' solution so unfortunately it is back to 9.3.1 for me.

But I thought you'd like another datapoint from a brand new 9.10 install without the potential of confusion from a 9.3 upgrade.
Have you ever tried disabling VIMAGE for your jails? That fixes all jail networking problems for me.
 

LudoB

Dabbler
Joined
Nov 8, 2015
Messages
13
Thank you Joshua for sharing this tip! It worked for me! :)
 
Status
Not open for further replies.
Top