CentOS 7, server is not visible to the application

I used to be on centos 6 and latest plex with no problems, today after a new clean build with CentOS7 and clean install of plex, I can not see my server.

Firewalls and selinux is completely turned off but local plex is stuck in

A server could not be found. Download and install Plex Media Server, and it will appear here.

I have been scratching my head and scanning the ports, any help would be appreciated!

Thanks.

The server is running? (ps -ef)
When you open your browser the first time to the admin port 127.0.0.1:32400/web, it should prompt you to complete the initialization (license agreement and initial library creation).

Have you completed those steps?

Thanks ChuckPa

ps -ef | grep plex
plex       590     1  0 Aug09 ?        00:00:02 /usr/lib/plexmediaserver/Plex Media Server
plex       892   590  0 Aug09 ?        00:00:11 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-35f0caa/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.0.3.2461-35f0caa /usr/lib/plexmediaserver/Resources/Plug-ins-35f0caa/System.bundle
plex      1161   590  1 Aug09 ?        00:00:23 /usr/lib/plexmediaserver/Plex DLNA Server
root     10853  4883  0 00:12 pts/0    00:00:00 grep --color=auto plex

When I login to the port, I don’t see any initialization and I have done in incognito browser also

I have accidentally clicked the button, my log is not accepted answer.

any mods can revert the change please?

If you are using any script-blocking, turn it off. Also, run your browser in normal mode. It’s perfectly safe to do so when using http://127.0.0.1

If have a firewall (the default Linux one), you will need to open ports to connect to your server. These will be permanent.

https://support.plex.tv/hc/en-us/articles/201543147-What-network-ports-do-I-need-to-allow-through-my-firewall-

Lastly, if none of this works. Stop Plex, go to /var/lib/plexmediaserver and delete the Library and let it be recreated when you start Plex again.

It will take a moment to create the directories and prepare itself for the initial screen / setup wizard.

When you open your browser (no script blocking, regular mode) to http://127.0.0.1:32400/web you will be presented with the wizard.

I am running this on the remote server with domain name, so can’t reach localhost.

Thanks for pointing out the library location, as I have deleted but instead of initializing just logged me back in again.

  • no script blocking

  • no firewalls

    systemctl status firewalld
    ● firewalld.service - firewalld - dynamic firewall daemon
    Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
    Active: inactive (dead)

I found the logs though!

Only error I can find is this

Aug 10, 2016 00:54:23.861 [0x7fb7f77fd700] DEBUG - Content-Length of /usr/lib/plexmediaserver/Resources/Plug-ins-35f0caa/WebClient.bundle/Contents/Resources/js/vendors.7dabc96c73af481249dc.js is 210052.
Aug 10, 2016 00:54:23.866 [0x7fb7f7ffe700] DEBUG - Request: [94.4.178.20:57097] GET /web/js/main.5818bb4ba210657e8552.js (8 live) GZIP
Aug 10, 2016 00:54:23.867 [0x7fb7f7ffe700] DEBUG - Final path: /usr/lib/plexmediaserver/Resources/Plug-ins-35f0caa/WebClient.bundle/Contents/Resources/js/main.5818bb4ba210657e8552.js
Aug 10, 2016 00:54:23.868 [0x7fb7f7ffe700] DEBUG - Content-Length of /usr/lib/plexmediaserver/Resources/Plug-ins-35f0caa/WebClient.bundle/Contents/Resources/js/main.5818bb4ba210657e8552.js is 2734301.
Aug 10, 2016 00:54:23.973 [0x7fb802fff700] DEBUG - Completed: [94.4.178.20:57095] 200 GET /web/js/vendors.7dabc96c73af481249dc.js (8 live) GZIP 112ms 210052 bytes
Aug 10, 2016 00:54:24.872 [0x7fb802fff700] DEBUG - Completed: [94.4.178.20:57094] 200 GET /web/css/main.1416505b9b181dbca92b5dc71c381efa.css (8 live) GZIP 1052ms 709773 bytes (pipelined: 2)
Aug 10, 2016 00:54:25.672 [0x7fb7f77fd700] DEBUG - Request: [94.4.178.20:57094] GET /web/img/base/plex-logo.96faf245690b14fdd33eccd3294ac57f.svg (8 live) GZIP
Aug 10, 2016 00:54:25.673 [0x7fb7f77fd700] DEBUG - Final path: /usr/lib/plexmediaserver/Resources/Plug-ins-35f0caa/WebClient.bundle/Contents/Resources/img/base/plex-logo.96faf245690b14fdd33eccd3294ac57f.svg
Aug 10, 2016 00:54:25.673 [0x7fb7f77fd700] DEBUG - Content-Length of /usr/lib/plexmediaserver/Resources/Plug-ins-35f0caa/WebClient.bundle/Contents/Resources/img/base/plex-logo.96faf245690b14fdd33eccd3294ac57f.svg is 2485.
Aug 10, 2016 00:54:25.674 [0x7fb802fff700] DEBUG - Completed: [94.4.178.20:57094] 200 GET /web/img/base/plex-logo.96faf245690b14fdd33eccd3294ac57f.svg (8 live) GZIP 2ms 2485 bytes (pipelined: 3)


 tail -f Plex\ DLNA\ Server.log
Aug 10, 2016 00:52:48.125 [0x7f7cc6de37c0] DEBUG - DLNA server port: 32469
Aug 10, 2016 00:52:48.125 [0x7f7cc6de37c0] DEBUG - PMS: http://127.0.0.1:32400/
Aug 10, 2016 00:52:48.125 [0x7f7cc6de37c0] DEBUG - MyPlex: https://plex.tv/
Aug 10, 2016 00:52:48.196 [0x7f7cc6de37c0] DEBUG - Loading com.plexapp.dlna is complete (success=1)
Aug 10, 2016 00:52:48.234 [0x7f7cc6de37c0] **ERROR **- Couldn't rename file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.dlna-new.db-shm to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.dlna.db-shm: No such file or directory
Aug 10, 2016 00:52:48.234 [0x7f7cc6de37c0] **ERROR **- Couldn't rename file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.dlna-new.db-wal to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.dlna.db-wal: No such file or directory

Had you said you are running remote, I would have immediately instructed you otherwise.

Go to this page: https://support.plex.tv/hc/en-us/articles/200288586-Installation

Scroll down to “On a different network”

You are going to create a ssh tunnel and route the remote host’s console back to your browser through the ssh tunnel.

This is the only way you can initialize PMS when remote. This first step must be done ‘as if on the console’.

It has been ages since I installed it on my systems!

Thanks again :slight_smile: wasn’t able to initiate due to being remote!

You’re welcome. Glad I could help!

Ah great now it is failing in

[Commands] Executing signInServer

vendors.7dabc96….js:283 POST http://localhost:8888/myplex/claim?token=claim-6ZKL2nDLRxsbp9wguZqH&X-Plex-…%20Web%20(Chrome)&X-Plex-Device-Screen-Resolution=1920x470%2C1920x1080 500 (Internal Server Error)

@yuxel said:
Ah great now it is failing in

[Commands] Executing signInServer

vendors.7dabc96….js:283 POST http://localhost:8888/myplex/claim?token=claim-6ZKL2nDLRxsbp9wguZqH&X-Plex-…%20Web%20(Chrome)&X-Plex-Device-Screen-Resolution=1920x470%2C1920x1080 500 (Internal Server Error)

Nevermind, I have manually curled the data and claimed the server!

Thanks again :slight_smile: