Plexmedia Service Fails to Start

Status
Not open for further replies.

Daniel Ramirez

Dabbler
Joined
Feb 14, 2015
Messages
14
Hi All

After upgrading to FreeNAS-9.3-STABLE-201502110455 I tried to install my first plugin. The plugin installed correctly, at least I think it did. I followed the instructions on FressNASTeam's youtube channel. After following all the steps listed in the video and trying to start the services it seems like its trying to start the service but fails. The following is a screenshot of what happens after trying to start the service. Any ideas on what the problem might be.

plex.PNG
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
does the plex icon appear just left of the picture? If not, the python API that interfaces between FreeNAS and the jail either died or doesn't have a proper IP to attach to.

If the icon is there, you'd want to try running 'service plexmediaserver onestart' in the jail and see if that works.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
can you check if the jail is running on the jails tab?
 

makils

Cadet
Joined
Mar 2, 2014
Messages
7
I have the same issue as mentioned above, however, with mine both Bitsync and Plexmediaserver are acting the same. I did get response on Ip ping on both. Any help or guidance to help me unsolved this will be greatly appreciated
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I have the same issue as mentioned above, however, with mine both Bitsync and Plexmediaserver are acting the same. I did get response on Ip ping on both. Any help or guidance to help me unsolved this will be greatly appreciated
do you try restarting either of those jail. Again it' probably the python daemon that run on the jail that interacts with FreeNAS. I don't know much about the FreeNAS side of that connection, but a possible thing to try is restarting freenas.
 

makils

Cadet
Joined
Mar 2, 2014
Messages
7
Joshua, first I just want to thank you for taking your time and helping people. Unfortunately I have tried that few times but is coming back off and it wouldn't turn on at all.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Joshua, first I just want to thank you for taking your time and helping people. Unfortunately I have tried that few times but is coming back off and it wouldn't turn on at all.
Hmm, so no plugins work for you then? I guess you could post a bug report to get some help.

This could get the actual plugins running in their respective jails, but would give you the ability to start/stop/monitor the plugins status from the FreeNAS webui.
Code:
sysrc 'plexmediaserver_enable=YES'
service plexmediaserver start


Code:
sysrc 'btsync_enable=YES'
service btsync start
 

makils

Cadet
Joined
Mar 2, 2014
Messages
7
Virtually yes, no plugin works. The only time it works is with fresh install and not restart, sometime it may survive the restart but definitely it won't once I shut off the system.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Virtually yes, no plugin works. The only time it works is with fresh install and not restart, sometime it may survive the restart but definitely it won't once I shut off the system.
Sorry to hear that. I know one thing I always have to do after installing a plugin is..
  • disable VIMAGE in that jails settings
  • set the network interface for that jail
  • stop and start the jail
But, my issue is related to have a lagg interface, and jails I think are attaching to my other regular interface.
I don't think is a problem for you though cause you said ping works.
 

makils

Cadet
Joined
Mar 2, 2014
Messages
7
upload_2015-2-15_23-49-26.png

This is what I am getting when I run the command
Hmm, so no plugins work for you then? I guess you could post a bug report to get some help.

This could get the actual plugins running in their respective jails, but would give you the ability to start/stop/monitor the plugins status from the FreeNAS webui.
Code:
sysrc 'plexmediaserver_enable=YES'
service plexmediaserver start


Code:
sysrc 'btsync_enable=YES'
service btsync start
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
View attachment 6705
This is what I am getting when I run the command
This is usually what happens when someone changes the ownership/permissions of th jail/plugin datasets. Doing this breaks the jail/plugin.

My suggestion is to..
  • install a new instance of the plugin
  • mount your dataset with whatever files you need into the plugin's jail
  • only change permissions of the dataset you mounted into the plugin's jail
 
Status
Not open for further replies.
Top