Plex Server Goes Offline/Crashes - Sort Of

Server Version#: 1.40.0.7775
Player Version#:All
We have been having this issue on and off for years now, I posted before and nobody replied.
Generally during an evening but most commonly on a Saturday or Sunday evening my remote streamers will report Plex is offline. When I check on server the local page will not open on server however server is still running in system tray/task manager, I just see Cannot Connect Securely on my local devices.
I will restart the server and Plex comes back up for remote users however I cannot see what is playing on dashboard but the graphs do show bandwidth usage, then it crashes again after a few minutes although I’ve suspected for a while remote streams are still working for other users. Eventually after a few hours (Usually 1 or 2) it just goes back to normal, no amount of restarts will keep it running for longer than a few minutes. Its a Windows Server 2019 build with nothing else installed on server. As this has been happening on and off for years I have tried every suggestion from forums, changed various settings, reinstalled, checked port forwarding. We have been through multiple ISP’s and Routers.

It may not happen again for weeks but it seems to be happening nightly this week. Im fairly experienced with Plex having first installed in 2014. Any help would be great as this is pretty frustrating. Any logs needed Im happy to provide.

I’ve been dealing with a similar issue for many months now.

Check out this thread and see if it looks similar.

[PMS Crashing and Crashing, etc Help with Logs - Plex Media Server / Desktops & Laptops - Plex Forum](PMS Crashing and Crashing, etc Help with Logs)

Looks similar alright. Can I ask, when you open up Plex on your server does it just show a white page, loading spins in the tab for ages? It also shows the token in the address bar as well which isn’t usual when its working normally.

Hello friend, it’s your lucky day!!! I’ve also been using PLEX for several years, and likewise, for several years I had the same problem, and the only thing that worked for me to improve was scanning the content using Scan Media Power Shell Script, because after so much searching I found in one of the forums that this symptom it was due to errors with the files it was playing, so I started scanning before uploading and realized that a lot of the content contained errors.

All the content that came out with errors was re-encoded using Handbrake with the configuration I leave below, and boom… everything started to improve

The problem is that if you have a lot of content, it is quite a bit of work to have to scan and re-encode but that’s up to you… another piece of advice, don’t install Tautulli or anything like that

Link to forum: Reddit - Dive into anything

Link to the powershell script: 3.6 - Corrected issues with determining terminal size in specific use cases. Added file encoding thanks to recommendation by LordKenmou. Fixed update script checker. · GitHub
(I have to say that this link is updated because I downloaded the script several years ago and since it has worked so well for me, I have not updated it hehehe)

I recommend that you scan with the Default Scan option

Recommended settings for encoding with Handbrake:

  • Container: MP4
  • Resolution: 1920x1080 or lower
  • Video codec: H.264 (level 4.0 or lower)
  • Video framerate: 30fps
  • Video bit depth: 8
  • Audio codec: AAC
  • Audio channels: 2
  • Bitrate: 20Mbps or lower
1 Like

Exactly, expect my screen is black because I have Dark Mode set as default in Windows.

1 Like

This looks very promising, I’ll give it a try and let you know how we go :slight_smile: Thanks so much for replying!

Ok so I still had the same issues after scanning files. I’m still gonna keep doing that however, great script. A long time ago with changes of routers we had switched to upnp, I decided to get shot of that and go back to old fashioned port forwarding and that stopped all that nonsense. Thanks for the help/replies, you are awesome! Much love, Paddy x

And its back!! Again it rears its ugly head at around 9pm on Fridays and again at 9pm this even, you can set your watch by it. Ive still been scanning my files but it would be an amazing coincidence if it was a file oe files causing these issues at the same time. Any other ideas? Im paying for this for 10 years now, so how do i actually log a support ticket?

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