Server Version#: DSM 7.1.1-42962 Update 4
Player Version#: 1.29.2.6364-7000 Logs.zip (4.2 MB)
Plex keeps shutting off overnight for the last few days. This happened previously and it destroyed my database. Chuck helped me previously and we thought it was down to the Synology SSD’s corrupting the DB, but I don’t use SSD;s since that incident.
I can see some errors happening around midnight in the logs, but it’s not clear to me what it means. Can anyone give me a pointer?
The logs do not show any crashes or restarts of Plex Media Server.
They show Plex running from July 1, 22:34 (top of Plex Media Server.5.log) to July 3, 12:00 (bottom of Plex Media Server.log), when it was manually stopped.
The next time Plex shuts down, restart it, wait 5 minutes for it to fully start, then pull a new set of log files.
When did the problem occur? I’m not seeing anything that looks like a problem in the log files.
The only time Plex stops running is Jul 3 at 12:00. Signal 15 is an orderly shutdown. This is near the bottom of Plex Media Server.1.log. Plex Media Server.2.log to .5.log (going back in time) show Plex continuously running.
I’m going to take a wild guess here for a second as I also had recurring issue of PMS crashing on my Synology on what appeared to be a recurring schedule.
Do you have any DVR recordings scheduled? You’re running an older version of PMS, around the timeframe of that version, there were some changes made to the DVR system that introduced this crash.
The solution that fixed it for me was deleting and re-creating the DVR recordings.
Also, I would suggest updating your PMS install to the latest version 1.32.4.7195
Good to know. Given the version of PMS you are running is seven months behind, upgrading should be the first troubleshooting step.
I have 1.32.4.7195 running on two separate Synologys with no issues.
I’m not doubting that you’re having trouble. However, it is not in the log files.
It is very easy to see when PMS starts/restarts. The Plex Media Server.log files all get rolled, and DEBUG - BPQ: [Idle] -> [Starting] appears at the top of the file.
Plex Media Server ran continuously from Jul 1, 23:58 until it was manually stopped on July 3, 12:00.
First & last entries in log files, going back in time.
Ok, then upgrade to 1.32.1.6999.
A fix is in inbound within an upcoming release for the hardware transcoding fix for the Celeron CPU linux deployments.
As you previously pointed out in the logs, it does not look like there are any crashes, but there are shutdown requests.
Is it possible that there is something in Plex triggering the shutdown?
@bparone do you have any scheduled tasks on your Synology that could be stopping the PMS package? Perhaps a backup task, or some other task defined in the Task Scheduler? (You can find this in the control panel)
I understand not updating to the latest version until Hardware Transcoding is fixed, but anytime there is an issue that is tricky to identify and you are on an older version of the software, updating is an easy first step when troubleshooting.
If 1.32.1.6999 is stable with Hardware Transcoding, It would be worth trying.
Whilst I can’t help with the cause, I’ve got snapshots setup on my Synology DS720+ for the /volume1/PlexMediaServer folder. Its been used once for recovery and had no issues.
Naturally its not as clean as the controlled stop + DB Consistency tasks, but perhaps its a safety-net worth trying? You’ll need to be using btrfs…
Seems like a reasonable config to ensure better restore reliability. What’s the cost of the snapshots (in terms of storage primarily, but also CPU/RAM when running the job itself)?
So my /PlexMediaServer folder is about 156G, with recent snapshots averaging about 2G. However, tdarr is busy doing its thing so the normal snapshot size I expect would be much smaller.
In terms of snapshot duration / CPU spike - its seems to be sub-second when doing via the UI. I suspect its some magic thanks to btrfs that makes it super quick.