SOLVED Plex_pass plugin- Service stopped. After re-enabling no longer sees my config

Sethbest

Dabbler
Joined
Oct 4, 2014
Messages
28
Hi other FreeNASers.

FreeNAS server (FreeNAS-11.3-U5)

I have the Plex Media Server installed as the plex_pass plugin. It’s been working relatively well for a while. Recently Plex stopped being accessible, either from players or from the management IP. I tried restarting the Jail and the plugin a few times with no luck, kept getting Connection Refused messages from browsers

Turns out the plexmediaserver_plexpass service was not running. I ran it using the service plexmediaserver_plexxpass onestart command and it booted right up. Management console loaded fine from the IP address but it wanted me to login and then setup a new server (no longer saw my old server name, or media mappings, or metadata).

Did I miss something? Is there a way to “point” it to the previous config.

I’m not sure why this problem came up in the first place, but it did occur when the server got very low on storage space. I had a few issues with services not being able to load until I cleared up some room, but this plugin is the only one that seems to have actually broken (if the issue is actually related to that space shortage)

I read through this post here:

and tried the posters' suggestiong:
"The "correct" fix is to edit: (inside iocage/jail) "/usr/local/etc/rc.d/plexmediaserver" to set LD_LIBRARY_PATH environment variable to be "${SCRIPTPATH}/lib" when it starts Plex, e.g.:"

but that line had already been set to "${SCRIPTPATH}/lib" in my file.

Any tips are appreciated.
Thanks!
 

Sethbest

Dabbler
Joined
Oct 4, 2014
Messages
28
It seems like all I really need here is instructions on how to have plex (which is now functioning) connect with the config files/database that should still be there and intact.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925

Sethbest

Dabbler
Joined
Oct 4, 2014
Messages
28
Mount points are still intact, so it would be able to get to my actual media just fine, but it's not seeing the previous config at all so that means I'd have to re-setup the libraries (not actually a big deal) and I'd lose both my metadata for everything and I'd have to reconfigure all of my shared users as well as some server settings.

So it's behaving like it's just a brand new plex server and not seeing any of the old config.
 

Sethbest

Dabbler
Joined
Oct 4, 2014
Messages
28
I bit the bullet and am trying to hammer this out on my own. I'm currently copying the Plex Media Server directory to another folder, and when that's done I'm going to setup a new plugin and paste the data from this folder into it to see if it helps-

I am considering following these steps as well- https://www.truenas.com/community/t...ackup-rebuild-instructions.80397/#post-559574

But I don't know if that will actually help, as when I compressed the "backup" files it was near instantaneous which makes me think there is not a backup present at the directory they described.
 

Sethbest

Dabbler
Joined
Oct 4, 2014
Messages
28
That did the trick!

New plugin in a new jail, copied the "Plex Media Server" directory from one to the other when they were both turned off. Made sure the new one had the same mount point setup... BAM Functioning Plex server again.

Hopefully this is helpful to someone else.
Regards
 
Last edited:
Top