Plex Server web interface not working

Having issues with your DietPi installation, or, found a bug? Post it here.
rickc
Posts: 11
Joined: Wed Mar 08, 2017 4:18 pm

Re: Plex Server web interface not working

Post by rickc »

I had the same issue.

I think it's because lighttpd isn't listening to port 32400

Try this code and see if port 32400 is being listened to.

Code: Select all

netstat -tulpn
Also can someone please post how to listen to this port via lighttpd and nginx? (and let me know if its the same code?) tnx

Cheers ~ hope that helps.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Plex Server web interface not working

Post by Fourdee »

rickc wrote:I think it's because lighttpd isn't listening to port 32400
Hi,

Plex doesn't use/require a webserver. Its embedded in the program.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
rickc
Posts: 11
Joined: Wed Mar 08, 2017 4:18 pm

Re: Plex Server web interface not working

Post by rickc »

Ok, does it conflict with lighttpd or is nginx better to use in conjunction?

Thanks in advance (again) :D.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Plex Server web interface not working

Post by Fourdee »

rickc wrote:Ok, does it conflict with lighttpd or is nginx better to use in conjunction?

Thanks in advance (again) :D.
PMS + Lighttpd/Nginx/apache should be fine. PMS uses port 32400.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
rickc
Posts: 11
Joined: Wed Mar 08, 2017 4:18 pm

Re: Plex Server web interface not working

Post by rickc »

Thanks for the reply. I noticed that when I was updating, your install script with shut down the installed services, and start them back at the end. I see PMS shutdown and start back up, but the connection is refused. My guess is its a raspberry pi model B doesn't have the RAM to hold it?
I'll see if I can find one of my pi II laying around.
Thanks again for your help.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Plex Server web interface not working

Post by Fourdee »

rickc wrote:Thanks for the reply. I noticed that when I was updating, your install script with shut down the installed services, and start them back at the end. I see PMS shutdown and start back up, but the connection is refused. My guess is its a raspberry pi model B doesn't have the RAM to hold it?
I'll see if I can find one of my pi II laying around.
Thanks again for your help.
Hi,

Unfortunately, PMS wont run on ARMv6, due to lack of binaries available, and, no source code that we can use to compile either. Its disabled for ARMv6 boards inside the main dietpi-software menu interface:
https://github.com/Fourdee/DietPi/issues/648

Did you use command line to install this, eg?

Code: Select all

dietpi-software install 42
RPi 2/3 will be fine (ARMv7 is supported).
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Angelus

Re: Plex Server web interface not working

Post by Angelus »

Hello,
I've found my self facing the same issue today;
Yesterday I've installed DietPi on my Odroid C2. Installation went smooth and the installation of Plex Server worked.
I then tried to mount NFS shares; this didn't work - I think it's my Synology NAS acting up.
Then I tried Samba/CIFS. That did work. I've created 2 mounted directories by editing fstabs. The mounts were there.
Next step was to setup PlexServer. It started indexing, but my client couldn't connect to the C2;
I've tried again today, but now it starts falling apart :-/

Today I couldn't reach the web interface anymore. I turned back the mapping changes I've made but that didn't work.
I've found this command:

Code: Select all

systemctl status plexmediaserver
That reported:

Code: Select all

   Loaded: loaded (/etc/init.d/plexmediaserver)
   Active: active (exited) since Mon 2017-05-01 15:23:06 BST; 3h 38min ago
  Process: 919 ExecStart=/etc/init.d/plexmediaserver start (code=exited, status=0/SUCCESS)
I did some digging and I belief this means the whole process isn't started.
So something is wrong;
I flashed the SDCard again and reinstalled the Plexserver multiple times, but it didn't solve anything.

I've tried this command I've found somewhere:

Code: Select all

ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib/ld-linux.so.3
But that didn't do anything either.

I really could use some help; thanks
Angelus

Re: Plex Server web interface not working

Post by Angelus »

I've tried again today with a fresh image.
I noticed that Plex was now working, but after installing Samba it broke again. Last time I first installed Samba.
So I think the combination is somehow broken.
I've found instructions on how to install a samba client here.
On a fresh image I FIRST installed Plex Server and then this command to install the client:

Code: Select all

apt-get install samba samba-common-bin
I manually edited /etc/fstab to reinsert my shares and everything is now working great!
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Plex Server web interface not working

Post by Fourdee »

Angelus wrote:I noticed that Plex was now working, but after installing Samba it broke again.
Hi,

How did you install Samba Server or Client, did you use dietpi-software / dietpi-config ?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply