Cannot connect to server (on Ubuntu machine) after update to 1.15.5.994

Server Version#:1.15.5.994
Player Version#:
Plex Media Server.log (1.6 MB)

Hi,

I recently updated my PMS to the latest version, and since doing so I have been unable to connect from any device both inside and outside of the network that my PMS is running on. I have attached my log. Any ideas on what the problem may be and how to fix it?

Thanks.

Not PMS here.

Apr 01, 2019 10:38:19.543 [0x7f4f9cbfe700] INFO - /usr/lib/plexmediaserver/Plex Media Server
Apr 01, 2019 10:38:59.541 [0x7f4f8b3fb700] ERROR - Error issuing curl_easy_perform(handle): 7
Apr 01, 2019 10:38:59.541 [0x7f4f8b3fb700] WARN - HTTP error requesting GET http://192.168.1.79:9197/dmr (0, No error) (Failed connect to 192.168.1.79:9197; No route to host)
Apr 01, 2019 10:38:59.541 [0x7f4f8b3fb700] ERROR - SSDP: Error parsing device schema for http://192.168.1.79:9197/dmr
Apr 01, 2019 10:39:39.557 [0x7f4f8b3fb700] ERROR - Error issuing curl_easy_perform(handle): 7
Apr 01, 2019 10:39:39.557 [0x7f4f8b3fb700] WARN - HTTP error requesting GET http://192.168.1.79:7678/nservice/ (0, No error) (Failed connect to 192.168.1.79:7678; No route to host)
Apr 01, 2019 10:39:39.557 [0x7f4f8b3fb700] ERROR - SSDP: Error parsing device schema for http://192.168.1.79:7678/nservice/
Apr 01, 2019 10:40:05.859 [0x7f4f803fe700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Apr 01, 2019 10:40:19.541 [0x7f4f8b3fb700] ERROR - Error issuing curl_easy_perform(handle): 7
Apr 01, 2019 10:40:19.541 [0x7f4f8b3fb700] WARN - HTTP error requesting GET http://192.168.1.79:9197/dmr (0, No error) (Failed connect to 192.168.1.79:9197; No route to host)
Apr 01, 2019 10:40:19.541 [0x7f4f8b3fb700] ERROR - SSDP: Error parsing device schema for http://192.168.1.79:9197/dmr
Apr 01, 2019 10:40:59.645 [0x7f4f8b3fb700] ERROR - Error issuing curl_easy_perform(handle): 7
Apr 01, 2019 10:40:59.645 [0x7f4f8b3fb700] WARN - HTTP error requesting GET http://192.168.1.79:9197/dmr (0, No error) (Failed connect to 192.168.1.79:9197; No route to host)
Apr 01, 2019 10:40:59.645 [0x7f4f8b3fb700] ERROR - SSDP: Error parsing device schema for http://192.168.1.79:9197/dmr

Check the routing table and ethernet adapter.

netstat -rn

In the future, please turn DEBUG on. It doesn’t use more space but does tell us a great deal more about what’s happening.

I am basing my advice solely on the information in the log above.

netstat.txt (271 Bytes)
Attached is all I am seeing when I run “netstat -rn”. In the future I will turn on DEBUG, thanks for taking a look so far.

One more step for me please.

Please create a tar.gz of the Logs.

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

Attach that tarball. I need a greater window to see back in time.

Logs.tar.gz (1.4 MB)

Here is that tarball. Thanks again.

Thank you for those logs.

They show this problem has existed for some time.

This will be messy but I need you to manually enable DEBUG logging.

To accomplish this, using the editor of your choice, you will need to edit Preferences.xml, as root.

You need to add logDebug=“1” right before the /> at the end of the file (remember to add a space please in front of it.

Save the change.

Make certain still owned by plex:plex

start it. Try to go to it again. I do not expect success. I do expect the logs will now contain more descriptive action details.

After trying t a few times… even with an incognito Window in your browser,

Stop PMS and manually generate another tarball.

Attached are those logs. I should note that it took very long to stop plexmediaserver with sudo systemctl stop plexmediaserver, so I checked its status and saw the following:

● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Sat 2019-04-27 21:03:59 EDT; 4min 45s ago
  Process: 11401 ExecStart=/bin/sh -c  PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )"  PLEX_MEDIA_SERVER_INFO_DEVICE="PC"  PLEX_MEDIA_SERVER_INFO_MODEL="$(uname -m)"  PLEX_MEDIA_SERVER_
  Process: 11397 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=0/SUCCESS)
 Main PID: 11401 (code=killed, signal=TERM)

Apr 27 21:01:05 Kyle-Server systemd[1]: Starting Plex Media Server...
Apr 27 21:01:05 Kyle-Server systemd[1]: Started Plex Media Server.
Apr 27 21:02:29 Kyle-Server systemd[1]: Stopping Plex Media Server...
Apr 27 21:03:59 Kyle-Server systemd[1]: plexmediaserver.service: State 'stop-final-sigterm' timed out. Killing.
Apr 27 21:03:59 Kyle-Server systemd[1]: Stopped Plex Media Server.
Apr 27 21:03:59 Kyle-Server systemd[1]: plexmediaserver.service: Unit entered failed state.
Apr 27 21:03:59 Kyle-Server systemd[1]: plexmediaserver.service: Failed with result 'timeout'.

When I start plexmediaserver, there is no delay and it appears to start successfully per the status.

MODERATOR EDIT: Log files removed.

Did you put in the debug?

In place, it would look like this

allowMediaDeletion="0" logDebug="1" sendCrashReports="1" 

What I see shows me it isn’t even attempting.

Do you have any customizations? (Override file)

Please also check:

  1. grep plex /etc/passwd
  2. sudo chown -R plex:plex /var/lib/plexmediaserver
    (or the name of the directory where located if you moved metadata)
  3. find /etc -name \*plex\* -print

I did set debug, however my Preferences.xml is formatted a bit differently. In the attached tar, I have my Preferences.xml and the results of the above commands, aside from command 2 which did not give output. I should also note that I believe when I initially set up PMS, I used the user “Kyle” rather than “plex”.

MODERATOR EDIT: Log files removed.

I see the log debug flag.
Have you started Plex since?
IF you have, you should now be able to generate a regular tarball of the Logs directory and we’ll see more information.

Logs.tar.gz (1.4 MB)
I have, however as far as I can tell there is nothing new in the log after trying to access the server. Attached are the logs in case I am wrong. Here is what I see when I check the status of plexmediaserver:

● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor
   Active: active (running) since Sat 2019-04-27 21:13:54 EDT; 21h ago
  Process: 13333 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_A
 Main PID: 13338 (sh)
   CGroup: /system.slice/plexmediaserver.service
           ├─13338 /bin/sh -c  PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc
           └─13349 /usr/lib/plexmediaserver/Plex Media Server

Apr 27 21:13:54 Kyle-Server systemd[1]: Starting Plex Media Server...
Apr 27 21:13:54 Kyle-Server systemd[1]: Started Plex Media Server.
Apr 28 18:50:23 Kyle-Server systemd[1]: Started Plex Media Server.

I’m afraid I can’t use these logs.

You turned off DEBUG logging (ON by default and does not consume additional disk space).

Now you need to manually add logDebug=“1” into the Preferences.xml file, separated by a space, with the other preferences, when PMS has been shut down.

This is all I see

Apr 25, 2019 23:12:24.273 [0x7f4f63bfd700] ERROR - [Transcoder] [mp4 @ 0x2044840] Application provided duration: -16 / timestamp: 109270904 is out of range for mov/mp4 format
Apr 25, 2019 23:12:24.288 [0x7f4f937fd700] ERROR - [Transcoder] [mp4 @ 0x2044840] Application provided duration: -16 / timestamp: 109537144 is out of range for mov/mp4 format
Apr 25, 2019 23:13:24.930 [0x7f4f5fffe700] ERROR - [Transcoder] [mp4 @ 0x2042900] Application provided duration: -1 / timestamp: 28549988 is out of range for mov/mp4 format
Apr 25, 2019 23:15:34.183 [0x7f4f63bfd700] ERROR - [Transcoder] [mp4 @ 0x2044840] Application provided duration: -16 / timestamp: 113826424 is out of range for mov/mp4 format
Apr 25, 2019 23:15:34.205 [0x7f4f63bfd700] ERROR - [Transcoder] [mp4 @ 0x2044840] Application provided duration: -16 / timestamp: 114272872 is out of range for mov/mp4 format
Apr 25, 2019 23:15:34.236 [0x7f4f5fffe700] ERROR - [Transcoder] [mp4 @ 0x2042900] Application provided duration: -1 / timestamp: 29405884 is out of range for mov/mp4 format
Apr 25, 2019 23:15:34.342 [0x7f4f63bfd700] ERROR - [Transcoder] [mp4 @ 0x2042900] Application provided duration: -1 / timestamp: 29959397 is out of range for mov/mp4 format
Apr 25, 2019 23:16:52.479 [0x7f4f937fd700] ERROR - [Transcoder] [mp4 @ 0x2042900] Application provided duration: -1 / timestamp: 31117160 is out of range for mov/mp4 format
Apr 25, 2019 23:18:30.147 [0x7f4f63bfd700] ERROR - [Transcoder] [mp4 @ 0x2042900] Application provided duration: -1 / timestamp: 31368806 is out of range for mov/mp4 format
Apr 25, 2019 23:19:07.923 [0x7f4f5f7fd700] ERROR - [Transcoder] [mp4 @ 0x2042900] Application provided duration: -1 / timestamp: 31669137 is out of range for mov/mp4 format
Apr 25, 2019 23:19:07.944 [0x7f4f5fffe700] ERROR - [Transcoder] [mp4 @ 0x2044840] Application provided duration: -16 / timestamp: 124086904 is out of range for mov/mp4 format
Apr 25, 2019 23:19:07.985 [0x7f4f593ff700] ERROR - [Transcoder] [mp4 @ 0x2042900] Application provided duration: -1 / timestamp: 31922319 is out of range for mov/mp4 format
Apr 25, 2019 23:19:08.048 [0x7f4f593ff700] ERROR - [Transcoder] [mp4 @ 0x2044840] Application provided duration: -16 / timestamp: 126581368 is out of range for mov/mp4 format
Apr 25, 2019 23:19:08.080 [0x7f4f63bfd700] ERROR - [Transcoder] [mp4 @ 0x2044840] Application provided duration: -16 / timestamp: 127214200 is out of range for mov/mp4 format
Apr 25, 2019 23:22:52.828 [0x7f4f947ff700] ERROR - Failed to delete session directory (boost::filesystem::remove: No such file or directory: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-i7agl1bgy7sdbvif4x4hfxkx-5ec8ce27-67da-4d23-9231-1c5ad09038ce/chunk-stream0-00050.m4s")
Apr 25, 2019 23:23:04.505 [0x7f4f99bfe700] WARN - LongPoll: Got error, closing.
Apr 25, 2019 23:40:03.267 [0x7f4f883ff700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Apr 26, 2019 00:40:03.223 [0x7f4f947ff700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Apr 26, 2019 01:40:03.405 [0x7f4f7a7ff700] WARN - NAT: PMP, got an error: Not Supported by gateway.```

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