Server started shutting down nightly again!

Server Version#: 1.32.6.7557
For some reason my server has been shutting down and has to be restarted every morning (again). Not the computer, I run Jellyfin & Kavita on the same server and they’re fine everyday, just Plex.

This started happening with update version# 1.32.6.7468 and stopped when I uploaded version #1.32.5.7516 manually but then update 1.32.6.7557 was pushed to the server so I updated.

I’ve seen weird things like 3 notifications on my phone saying the backup was successful in one morning. But the server was not running when I go to uses it on my commute. My wife has been watching a show and boom at midnight (when I have the scheduled tasks set to run) the server shuts down.

So to test to see if it was the Scheduled Backup causing it, I changed the hours to 04:00am to 08:00am and it was fine (running and working as usual) when I got up at 02:30am this morning then while on the road I tried to access it at 04:10am this morning and it was showing as offline. Came home after work (2pm) and it is shutdown and has to be restarted.

I’ve now turned off any Scheduled Tasks that say “every 3 days” to test further, but I’m still aggravated that it started happening (w/ version# 1.32.6.7468) after 5 years of running smoothly then seemed fine after manual update then starts happening again.

Any ideas? I will be happy to provide logs (if someone is actually going to look at them) because I don’t see anything showing a shutdown or critical error.

Please post the logs, my knee jerk thought is database corruption.

Thank you, here is todays logs
Plex Media Server Logs_2023-10-01_16-22-53.zip (6.8 MB)

Looks like its crashing trying to transcode during the scheduled tasks:

Oct 01, 2023 04:00:12.262 [8396] DEBUG - Cleaning directory for session f9299881-e25b-47bf-8ec1-9fe19d5a4362 (C:\Users\forkb\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-f9299881-e25b-47bf-8ec1-9fe19d5a4362-4aa06d59-2910-48db-9e80-8976afdecebf)
Oct 01, 2023 04:00:12.262 [13440] DEBUG - Starting a transcode session d9478799-be68-4d6d-9fe7-88b24fa95a35 at offset -1.0 (state=3)
Oct 01, 2023 04:00:12.262 [13440] DEBUG - Streaming Resource: Added session 000001F4F5C3AE60:d9478799-be68-4d6d-9fe7-88b24fa95a35
Oct 01, 2023 04:00:13.267 [484] DEBUG - [JobRunner] Job running: "C:\Program Files\Plex\Plex Media Server\CrashUploader.exe" "--directory=C:\Users\forkb\AppData\Local\Plex Media Server\Crash Reports\1.32.6.7557-1cf77d501" --version=1.32.6.7557-1cf77d501 --platform=Windows "--platformVersion=10.0 (Build 19045)" --serverUuid=4b9d396c3577fac393454930ae13831d6c0f24d1 --userId= --sentryUrl=https://o17675.ingest.sentry.io/api/1233455/ --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --vendor=Microsoft --model=x64-x64 --device=PC
Oct 01, 2023 04:00:13.300 [484] DEBUG - [JobRunner] Jobs: Starting child process with pid 13320

@drzoidberg33 Any suggestions?

Thanks @dbirch I didn’t see that when I looked through them. Sorry for the late reply work has been brutal for the last few days.

So when this has been happening, it has been while my wife is either watching a TV Show (when scheduled task were set to 12am) or when we listen to audiobooks while we sleep (during the same time and, as you can see in the log above, when the task time was changed to 4am). The Tv Shows was being watched on a Roku TV, I use Chronicle on a android Wi-Fi only phone for my audiobooks and my wife uses PlexAmp for Android for hers, if that makes a difference.

Like I said in the OP this has never happened before version# 1.32.6.7468 and wasn’t happening with version #1.32.5.7516 (that I observed) and now is happening with version# 1.32.6.7557 all over again.

It happened again last night and the only thing I left checked for tasks was

  • Refresh library metadata periodically
  • Remove old cache files every week
  • Optimize database every week

So now the only thing checked is :ballot_box_with_check: Remove old cache files every week.
I’m going to test again tonight with the audiobooks.

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