Plex Server web interface not working

Having issues with your DietPi installation, or, found a bug? Post it here.
sinok
Posts: 11
Joined: Thu Dec 01, 2016 3:28 am

Plex Server web interface not working

Post by sinok »

Hi everyone.

THANKS
First I want to thank all of the people who made DietPi possible. It is an amazing solution : all is simple, integrated, easy to understand and everything works as dreamed ! Amazing ! So much amazing I already decided to make a donation. It's the 2nd time in my life I am making a donation for a free software (shame on me not to have made that more often !) so it proves at which point I am greatly positively surprised and loving DietPi :)

MY PROBLEM
I'm trying to install Plex server on a RaspBerry Pi 3. Install itself is easy and I had no problem with it. Only thing to be careful is to select "en_US.UTF8" as default locale at the end of the install process. Did all of that and it ends saying everything is done. But when I go to http://192.168.....:32400/web my browser says it can't reach the destination. And that's my problem here because it means I can't do the initial first launch setup of the Plex Server.

WHAT I TRIED
I know the Pi is working correctly because I can reach http://192.168... and also http://192.168..../nextcloud works perfectly. I confirmed "plexmediaserver" is running on the Pi.

I tried to use a different browser, I tried to clear the history/cache of my browser, tried to purge the plexmediaserver (following same type of issue found on this forum), even tried to uninstall "plexmediaserver" and then install it but the same situation persists.

MY SETUP
Installed on the DietPi I have dropbear, proftp, lighttpd (mysql), nextcloud, NoIP, PiHole and Plex obviously. So nothing too "weird" and for now I did nothing "unusual". I just followed instructions for installations of each ones and everything works excepting the little details I keep for later resolution (my isp blocks port 80 so I have to found a way to connect to Nextcloud from outside, I have to understand how to have an ssl certificate with NoIP).

ANY IDEA ?
If someone would have an idea how to fix the situation with Plex I would greatly appreciate :-)
If you need more infos from my setup (install logs, etc...) I most probably would need some instructions how to find them as I don't have the pretension to master the command line nor the linux system (yet).

Thanks !
Last edited by sinok on Wed Dec 14, 2016 6:45 pm, edited 2 times in total.
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 »

Hi Sinok,

Thanks for your kind words and using DietPi, really appreciate it :)

Did a test install of PMS, working fine here, very strange.

First, lets try a reinstall of PMS, please run the following commands:

Code: Select all

dietpi-software uninstall 42
dietpi-software install 42
Once completed, reboot your system, then check to see if the PMS website is available (eg: http://192.168.0.142:32400/web).

Failing that, please send us a bug report as this will contain system information we can use to try and debug.
To send a bug report, please see: http://dietpi.com/phpbb/viewtopic.php?f=8&t=499#p2184
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.
sinok
Posts: 11
Joined: Thu Dec 01, 2016 3:28 am

Re: Plex Server web interface not working

Post by sinok »

Thanks for your help. So I did the commands provided. at the end of the installation it doesn't ask me the "usual" setup such as the question regarding locale etc... I reboot. Went to IP/web but here I have a nice "404 - page not found".

I sent the bug report :) (it may be a simple thing I missed somewhere I hope).

EDIT  : just realized for this try I was typing the address without the port "32400" (sorry lack of sleep). Added the port but it still can't connect as original problem (no page 404 anymore, just Safari saying "can't connect to the server...").
sinok
Posts: 11
Joined: Thu Dec 01, 2016 3:28 am

Re: Plex Server web interface not working

Post by sinok »

Just for information :

I changed my setup a little bit : After some search I've seen Pi-Hole could sometimes interfere with the port 80 and in addition having Pi-Hole on same Pi used for everything else may, at some point, slow down internet traffic. So now I have a 2nd Raspberry Pi which is dedicated to Pi-Hole only. I setted it up as new with Pi-Hole, works great that's nice :)

Concerning the first RaspBerry Pi with Plex I restarted everything from scratch : erased the sd card, formatted the 1To external usb hdd connected to it, re created a new sd card and re-installed it as new with Nextcloud (because it will be its main purpose), Fail2Ban, Plex, NoIP. Install went perfect, no surprise (seriously DietPi team you did a so great job that there is no way to mess up install ! congrats !), I let the system installed what it needed. Now at the end the install is done. Go to http://theipofthepirunningplex:32400/web and I still have this "Can't connect to the server" page :cry:
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 »

sinok wrote:Go to http://theipofthepirunningplex:32400/web and I still have this "Can't connect to the server" page :cry:
Very bizarre.

I noticed you are having similar issues with NextCloud. My only suggestion is to allow for a remote desktop session, where I can attempt to debug/fix both issues. This would require a VNC server on a Windows PC with Kitty installed. Let me know if you are interested in doing this?

If you are, let me know if you will need assistance setting up VNC and port forwarding on your router (TCP 5900), then i'll walk you through it.
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.
sinok
Posts: 11
Joined: Thu Dec 01, 2016 3:28 am

Re: Plex Server web interface not working

Post by sinok »

My Nextcloud problem is more with the iOS app "only". But... yes at the end it's a question of something not connecting to my DietPi installation in both scenarios so... I assume they could have similar cause.

I have an old pc I had never used since a long time I could try to look into it to install a VNC server. But I have no clue what you mean by "Kitty installed" ? What is Kitty ? 
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Plex Server web interface not working

Post by k-plan »

Hi,
sinok wrote:What is Kitty ? 
KiTTY is a SSH Terminal Client for Windows. Something like "PuTTY", but with more and nice features.

Have a look: http://dietpi.com/phpbb/viewtopic.php?f ... 1998#p1998
sinok wrote:But I have no clue what you mean by "Kitty installed" ?
No installation is needed, if you use portable version "kitty_portable.exe".

Last version can be found on his google drive

But you can as well use Mac OSX with VNC server and vssh lite installed.
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 and Bitcoin.
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 »

Hi Sinok,
My Nextcloud problem is more with the iOS app "only"
Either way, i'll take a look at the core webserver and see if there is anything we can do.
I have an old pc I had never used since a long time I could try to look into it to install a VNC server.
Excellent. Do you have Skype?
Should help with getting this arranged and setup. Please email daniel_haze@hotmail.com with your skype ID and i'll get it booked in with you asap.
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.
sinok
Posts: 11
Joined: Thu Dec 01, 2016 3:28 am

Re: Plex Server web interface not working

Post by sinok »

Thanks a lot for your help... I finally had time to follow your advice in formatting my sd card, reinstalling DietPi from scratch with just Plex : it works perfectly :)

Now I am going to install what I need one by one and see if Plex would stop working what would be the last thing installed. As we can say the issue I had is not caused by Plex then I put this topic in "solved".



EDIT : 

I noticed once Plex is installed and working... then Nextcloud is not working at all (can't reach page on http://192.168.../nextcloud). Then if format my sd card start from scratch again and if I install both in the same time and then setup Nextcloud first... it works... but Plex not working anymore (can't access the http://....:32400/web which was my original problem). It's weird. It's like if Nextcloud and Plex can't be running both in the same time on the same Raspberry Pi :?:
Kenyob

Re: Plex Server web interface not working

Post by Kenyob »

I'm having a similar issue and get the same error that I can't see the server.
I have another place media server running on my network. Can there be an option in the setup script where you can setup the plex port number ahead of time?
I think this may be the issue with my setup.

I had this working a few dietpi versions ago along with multiple other running services and believed I tried the idea of only setting up the plex service first but still got the same error.

Tonight I'm getting a new 64GB Microsoft card and will try again with a clean install on that.

Great work again getting this setup.
Post Reply