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?
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.
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”.
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.
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.```