unRaid Plex Docker Stopping Every Night

Server Version#: 1.40.1.8227
Player Version#: N/A
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

I recently migrated my Plex server from Windows to unRaid. I have it up and running (for the most part) but it seems to stop working every night for some reason. I have to start the Plex docker each morning when I wake up. I’ve attached the logs from my Plex server if that helps any.
Plex Media Server Logs_2024-03-25_07-10-31.zip (7.7 MB)

you probably have a backup service that tells all services to shut down so it can backup the databases safely.

Mar 25, 2024 04:40:02.328 [22689003576120] DEBUG - Shutting down with signal 15 (Terminated)
Mar 25, 2024 04:40:02.328 [22689003576120] DEBUG - Ordered to stop server.
Mar 25, 2024 04:40:02.328 [22689003576120] DEBUG - [JobRunner] Job running: /usr/lib/plexmediaserver/CrashUploader --sessionStatus=exited --sessionStart=1711302949 --sessionDuration=53053 --version=1.40.1.8227-c0dd5a73e --userId=adam.lee.person@gmail.com --sentryUrl=https://o17675.ingest.sentry.io/api/1233455/ --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Mar 25, 2024 04:40:02.330 [22689003576120] DEBUG - [JobRunner] Jobs: Starting child process with pid 12410
Mar 25, 2024 04:40:02.331 [22689090071184] DEBUG - Stopping server...
Mar 25, 2024 04:40:02.331 [22689090071184] DEBUG - HttpServer: Stopping server.

That’s not good. I did install a backup app based on the recommendation of a video I watched about setting up unRaid with Plex.

Is the only option to remove the app that is doing the backup? I don’t want Plex stopped every night. I’m thinking this will stop Plex even if someone is currently streaming.

You’re the one with the backup app, why are you asking me?

I removed the backup app and its no longer shutting down Plex so that must’ve been it. I’ll have to figure out how I can backup Plex data without shutting it down. Thanks for the help.

you dont want to do that. its the reason your backup program is shutting it down. because that is safest. some backup program or scripts can delay the backup process until no one is streaming. alternatively, just do it in the early morning and whoever is on a 4am bender will just have to go to bed.

I’m okay with it shutting down if it starts back up once its finished. This thing was requiring me to manually start it back for some reason. I’m sure there’s a workaround and I’ll figure it out eventually.

whatever the backup program is just needs to be configured correctly. whether thats adding something to a script or checking a box. not sure what program you are using. but most all of them turn everything back on once they are done. pretty fundamental aspect to a backuptool.

djfriday13 is correct, you should not attempt to do a backup while the Plex service is running.

The simplest method is to install the Community Application plug-in, and from there the App data Backup plug-in.

It auto stops, backups, and starts my dockers including Plex.

I have it set for the 1st of every month at 3AM.

It even deletes backups past X days.

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