Plex jail running but can't get to web UI

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
Power outage rebooted my nas. Plex jail is running, I can ping the IP but the web address no longer works. I've had this system working for about 10 years. I've tried rebooting the NAS, restartign the plugin, restarting the jail. No luck with anything.


TrueNAS-12.0-U8.1

plex:

Version:​

1.27.2.5929

Release:​

12.2-RELEASE-p15

I changed nothing so I'm at a loss of what to do here. The media files all seem in tact. Where should I be looking for evidence? Are there log files? Thanks!
 
Joined
Oct 22, 2019
Messages
3,641
You probably don't want to hear how you "shouldn't use Plugins, only use manually created jails." So I'll skip that part.

I'll also skip recommending updating TrueNAS and the underlying jails.

I can ping the IP but the web address no longer works.
To be clear, the jail's IP address is pingable? Yet entering the IP address + port in your web browsers doesn't bring up the Plex dashboard?


Inside your Plex jail, is the plexmediaserver service running?
Code:
service plexmediaserver status
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
Thanks for skipping the top stuff. I know I need to update. I tried that command and also using plex-plexpass with no luck. see below


Code:
root@freenas:~ # jls
   JID  IP Address      Hostname                      Path
     1                  nextcloud                     /mnt/ServerData/iocage/jails/nextcloud/root
     3                  transmission                  /mnt/ServerData/iocage/jails/transmission/root
     7                  plex-plexpass                 /mnt/ServerData/iocage/jails/plex-plexpass/root
root@freenas:~ # jexec 7
You have mail.
root@plex-plexpass:/ # service plexmediaserver status
plexmediaserver does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
root@plex-plexpass:/ # service plex-plexpass status
plex-plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
root@plex-plexpass:/ #
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
yes, I can ping the address without the port. The address for plex is http://192.168.1.147:32400/web
Code:
ping 192.168.1.147

Pinging 192.168.1.147 with 32 bytes of data:
Reply from 192.168.1.147: bytes=32 time=9ms TTL=64
Reply from 192.168.1.147: bytes=32 time=7ms TTL=64
Reply from 192.168.1.147: bytes=32 time=5ms TTL=64
Reply from 192.168.1.147: bytes=32 time=6ms TTL=64

Ping statistics for 192.168.1.147:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 5ms, Maximum = 9ms, Average = 6ms
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
You probably don't want to hear how you "shouldn't use Plugins, only use manually created jails." So I'll skip that part.

I'll also skip recommending updating TrueNAS and the underlying jails.
I do plan to do these, but I'm building a new server in the coming 6 months and waiting for that.
 
Joined
Oct 22, 2019
Messages
3,641
I tried that command and also using plex-plexpass with no luck. see below
I didn't realize you were using PlexPass.

In that case, you need to check with this:
Code:
service plexmediaserver-plexpass status
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
Thanks for being so quick, but still not helping:

Code:
root@plex-plexpass:/ # service plexmediaserver-plexpass status
plexmediaserver-plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
yuck, that came out wrong.

Thanks for helping. My system still isn't being cooperative.
 
Joined
Oct 22, 2019
Messages
3,641
And what if you try to manually start the service?
Code:
service plexmediaserver-plexpass start


If that doesn't work:
Code:
service plexmediaserver-plexpass onestart
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
hmmm. Is there something with the name that I have setup funny?

Code:
root@plex-plexpass:/ # service plexmediaserver-plexpass start
plexmediaserver-plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
root@plex-plexpass:/ # service plexmediaserver-plexpass onestart
plexmediaserver-plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
if it helps any, the plugin is named plexmediaserver-plexpass and the jail is named plex-plexpass.
 
Joined
Oct 22, 2019
Messages
3,641
What are the contents within this directory:
Code:
ls -1 /usr/local/etc/rc.d/
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
Code:
root@plex-plexpass:/usr/local/etc/rc.d # ls -1 /usr/local/etc/rc.d/
plexmediaserver_plexpass
plexmediaserver_plexpass.pkgsave
 
Joined
Oct 22, 2019
Messages
3,641
Okay...

An underscore...

Code:
service plexmediaserver_plexpass start
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
Code:
root@plex-plexpass:/usr/local/etc/rc.d # service plexmediaserver_plexpass start
Cannot 'start' plexmediaserver_plexpass. Set plexmediaserver_plexpass_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.
root@plex-plexpass:/usr/local/etc/rc.d # service plexmediaserver_plexpass onestart
Starting plexmediaserver_plexpass.

Getting somewhere!
This was able to start it up but it initially looks like it's starting up for the first time from scratch. All of the libraries are gone.
 
Joined
Oct 22, 2019
Messages
3,641
Something happened somewhere, sometime.

Perhaps the "Plugin" has been updated in between reboots of your server, and thus you only noticed this once you were back up and running?

Perhaps such an update is now using a different location to store your Plex database?

Did you login to your PlexPass account?

In the root directory of the jail, is there a "Plex"-like folder that exists? Or is it under /var/db/?
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
I didn't end up signing in. I didn't do anything specifically. I will definitely need to get off the plugin, but right now just need it running for the kids.
The directory below looks to have everything
Code:
root@plex-plexpass:/ # cd "Plex Media Server"
root@plex-plexpass:/Plex Media Server # ls
Cache           Codecs          Diagnostics     Library         Logs            Media           Metadata        Plug-in Support Plug-ins        Preferences.xml
root@plex-plexpass:/Plex Media Server #


the /var/db/ folder exists, but I don't think that was my original one since it's pretty small. Likely the one above is the one that I should be using
 

jimmypooh

Dabbler
Joined
Sep 17, 2011
Messages
41
Looks like I was already signed in. I signed out and back in but still no luck. It shows a new server with the generic name plex-plexpass. My custom named one shows as unavailable. Is it possible I started up the wrong service? Could there be another one in the jail?
 
Joined
Oct 22, 2019
Messages
3,641
I've since left Plex for Jellyfin, but I do believe at one point the path to the database had changed between Plex versions.

What is the package version?
Code:
pkg info plexmediaserver-plexpass
 
Top