Plex Server stops randomly

server-windows

#1

Occasionally I'll be watching my Plex and suddenly the video will stop and say the server is unavailable. Sure enough when I go to my Plex Media Server PC the server is simply not running anymore. I just have to restart the server and all is well.

Any ideas why the server is randomly stopping?


#2

Sounds like some kind of crash. You may have to upload your crash logs so we can see what's going on.

More on getting the logs.
https://forums.plex.tv/discussion/comment/1562250/#Comment_1562250

And pay careful attention to this post.
https://forums.plex.tv/discussion/comment/1563744/#Comment_1563744


#3

Thanks for the reply. It just happened again. Before restarting the media server I went to find the crash log and there were no logs available at all. So as per the above link I have enabled Windows crash dumps. It it helps at all, here is a link to download the regular log from the last instance before the server crashed: https://www.dropbox.com/s/qlj2u0ep0p1mjcu/Plex%20Media%20Server.log?dl=0


#4

@joelshort said:
Thanks for the reply. It just happened again. Before restarting the media server I went to find the crash log and there were no logs available at all. So as per the above link I have enabled Windows crash dumps. It it helps at all, here is a link to download the regular log from the last instance before the server crashed: https://www.dropbox.com/s/qlj2u0ep0p1mjcu/Plex%20Media%20Server.log?dl=0

Hi
Why only one log file ? The logs directory has many other log files and for crash reporting. the crash uploader logs are important

See this support article which shows how to get the zipped logs - this can be done on restart after the crash - alternatively, manually copy out the Logs folder and subfolder and zip the copy
https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files

I will try and search for the crash report using your server id


#5

I found crash reports but i need the corresponding log files for these crash reports. That is why the full set of log files is important


#6

sorry I thought you only needed the log from the most recent crash. Here are the zipped logs generated by Plex:
https://www.dropbox.com/s/5djqx460bby3rrc/Plex%20Media%20Server%20Logs_2017-12-17_19-56-13.zip?dl=0

For some reason today the crashes are happening much more often.


#7

@joelshort said:
sorry I thought you only needed the log from the most recent crash. Here are the zipped logs generated by Plex:
https://www.dropbox.com/s/5djqx460bby3rrc/Plex%20Media%20Server%20Logs_2017-12-17_19-56-13.zip?dl=0

For some reason today the crashes are happening much more often.

Thank you. Now i have corresponding logs and dumps

I have referred the crashes to the development team. The crashes were occurring whilst processing a play queue for platback


#8

could you get me the xml for each of these requests - copy the xml returned into separate text files

http://127.0.0.1:32400/playQueues/1791?ncludeChapters=1&includeGeolocation=1&X-Plex-Token=xxxxxxxxxxx


http://127.0.0.1:32400/library/metadata/8200?includeConcerts=1&includeExtras=1&includeOnDeck=1&includePopularLeaves=1&includeChapters=1&checkFiles=1&X-Plex-Token=xxxxxxxxxxxx


http://127.0.0.1:32400/library/sections?X-Plex-Token=xxxxxxxxxxxxx

Hopefully these won't crash the server !

For the X-Plex-Token xxxxxxxxxxxxxxx string, see this support article which shows how to find it
https://support.plex.tv/hc/en-us/articles/204059436-Finding-an-authentication-token-X-Plex-Token


#9

Here are the XML files: https://www.dropbox.com/s/gg97khel3xs3t6a/XML.zip?dl=0


#10

Thank you

The second request did not find the item

Could you amend the second one replacing 8200 with 8197 and get me the xml for that please

Have there been any media deletions ?


#11

8197 XML

I have manually deleted some library items but no unexpected deletions.


#12

I don't know if this makes any difference or not but wanted to mention that I discovered yesterday that my wifi card is starting to go flaky, and it was causing momentary drops of the wifi connection. I didn't really notice this before because the PC is connected by Ethernet so I never pay attention to the wifi. I turned the wifi off and I don't believe that the Plex server has crashed since then.


#13

@joelshort said:
8197 XML

I have manually deleted some library items but no unexpected deletions.

The 8197 xml is empty as well - I presume you deleted the items after playback
I believe it was Atomic Blonde
8200 was The Matrix Revolutions which i presume you purged as well

It is not obvious as to how wifi would affect this

The logs show the server having one active network interface and with IP 192.168.1.108
The server crashing when processing requests from Plex web on 192.168.1.114


#14

That is all correct.
The server is on 192.168.1.108
The tablet I was streaming video to is 192.168.1.114
So maybe there's some issue with the tablet?


#15

The cause of the crashes has now been identified and a fix will go in the next release which initially will go out as Beta for Plex Pass users


#16

Well, I'm glad I could help. :)
What's the time frame for non plex pass users to get the update?
Thanks for all your help and speedy replies.


#17

@joelshort said:
Well, I'm glad I could help. :)
What's the time frame for non plex pass users to get the update?
Thanks for all your help and speedy replies.

normally it would be within a couple of weeks or so - depends on what happens after the beta goes out


#18

Plex Media Server 1.11.0.4633 has just been released as beta release

It includes the fix for these crashes

See Release Note http://forums.plex.tv/discussion/comment/1577387/#Comment_1577387
* Crash when requesting play queue (#7997).