Plex Won't Load, No Error

Status
Not open for further replies.

Jath

Explorer
Joined
Jan 4, 2014
Messages
56
Hello,

I'm having issues getting PMS to start up. I had it working no issue, and after I gave myself permissions to the Plex directory so I could add an agent, I couldn't turn the server off. Every time I clicked the button, it did the little loading animation, then just showed "On" still.

I restarted, and then I couldn't start PMS. So I undid all changes I made, restarted again, still nothing.

The weird thing is I don't see any error message. Nothing shows up in shell at the bottom, no error at the top, nothing. I checked /var/log/messages via vi and still nothing. It just won't start now. Press it, loading animation, nothing.

Any help is greatly appreciated.

Thank you.
 

Joshua Parker Ruehlig

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

I'm having issues getting PMS to start up. I had it working no issue, and after I gave myself permissions to the Plex directory so I could add an agent, I couldn't turn the server off. Every time I clicked the button, it did the little loading animation, then just showed "On" still.

I restarted, and then I couldn't start PMS. So I undid all changes I made, restarted again, still nothing.

The weird thing is I don't see any error message. Nothing shows up in shell at the bottom, no error at the top, nothing. I checked /var/log/messages via vi and still nothing. It just won't start now. Press it, loading animation, nothing.

Any help is greatly appreciated.

Thank you.
by give yourself permission to the plex directory, do you mean the plex jail dataset?
changing permission/ownership on the jail files will break the jail.

you'll need to either restore from a snapshot or install a new instance of plex and copy over your plexdata directory.
 

Jath

Explorer
Joined
Jan 4, 2014
Messages
56
I may have through the jail. Basically I went to Storage and clicked on the jail piece, I clicked "Change Permissions" at the bottom, and gave myself 777.

Through here:

upload_2015-5-6_16-29-52.png


Is there a way to give myself access to CIFS shares without going through this option?

Thank you.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I may have through the jail. Basically I went to Storage and clicked on the jail piece, I clicked "Change Permissions" at the bottom, and gave myself 777.

Through here:

View attachment 7632

Is there a way to give myself access to CIFS shares without going through this option?

Thank you.
I'm sure there is, but I don't really deal with CIFS so you'll want help from someone else. I do all my file operations from SSH or SFTP.
 

Jath

Explorer
Joined
Jan 4, 2014
Messages
56
Thanks buddy. I'll go to a different part of the forum to see if they can help with CIFS permissions.
 

drache

Cadet
Joined
Jun 10, 2013
Messages
4
Jath, have you tried starting PLEX manually? Some folks, myself included have had web interface issues starting jails. After manually having them start things work for me. It may be non-related, but could be worth a try.

Under Jails, open a console to your PLEX jail, then try running:
Code:
service plexmediaserver onestart


If the service starts it may be an issue with web interface.

Further, if that is the issue, you can set it (PLEX) to start on jail start with:
Code:
sysrc 'plexmediaserver_enable=YES'


Cheers,

Edit: change my mediabrowser (emby_server) type to yours (plexmediaserver) in the sysrc command.
 
Last edited:

Jath

Explorer
Joined
Jan 4, 2014
Messages
56
My apologies for being illiterate in this area, but when I tried to open a shell to the Jail it just opened a regular jail. So I navigated to it and it failed, as shown below.
Code:
[root@freenas ~]# ls                                                           
.bash_history   .k5login        .shrc           save_cfg        updatep1       
.bashrc         .login          .ssh            save_sshkeys    updatep2       
.cshrc          .profile        change_password update                         
[root@freenas ~]# cd ..                                                        
[root@freenas /]# ls                                                           
.cshrc          cfg             home            proc            usr            
.profile        conf            lib             rescue          var            
.rnd            data            libexec         root                           
COPYRIGHT       dev             media           sbin                           
bin             entropy         mnt             sys                            
boot            etc             nonexistent     tmp                            
[root@freenas /]# cd mnt                                                       
[root@freenas /mnt]# cd Media                                                  
[root@freenas /mnt/Media]# ls                                                  
Plex    jails                                                                  
[root@freenas /mnt/Media]# cd jails                                            
[root@freenas /mnt/Media/jails]# cd plexmediaserver_1/                         
[root@freenas /mnt/Media/jails/plexmediaserver_1]# service plexmediaserver onest
op                                                                             
plexmediaserver does not exist in /etc/rc.d or the local startup               
directories (/etc/ix.rc.d /usr/local/etc/rc.d)                                 
[root@freenas /mnt/Media/jails/plexmediaserver_1]#
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
What you did won't work because you aren't running that command inside the jail. RTFM for more info. ;)

/facepalm
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Nope.. just tired of people that don't try to read the manual first...
 

Jath

Explorer
Joined
Jan 4, 2014
Messages
56
Code:
root@plexmediaserver_1:/ # service plexmediaserver onestop                     
Stopping plexmediaserver.                                                      
su: pam_start: system error
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Code:
root@plexmediaserver_1:/ # service plexmediaserver onestop                    
Stopping plexmediaserver.                                                     
su: pam_start: system error
I'm not sure what caused this but in my experience it is more effort to fix it then to follow the course of action I outline.
  1. install a second instance of plex
  2. copy /var/db/plexdata from the first instance to the second
    • Code:
      cp -r /mnt/tank/jails/plexmediaserver_1/var/db/plexdata /mnt/tank/jails/plexmediaserver_2/var/db/plexdata
      [*]chown 972:972 /mnt/tank/jails/plexmediaserver_2/var/db/plexdata
  3. Start the second instance of plex, test it is working as expected
  4. Delete first instance of plex
  5. (optional) change IP and restart jail for second instance of plex
 

Jath

Explorer
Joined
Jan 4, 2014
Messages
56
At the risk of getting another comment to RTFM, how do I install a second instance of a plugin that is already installed? Do you mean to manually install it?

While waiting for a reply, I'll see what I can do doing that.

Thanks sir.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
At the risk of getting another comment to RTFM, how do I install a second instance of a plugin that is already installed? Do you mean to manually install it?

While waiting for a reply, I'll see what I can do doing that.

Thanks sir.
Plugins > Available
PlexMediaServer > Install
 

Jath

Explorer
Joined
Jan 4, 2014
Messages
56
Duh. Figures I can do a second install from that.

Okay, I'll get that done and see how it goes.

Thanks a lot sir. Sorry for the trouble.
 

drache

Cadet
Joined
Jun 10, 2013
Messages
4
Code:
root@plexmediaserver_1:/ # service plexmediaserver onestop                    
Stopping plexmediaserver.                                                     
su: pam_start: system error

Jath, did you accidentally mistype onestop rather than onestart?
 
Status
Not open for further replies.
Top