I can't access plex server remotely or not

Hi,
I’m getting an issue with Plex server. My plex is on the latest version and I access the server from a web player. I no even know what error is it. When I try to access the “localhost:32400/web” on the server, only shows these random characters.

Server Version#:
Player Version#:

turn off your javascript execution blocker.

Plex is sending you the web page. Firefox isn’t “executing” it.

Hi @ChuckPa, thanks for the answer.
I don’t use any blocker. I tried remove Plex and reinstall, didn’t worked. When I ran sudo systemctl status plexmediaserver the output is that:

plexmediaserver.service - Plex Media Server
     Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2020-10-16 23:20:47 -03; 2min 53s ago
    Process: 5261 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status>
    Process: 5275 ExecStart=/bin/sh -c  export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )";  export PLEX_MEDIA_SERVER_INFO_DEVICE="PC";>
   Main PID: 5275 (code=exited, status=255/EXCEPTION)

Oct 16 23:20:42 Servidor systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Oct 16 23:20:47 Servidor systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 5.
Oct 16 23:20:47 Servidor systemd[1]: Stopped Plex Media Server.
Oct 16 23:20:47 Servidor systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Oct 16 23:20:47 Servidor systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Oct 16 23:20:47 Servidor systemd[1]: Failed to start Plex Media Server.

I tried to change the permission because I saw an issue with plex user permission, but didn’t worked too.

That’s really odd.

If PMS isn’t running, then i’m confused how you had something respond on Plex’s port and URL.

Would you mind going into `/var/lib/plexmediaserver/Library/Application Support/Plex Media Server’

Make a tar.gz of ./Logs (probably best to write to /tmp/PlexLogs.tar.gz

and attach that GZ?

No problem. I can do.
The plex was functioning normally. I shut down the server and after a few hours I started again. After it started, when I tried to use this error appeared. I tried to reinstall Plex and some things that could fix, but same results.
Here is the file:
Logsplex.tar.gz (1.5 KB)

For some weird reason, there is something already using Plex’s port.

Make sure Plex Media Server itself isn’t stuck?

ps -ef | grep -i plex

If not there, then I need ask, what are you running which interacts: Proxy? Tautulli? Something else ?

Your log shows:

Oct 16, 2020 22:55:21.883 [0x7f4b59382100] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Oct 16, 2020 22:55:21.883 [0x7f4b59382100] ERROR - HttpServer: Error binding acceptor: Address already in use
Oct 16, 2020 22:55:21.883 [0x7f4b59382100] ERROR - HttpServer: Error opening acceptor on IPv6, falling back to IPv4: Address already in use
Oct 16, 2020 22:55:21.883 [0x7f4b59382100] ERROR - HttpServer: Error binding acceptor: Address already in use
Oct 16, 2020 22:55:21.883 [0x7f4b59382100] ERROR - Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)

I don’t use proxy or tautulli, but my internet is on GC-NAT, could means something? I think that can’t because I use plex in years and this is the first time I have a problem.
The output for ps -ef | grep -i plex

thaliss+    5848    1841  0 00:15 pts/0    00:00:00 grep --color=auto -i plex

Fair enough. Something is stuck.

Let’s do it this way:

sudo systemctl disable plexmediaserver
sudo chown -R plex:plex /var/lib/plexmediaserver
shutdown -r now

When it comes up:

systemctl start plexmediaserver

Let’s see what happens

1 Like

If it’s running,

systemctl enable plexmediaserver

that’ll re-enable it at system restart

I already tried this before, but I trying again and it’s the same.

     Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2020-10-17 00:32:24 -03; 38s ago

it’s really awkward.

Go grab the plex logs again.

1 Like

I got.

newlogs.tar.gz (1.5 KB)

I need more info.

systemctl disable plexmediaserver
shutdown -r now

when it restarts: netstat -an | grep 32400

See what’s on the port.

Also, is this in a VM?

1 Like

You have right.
After hours thinking what could be, tried now to stop the app “Transmission”. There is some reason and I don’t why because the app have a config to specific port. I think the “transmission” have some bug that change the port.
Thanks you for the help. :sweat_smile:

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