Fresh Server Install Not Working

Server Version#: 1.14.1.5488-cc260c476
Player Version#: N/A

I feel like I am missing something stupid so if anybody can help with my plex install that would be greatly appreciated!

I am setting up a server on Ubuntu 18.04 LTS, this will be the second server on my plex account. I ran the following commands to install plex

wget https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver_1.14.1.5488-cc260c476_amd64.deb

sudo dpkg -i plexmediaserver_1.14.1.5488-cc260c476_amd64.deb

It installed with no issues but now when I connect to the server in my web browser using the port 32400 it loads plex but as a client to stream from not as a new server setup. Any ideas why this would be the case?

If this server is running a desktop, open a browser on the server and use http://127.0.0.1:32400/web.
or
From another machine: http://ip_of_server:32400/web
or

If you’re using Windows on your local system and your server is on Linux or OS X, you’ll need to use an application such as Putty that can create the SSH tunnel for you. You can use instructions like these for setting up the Putty/SSH connection. If following that, you would use this information:

  • Gateway : ip.address.of.server
  • Source Port : 8888
  • Destination : localhost:32400

Once you have the SSH tunnel set up:

  1. Open a browser window
  2. Type http://localhost:8888/web into the address bar
  3. The browser will connect to the server as if it were local and load Plex Web App

Okay so I have gotten that to work but now I am unable to “claim the server” and remote access gives me an x when trying to reach the internet. I believe my firewall is turned off so I cannot figure out what else might be blocking it from working. Any ideas?

Okay I have done a complete fresh install. Brand new os install of Ubuntu 18.04 and then installed plex and I still cannot get it to reach the internet to be able to login and claim the server. This is a hetzner so they allow all ports with no forwarding. This has worked for me in the past but now it isn’t… Any help?

The computer itself cannot connect to the internet?

Check its network settings.
It should be pointed at the same modem/router as your desktop computer

It is a Hetzner server so it connects just fine, I am connecting to it just fine. When I try to run the server setup Plex cannot connect to the internet. I.E https://i.imgur.com/ugERoa8.png. I also contacted Hetzner and this was there response to me. So I do not believe port forwarding is an issue. https://i.imgur.com/dlfvZ55.png

It is a brand new Ubuntu 18.04 LTS install so no firewall is active. UFW service turned off and iptables all allow.

The Error in the Log File : https://pastebin.com/4Qm3fBB7

If it is a fresh installation:

  1. ssh -L 8888.127.0.0.1:32400 ip.addr.of.remotehost
  2. Sign in and let sit idle
  3. Local, incognito, browser window/tab http://127.0.0.1:32400.web

is how we get to the setup.

At this point is where we sign-in and “claim” the server.

It sounds like something didn’t go right at this point.
The easiest way to remedy this is via the SSH session

  1. Using the idle SSH tunnel you have
  2. sudo systemctl stop plexmediaserver
  3. sudo rm -rf /var/lib/plexmediaserver/Library
  4. sudo systemctl start plexmediaserver
  5. wait 60 seconds for it to perform its internal setup
  6. Now connect to it via the incognito browser tunnel http://127.0.0.1:8888/web
  7. It will prompt you to sign in (claim)
  8. It will show you the “Got it”
  9. Now you can start normal setup

Please let me know if this doesn’t work as described and where it fails.

Okay I followed that exactly, step 7 never popped up (So I never got a chance to sign in or anything) but it did run me through the normal setup. After click to the end it just hangs on finish. I.E https://i.imgur.com/tRbLoFr.png

Please stop the server.

do the following

tar cvf /tmp/Logs.tar.gz "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs"

It will drop the logs into /tmp

Please download that to your computer and attach here in this thread. We can then see what’s really going on.

*Removed Attached Log

Something is wrong with FireFox on your Windows system

Feb 18, 2019 05:40:35.517 [0x7f569a6fd700] DEBUG - Request: [127.0.0.1:43440 (WAN)] CONNECT getpocket.cdn.mozilla.net:443 (6 live)
Feb 18, 2019 05:40:35.517 [0x7f569a6fd700] ERROR - Error parsing HTTP request: ONNECT getpocket.cdn.mozilla.net:443 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Proxy-Connection: keep-alive
Connection: keep-alive
Host: getpocket.cdn.mozilla.net:443

Feb 18, 2019 05:40:35.517 [0x7f569a6fd700] DEBUG - Completed: [127.0.0.1:43440] 400 CONNECT getpocket.cdn.mozilla.net:443 (6 live) 0ms 265 bytes
Feb 18, 2019 05:40:35.744 [0x7f569a6fd700] DEBUG - Request: [127.0.0.1:43444 (WAN)] CONNECT getpocket.cdn.mozilla.net:443 (6 live)
Feb 18, 2019 05:40:35.744 [0x7f569a6fd700] ERROR - Error parsing HTTP request: ONNECT getpocket.cdn.mozilla.net:443 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Proxy-Connection: keep-alive
Connection: keep-alive
Host: getpocket.cdn.mozilla.net:443

Feb 18, 2019 05:40:35.744 [0x7f569a6fd700] DEBUG - Completed: [127.0.0.1:43444] 400 CONNECT getpocket.cdn.mozilla.net:443 (6 live) 0ms 265 bytes
Feb 18, 2019 05:40:35.974 [0x7f569a6fd700] DEBUG - Request: [127.0.0.1:43446 (WAN)] CONNECT img-getpocket.cdn.mozilla.net:443 (5 live)
Feb 18, 2019 05:40:35.974 [0x7f569a6fd700] ERROR - Error parsing HTTP request: ONNECT img-getpocket.cdn.mozilla.net:443 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Proxy-Connection: keep-alive
Connection: keep-alive
Host: img-getpocket.cdn.mozilla.net:443

Feb 18, 2019 05:40:35.975 [0x7f569a6fd700] DEBUG - Completed: [127.0.0.1:43446] 400 CONNECT img-getpocket.cdn.mozilla.net:443 (5 live) 0ms 265 bytes
Feb 18, 2019 05:40:46.582 [0x7f569a6fd700] DEBUG - Request: [127.0.0.1:43464 (WAN)] CONNECT aus5.mozilla.org:443 (5 live)
Feb 18, 2019 05:40:46.582 [0x7f569a6fd700] ERROR - Error parsing HTTP request: ONNECT aus5.mozilla.org:443 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Proxy-Connection: keep-alive
Connection: keep-alive
Host: aus5.mozilla.org:443

I’m not a browser guy.

Do you have Chrome?

I am speechless. That worked. Never had issues with firefox doing it this is my 10th time doing the setup…

I cannot thank you enough… Been working on this for a week now and had just hit a brick wall on ideas.

Once I saw the logs and how the “CONNECT” statement was spelled, it didn’t take me (the OS guy) much to figure it out. HAHA

I’m glad I could spot it and help you out.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.