# Plex crashes every night

**URL:** <https://forums.plex.tv/t/plex-crashes-every-night/851116>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [August 21, 2023, 8:09am UTC](https://forums.plex.tv/t/plex-crashes-every-night/851116 "2023-08-21T08:09:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthias\_blomme](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@matthias\_blomme](https://forums.plex.tv/u/matthias_blomme)\
**Post date:** [August 21, 2023, 8:09am UTC](https://forums.plex.tv/t/plex-crashes-every-night/851116/1 "2023-08-21T08:09:13Z")

</div>

Server Version#: 1.32.6.7371

Plex crashed every night around the same time, but not all crashreports are present  
[Plex Media Server.log](https://forums.plex.tv/uploads/short-url/fKoalQ2eyPB35eD61eMJIsfpsRQ.log) (2.0 MB)  
[Plex Tuner Service.log](https://forums.plex.tv/uploads/short-url/i65482xbOLPlUvjrr0uPX9T5TON.log) (1.8 KB)  
[Plex Crash Uploader.log](https://forums.plex.tv/uploads/short-url/iiA2CIeZAOwVgn9GUE31fCSoFYi.log) (549 Bytes)  
[Plex Crash Uploader.1.log](https://forums.plex.tv/uploads/short-url/26ZG8VmIq8x4pNnYziEdAYGaiKd.log) (1.8 KB)  
[Plex Media Server.1.log](https://forums.plex.tv/uploads/short-url/bCSK23Dkp6fcO6gueLbCZpYnSJP.log) (5.0 MB)

[Plex Media Scanner Deep Analysis.1.log](https://forums.plex.tv/uploads/short-url/uiVxEt3qsJeOmI93tVYtV2rm5rb.log) (15.8 KB)  
[Plex Media Scanner Deep Analysis.log](https://forums.plex.tv/uploads/short-url/jrRskn7l4BcLHXhZqw8wlynkzbj.log) (5.1 KB)  
[Plex Transcoder Statistics.log](https://forums.plex.tv/uploads/short-url/g9QWY0N1YRiSfq1BVlJYbiKb0TM.log) (1.7 KB)  
[Plex Media Scanner Analysis.log](https://forums.plex.tv/uploads/short-url/zI7nsvFH4605HryMjQUSrytoX88.log) (6.6 KB)  
[Plex Media Scanner Deep Analysis.2.log](https://forums.plex.tv/uploads/short-url/qd8EWhYlOAqhjZxrmagOf8R1IgF.log) (5.1 KB)

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [August 29, 2023, 11:16am UTC](https://forums.plex.tv/t/plex-crashes-every-night/851116/2 "2023-08-29T11:16:46Z")

</div>

> [@matthias\_blomme](#):
>
> Plex crashed every night around the same time, but not all crashreports are present  
> [Plex Media Server.log](https://forums.plex.tv/uploads/short-url/fKoalQ2eyPB35eD61eMJIsfpsRQ.log) (2.0 MB)  
> [Plex Tuner Service.log](https://forums.plex.tv/uploads/short-url/i65482xbOLPlUvjrr0uPX9T5TON.log) (1.8 KB)  
> [Plex Crash Uploader.log](https://forums.plex.tv/uploads/short-url/iiA2CIeZAOwVgn9GUE31fCSoFYi.log) (549 Bytes)

Thanks for reporting the crash

Please in future zip the files you wish to upload and attach the one zip - would make it much easier than having to download each log file individually

Can you please locate these files and zip and send the zip to me by Private Message

```auto
C:\Users\ADMINI~1\AppData\Local\Temp\1\54ac8bfb-27c9-4ff2-a783-6d4a6025b36c.dmp
C:\Users\ADMINI~1\AppData\Local\Temp\1\54ac8bfb-27c9-4ff2-a783-6d4a6025b36c.log

```

and if you had any further crashes of the server since this August 21st crash, please provide fresh [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) captured after the crash and look for any .dmp and .log files in the %TEMP% directory with similar names as above - please do not attach dmp files in the forum but send by private message - zipped

I notice you are using “Per Session Temp Directory” - this has been seen before to give rise to issues - Is it because you are running Plex Media Server in an RDP session ?

There is a policy you can change to stop using the per session temp directory so it would use `%LocalAppData%\Temp` rather than `%LocalAppData%\Temp\1` for the `%TEMP%` directory

---

<div class="post-metadata">

**Author:** ![matthias\_blomme](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@matthias\_blomme](https://forums.plex.tv/u/matthias_blomme)\
**Post date:** [October 30, 2023, 7:49am UTC](https://forums.plex.tv/t/plex-crashes-every-night/851116/3 "2023-10-30T07:49:30Z")

</div>

Hi  
Sorry for the very, very late reply. I have been rather busy and a nightly plex restart scheduled task takes care of most issues, but I’m still having issues.

I am running plex on a server, but not specifically via rdp. I never play plex directly there. No reason it should be setup that way. A quick google is not elling me how to switch that off, do you have a link to the documentation.

I do not have any dmp files, only .log files in C:\Users\ADMINI~1\AppData\Local\Temp\1

I will bundle everything in a zip and send them via pm.

Thank you for your feedback!

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [October 30, 2023, 10:41am UTC](https://forums.plex.tv/t/plex-crashes-every-night/851116/4 "2023-10-30T10:41:36Z")

</div>

> [@matthias\_blomme](#):
>
> only .log files in C:\Users\ADMINI~1\AppData\Local\Temp\1

Would need to follow up why “Per Session Temp Folders” are being used. The `1` sub-folder is an indication that this is in use.

On old versions of windows - there was a setting in Group Policy (accessible through gpedit) that would allow you to disable that - it was in  
`Administrative Templates\Windows Components\Terminal Services\Terminal Server\Temporary folders`

Are you running Windows 10 or Windows Server product ?

I can see reference to this setting on windows 11 under gpedit - path:  
`Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Temporary folders` with the setting being `Do not use temporary folders per session`

I am not sure if there is any other place in the group policy where that can also be configured

---

<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:** [January 28, 2024, 10:42am UTC](https://forums.plex.tv/t/plex-crashes-every-night/851116/5 "2024-01-28T10:42:35Z")

</div>

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