Plugins (Plex) no longer working

Status
Not open for further replies.

havok2022

Dabbler
Joined
Dec 26, 2014
Messages
23
After a number of moves and several months of being offline, I'm working to get my Plex server back up and running and have having major issues. Everything worked beautifully when I last powered down. Now that I am back and running I can't seem to get the Plex plugin updated or working.

I've tried Updating from 9.3 to 9.10.
Rolling back to 9.3.
Restarting the jail.
Rebuilding the jail.
Deleting and reinstalling the plugin.

Nothing seems to work. Based on some forum posts I saw that diabling VIMAGE on the jail and assigning an interface was recommended. I've also tried this to no avail. Below are some logs of some of the errors I seem to be getting.

I'm very much at a loss and would appreciate any assistance. Also, I'm somewhat of a Linux and FreeNAS novice. So please be specific in any questions you have and need outputs for.

Code:
Oct 16 17:34:07 freenas dhclient: New IP Address (igb0): 192.168.1.177
Oct 16 17:34:07 freenas dhclient: New Subnet Mask (igb0): 255.255.255.0
Oct 16 17:34:07 freenas dhclient: New Broadcast Address (igb0): 192.168.1.255
Oct 16 17:34:07 freenas dhclient: New Routers (igb0): 192.168.1.1
Oct 16 17:36:00 freenas notifier: Performing sanity check on nginx configuration:
Oct 16 17:36:00 freenas notifier: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
Oct 16 17:36:00 freenas notifier: nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Oct 16 17:36:04 freenas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 16 17:41:30 freenas manage.py: [common.pipesubr:71] Popen()ing: /sbin/umount -f '/mnt/bigpool/pluginjails/plexmediaserver_1/media'
Oct 16 17:41:30 freenas manage.py: [middleware.exceptions:37] [MiddlewareError: There was a problem creating the PBI]
Oct 16 17:41:31 freenas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 16 17:44:17 freenas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 16 17:45:05 freenas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 16 17:45:50 freenas notifier: Performing sanity check on nginx configuration:
Oct 16 17:45:50 freenas notifier: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
Oct 16 17:45:50 freenas notifier: nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Oct 16 17:45:53 freenas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 16 17:46:31 freenas manage.py: [common.pipesubr:71] Popen()ing: /sbin/umount -f '/mnt/bigpool/pluginjails/plexmediaserver_1/media'
Oct 16 17:46:31 freenas manage.py: [middleware.exceptions:37] [MiddlewareError: There was a problem creating the PBI]
Oct 16 17:46:32 freenas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded


Thank you!
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
there is an issue there related to unmounting /media in the jail. try either mounting it again or deleting the Jail > Storage mapping before upgrading. you'd want to add this back after the upgrade works and starting plex
 

havok2022

Dabbler
Joined
Dec 26, 2014
Messages
23
there is an issue there related to unmounting /media in the jail. try either mounting it again or deleting the Jail > Storage mapping before upgrading. you'd want to add this back after the upgrade works and starting plex

I believe I did what you suggested, no love.

Code:
Oct 17 09:51:11 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 17 09:52:52 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 17 09:52:57 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 17 09:53:00 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 17 09:53:07 freenas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.1.177/plugins/plexmediaserver/1/_s/status: No JSON object could be decoded
Oct 17 09:53:47 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 17 09:53:54 freenas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.1.177/plugins/plexmediaserver/1/_s/status: No JSON object could be decoded
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
can you ping your computer from the jails command line? do you have dhcp enabled for the jail or a static IP?
 

havok2022

Dabbler
Joined
Dec 26, 2014
Messages
23
So from my PC, I can ping the IP of the jail. However, I cannot ping the IP of my PC from inside the jail's CLI. As I test, I checked from my Macbook and I can ping in both directions. I tried enabling the plugin from the Macbook and still am receiving the same error.

I have tried the jail both in DHCP and statically addressed. At the moment it has a static IP.
 

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
Can I ask you what interface you used if the IP address was static. I have static IP addresses for both of my 2 plugins, and don't have any problems with them. I am just interested in this interface bussiness.
 

havok2022

Dabbler
Joined
Dec 26, 2014
Messages
23
igb0 is the interface I used. I never had an issue with the Plex plugin prior to my move. This is new and seems to be related to an update somewhere along the line. The line below seems to be the main error I get when I try to enable to plugin.

Code:
Oct 17 09:53:07 freenas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.1.177/plugins/plexmediaserver/1/_s/status: No JSON object could be decoded
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'm not sure what is wrong, but it isn't specific to the plugin. Your jail needs to be able to have working networking for the plugin stuff to work.

Have you tried disabling VIMAGE and assigning an interface to the jail? You would need to then restart the jail, then try refreshing the FreeNAS WebUI and see if the Plex icon now shows up on the Plugins > Installed tab.
 

havok2022

Dabbler
Joined
Dec 26, 2014
Messages
23
I'm not sure what is wrong, but it isn't specific to the plugin. Your jail needs to be able to have working networking for the plugin stuff to work.

Have you tried disabling VIMAGE and assigning an interface to the jail? You would need to then restart the jail, then try refreshing the FreeNAS WebUI and see if the Plex icon now shows up on the Plugins > Installed tab.

No luck. It almost seems as if it can't even find the plugin, even though it goes through the install motions.

Code:
Oct 24 13:11:16 freenas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair0b
Oct 24 13:11:16 freenas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair0b
Oct 24 13:11:18 freenas manage.py: [common.pipesubr:66] Popen()ing: /usr/sbin/chroot '/mnt/bigpool/pluginjails/plexmediaserver_1' /usr/sbin/pw groupadd 'media' -g '8675309'
Oct 24 13:11:19 freenas manage.py: [common.pipesubr:66] Popen()ing: /usr/sbin/chroot '/mnt/bigpool/pluginjails/plexmediaserver_1' /usr/sbin/pw useradd 'media' -u '8675309' -g 'media'
Oct 24 13:11:21 freenas kernel: igb0: link state changed to UP
Oct 24 13:11:21 freenas kernel: igb0: link state changed to UP
Oct 24 13:11:21 freenas devd: Executing '/etc/rc.d/dhclient quietstart igb0'
Oct 24 13:11:32 freenas notifier: Performing sanity check on nginx configuration:
Oct 24 13:11:32 freenas notifier: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
Oct 24 13:11:32 freenas notifier: nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Oct 24 13:11:33 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 24 13:11:37 freenas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.1.177/plugins/plexmediaserver/1/_s/status: No JSON object could be decoded
Oct 24 13:12:40 freenas dhclient: New IP Address (igb0): 192.168.1.177
Oct 24 13:12:40 freenas dhclient: New Subnet Mask (igb0): 255.255.255.0
Oct 24 13:12:40 freenas dhclient: New Broadcast Address (igb0): 192.168.1.255
Oct 24 13:12:40 freenas dhclient: New Routers (igb0): 192.168.1.1
Oct 24 13:12:40 freenas kernel: arp: 192.168.1.177 moved from 02:ff:20:00:05:0a to 0c:c4:7a:31:3e:4e on epair0b
Oct 24 13:12:41 freenas dhclient: New Routers (igb0): 192.168.1.1
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
No luck. It almost seems as if it can't even find the plugin, even though it goes through the install motions.

Code:
Oct 24 13:11:16 freenas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair0b
Oct 24 13:11:16 freenas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair0b
Oct 24 13:11:18 freenas manage.py: [common.pipesubr:66] Popen()ing: /usr/sbin/chroot '/mnt/bigpool/pluginjails/plexmediaserver_1' /usr/sbin/pw groupadd 'media' -g '8675309'
Oct 24 13:11:19 freenas manage.py: [common.pipesubr:66] Popen()ing: /usr/sbin/chroot '/mnt/bigpool/pluginjails/plexmediaserver_1' /usr/sbin/pw useradd 'media' -u '8675309' -g 'media'
Oct 24 13:11:21 freenas kernel: igb0: link state changed to UP
Oct 24 13:11:21 freenas kernel: igb0: link state changed to UP
Oct 24 13:11:21 freenas devd: Executing '/etc/rc.d/dhclient quietstart igb0'
Oct 24 13:11:32 freenas notifier: Performing sanity check on nginx configuration:
Oct 24 13:11:32 freenas notifier: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
Oct 24 13:11:32 freenas notifier: nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Oct 24 13:11:33 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.1.177/plugins/plexmediaserver/1/_s/treemenu: No JSON object could be decoded
Oct 24 13:11:37 freenas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.1.177/plugins/plexmediaserver/1/_s/status: No JSON object could be decoded
Oct 24 13:12:40 freenas dhclient: New IP Address (igb0): 192.168.1.177
Oct 24 13:12:40 freenas dhclient: New Subnet Mask (igb0): 255.255.255.0
Oct 24 13:12:40 freenas dhclient: New Broadcast Address (igb0): 192.168.1.255
Oct 24 13:12:40 freenas dhclient: New Routers (igb0): 192.168.1.1
Oct 24 13:12:40 freenas kernel: arp: 192.168.1.177 moved from 02:ff:20:00:05:0a to 0c:c4:7a:31:3e:4e on epair0b
Oct 24 13:12:41 freenas dhclient: New Routers (igb0): 192.168.1.1
so you disabled VIMAGE? isn't epair0b related to VIMAGE?

can you install a standard jail, and have it ping your computer?
 

havok2022

Dabbler
Joined
Dec 26, 2014
Messages
23
so you disabled VIMAGE? isn't epair0b related to VIMAGE?

can you install a standard jail, and have it ping your computer?

Ok, so I figured it out. It was clinging to an old DNS configuration from my previous apartment setup before the move. So when it tried to go out to install and activate the plugin, it was using a gateway and DNS that wasn't there. I manually updated this, the logo appeared and I was able to turn on the Plex server. Right now its building my library again, and I still seem to have issues with port forwarding but I think I can work that under a different thread.
 
Status
Not open for further replies.
Top