Plex Media Server regularly suddenly unavailable

This is the script cron runs at the intervals you set to check if PMS is running.

If it’s crashed, it restart PMS

1 Like

So this is a workaround in the event that I cannot find the corrupt media file.

@sjkiss

Yes, this is a workaround until you find the bad file

1 Like

I am just returning to this because the system crashed again. Do I save this in an .sh script somewhere? I think I have to make it executable and then add a line in the crontab file to run this script. Have I got that right?

I’m attaching the server logs from the most recent crash. I can’t find a similar line that indicates when it happened. It most likely happened early on October 15th, or late on October 14th.

Can you help me repeat that process ? I am figuring out how I might be able to find the corrupted file. I have some ideas. @ChuckPa

Plex Media Server Logs_2025-10-16_09-45-54.zip (3.6 MB)