[solved] Server unreachable on port 32000

Server Version#:1.15.4.993
Player Version#: n/a
Distro : Debian 9.0

Hello
I don’t know why but since a few days I can’t reach my Plex server.
I’ve tried to reinstall, delete my conf and so on but I’m stuck.
The Plex service seems to be on :

# service plexmediaserver status
● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-05-10 17:21:42 CEST; 45s ago
  Process: 3468 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code
 Main PID: 3474 (Plex Media Serv)
    Tasks: 126 (limit: 4915)
   CGroup: /system.slice/plexmediaserver.service
           ├─3474 /usr/lib/plexmediaserver/Plex Media Server
           ├─3589 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py 
           ├─3735 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.15.4.994-107
           ├─3736 /usr/lib/plexmediaserver/Plex DLNA Server
           ├─3770 Plex Plug-in [com.plexapp.agents.plexmusic] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents/Resources/Versions/2/Python/boo
           ├─3930 Plex Plug-in [com.plexapp.agents.themoviedb] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents/Resources/Versions/2/Python/bo
           ├─3938 Plex Plug-in [com.plexapp.agents.opensubtitles] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents/Resources/Versions/2/Python
           ├─4071 Plex Plug-in [com.plexapp.agents.plexthememusic] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents/Resources/Versions/2/Pytho
           ├─4078 Plex Plug-in [com.plexapp.agents.thetvdb] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents/Resources/Versions/2/Python/boots
           └─4551 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents/Resources/Versions/2/Python/bootstra

mai 10 17:21:42 ******* systemd[1]: Starting Plex Media Server...
mai 10 17:21:42 ******* systemd[1]: Started Plex Media Server.

And when I listen what runs on port 32000 there is nothing…

# netstat -tulpn | grep :32000
#

I might have found stag but I’m not sure. In /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs# cat com.plexapp.system.log I’ve found this :

2019-05-10 17:21:47,597 (7f6ba9ffb700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/servers'
2019-05-10 17:21:47,597 (7f6bebeac700) :  DEBUG (streamservice:18) - Starting the stream service
2019-05-10 17:21:47,598 (7f6bebeac700) :  CRITICAL (runtime:709) - Private handlers are no longer supported; couldn't register <bound method StreamService.token_handler of <streamservice.StreamService object at 0x7f6bc1bc8350>>

Any idea ?

The port number is 32400

Have the same problem after update i cant get connection with the server

service plexmediaserver status
● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-05-10 16:35:20 CEST; 2h 4min ago
  Process: 4286 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPP
 Main PID: 4288 (sh)
    Tasks: 6 (limit: 2262)
   CGroup: /system.slice/plexmediaserver.service
           ├─4288 /bin/sh -c  PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )"  PLEX_MEDIA_SERVER_INFO_DEVIC
           └─4299 /usr/lib/plexmediaserver/Plex Media Server

May 10 16:35:20 movieserver systemd[1]: Starting Plex Media Server...
May 10 16:35:20 movieserver systemd[1]: Started Plex Media Server.

it says that it is active but when i try to go to http://localhost:32400/web/index.html#

it says unable to connect

Please stop Plex

Next, as root (sudo), please create a GZ tarball of “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs”

Attach that tar.gz here.

I will look and see what’s happening.

Screenshot%20from%202019-05-10%2018-49-43

please simply Drag & Drop the .tar.gz in this reply window and let it upload (yielding a URL link) before pressing “Reply”

Logs.tar.gz :slight_smile: (TGZ isnt a recognized extension :slight_smile: )

The server is not signed into your Plex account.
Because of this, and that it’s on a remote IP (WAN address), you must use a SSH tunnel to connect to it.

  1. ssh -L 8888:127.0.0.1:32400 ip.addr.of.host* (or use putty to forward 8888 to 32400 on Windows)
  2. Leave this session open and idle
  3. In the local browser, http://127.0.0.1:8888/web
  4. Now you can interact with it.

If you must reset the credentials,

  1. Stop Plex
  2. delete “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml”
  3. Start Plex.
  4. Open in tunnel browser again.
  5. Begin setup / registration.
  6. SKIP creating new library sections. Your existing are waiting for you
  7. Continue until arriving at Dashboard.
  8. Now you may close the SSH session.

it doesn’t work. even locally with lynx I can’t connect. if you look at my net stat command absolutely nothing is listening on port 32400. even locally.
I’ve tried with https too.

OK. The last issue I didn’t check was to restart my firewall conf. So, after restarting my firewall rules and restarting the service, I could finally got an answer on port 32400 and… I could connect on it. So now… it works :wink: Let’s rebuild all my meta datas :slight_smile:

EDIT : Ok now I’m stuck again… It couldn’t connect to my server. I could reach port 32400, have the interface but it said it was deconnected. So I tried to remove the Preference.xml file and recreate it but… the server was again in error, unable to have anything on port 32400 (even after reloading my firewall conf…)
Now I try to reinstall everything, wiping up every file, directory containing anything about plexmediaserver… And it’s a real pain… I give you news when I’ll be able to install plex again…

IS there some who has a previous version then i completely the current version and install a previous version, Problems started after update. ( i am never updating again always problems after updates (F*** updates)

OOOKKKKK I made it !
What I did :

  • completely stop plex
# service plex stop
# killall -u plex
  • locate and remove manually every little files and directories containing anything about plexmediaserver
# locate plexmediaserver
--- getting a list of all my files ---
# rm /foo/bar/plexmediaserver.ext
# rm /oof/plexmediaserver
...
--- (removing every file one by one, there were not a lot) ---

  • then i checked that i had still disk space on the part containing the /var directory (huuuu believe it or not, my log directory was full…) and make some cleaning
  • reloading my firewall rules (just in case of)
  • reinstall the packet
# apt install plexmediaserver
  • no errors while installing ? perrrrrfect.
  • checking the service status
# service plexmediaserver status
● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2019-05-11 14:05:17 CEST; 3s ago
  Process: 15808 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_ME
 Main PID: 15812 (Plex Media Serv)
    Tasks: 15 (limit: 4915)
   CGroup: /system.slice/plexmediaserver.service
           ├─15812 /usr/lib/plexmediaserver/Plex Media Server
           ├─15862 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-107756f7e/Framework.bundle/Contents
           └─15888 /usr/lib/plexmediaserver/Plex Media Server

mai 11 14:05:17 ********* systemd[1]: Starting Plex Media Server...
mai 11 14:05:17 ********* systemd[1]: Started Plex Media Server.
lines 1-13/13 (END)
  • Connecting to my plex panel through a vpn between my computer and my server (to access it locally)
  • starting configuration
  • disconnecting from vpn and verifying i can access the panel remotely
  • Everything works.

The only thing that failed was to move my metadata in an other directory through a symlink. I don’t know why but if I do that, I can’t access my plex anymore. So from now I let it like that.
Something strange too is that netstat doesn’t show anything on port 32000. I don’t know why but you know what ? It works. I don’t touch anything more from now :slight_smile:

i can’t seem to get it to work can you explain it a little better all the commands you give me errors

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