# unRaid Plex Docker Stopping Every Night

**URL:** https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152
**Category:** Plex Media Server
**Tags:** server-unraid
**Created:** [March 25, 2024, 11:15am UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152 "2024-03-25T11:15:55Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Squid-Billies](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Squid-Billies](https://forums.plex.tv/u/Squid-Billies)
#### Post date: [March 25, 2024, 11:15am UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/1 "2024-03-25T11:15:55Z")

</div>

Server Version#: 1.40.1.8227  
Player Version#: N/A  
\<If providing [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) please do NOT turn on verbose logging, only [debug logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) 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](https://forums.plex.tv/uploads/short-url/18irKmf8kfugFVbwVQi2S8PXPKP.zip) (7.7 MB)

---

<div class="post-metadata">

### Author: ![ChristianKent](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@ChristianKent](https://forums.plex.tv/u/ChristianKent)
#### Post date: [March 25, 2024, 11:25am UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/2 "2024-03-25T11:25:25Z")

</div>

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

```auto
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.

```

---

<div class="post-metadata">

### Author: ![Squid-Billies](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Squid-Billies](https://forums.plex.tv/u/Squid-Billies)
#### Post date: [March 25, 2024, 5:54pm UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/3 "2024-03-25T17:54:06Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ChristianKent](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@ChristianKent](https://forums.plex.tv/u/ChristianKent)
#### Post date: [March 26, 2024, 12:25am UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/4 "2024-03-26T00:25:11Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Squid-Billies](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Squid-Billies](https://forums.plex.tv/u/Squid-Billies)
#### Post date: [March 28, 2024, 11:13am UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/5 "2024-03-28T11:13:18Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![djfriday13](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@djfriday13](https://forums.plex.tv/u/djfriday13)
#### Post date: [March 28, 2024, 2:11pm UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/6 "2024-03-28T14:11:32Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Squid-Billies](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Squid-Billies](https://forums.plex.tv/u/Squid-Billies)
#### Post date: [March 29, 2024, 2:38pm UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/7 "2024-03-29T14:38:00Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![djfriday13](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@djfriday13](https://forums.plex.tv/u/djfriday13)
#### Post date: [March 29, 2024, 3:11pm UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/8 "2024-03-29T15:11:26Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![BaptisteCarrara](https://avatars.discourse-cdn.com/v4/letter/b/e47c2d/32.png) [@BaptisteCarrara](https://forums.plex.tv/u/BaptisteCarrara)
#### Post date: [April 3, 2024, 12:15am UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/9 "2024-04-03T00:15:53Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [July 2, 2024, 12:16am UTC](https://forums.plex.tv/t/unraid-plex-docker-stopping-every-night/873152/10 "2024-07-02T00:16:46Z")

</div>

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