# Server Dashboard crashing.

**URL:** https://forums.plex.tv/t/server-dashboard-crashing/197920
**Category:** General Discussions
**Created:** [July 3, 2017, 7:49pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920 "2017-07-03T19:49:45Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 3, 2017, 7:49pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/1 "2017-07-03T19:49:45Z")

</div>

It happens sometimes 3 times aday and some times 3 days passes between. what logs do u guys need to check for errors:( its driving me insane.

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 3, 2017, 8:03pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/2 "2017-07-03T20:03:36Z")

</div>

![](https://sea1.discourse-cdn.com/plex/uploads/default/original/3X/e/6/e66398893cd299340437dfeab4438a992e436519.png)  
what options do i check guys ☹

Its really driving me insane ☹

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [July 3, 2017, 8:37pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/3 "2017-07-03T20:37:47Z")

</div>

Please post your log files (Settings - Server - Help - Download Logs) **after** making certain Verbose logging is not checked. We need to see a duration of time. Verbose logging denies this due to the amount of data in the files.

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 3, 2017, 9:05pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/4 "2017-07-03T21:05:59Z")

</div>

There u go, it did some wierd stuff when it was syncing stuff yesterday aswell ☹

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 3, 2017, 9:06pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/5 "2017-07-03T21:06:52Z")

</div>

For info, the server is on a virtual machine running off SSD’s with 2 xeons windows server 2016

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [July 3, 2017, 9:20pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/6 "2017-07-03T21:20:54Z")

</div>

Thank you for the logs. Due to the amount of streaming you’re doing, I only see 1 hour retention in your log files.

Should you desire to extend this (adds about 25MB more log space above it’s current 30MB size), you can do so by setting the advanced setting in the registry.

The procedure is here. [https://support.plex.tv/hc/en-us/articles/201105343-Advanced-Hidden-Server-Settings](https://support.plex.tv/hc/en-us/articles/201105343-Advanced-Hidden-Server-Settings)

The recommended value to use is `10` instead of the default `5`. The value you are interested in is `LogNumFiles`

After setting this value, restart PMS.

When it faults again for you, this will give you a bit longer to get to the dashboard and obtain those same log files as you just did. It will let us see what happened.

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 3, 2017, 9:28pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/7 "2017-07-03T21:28:56Z")

</div>

ok, Trap has been set sir, waiting for the big bad bugs 🙂

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 4, 2017, 6:16am UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/8 "2017-07-04T06:16:47Z")

</div>

what is the maximum value for this setting ?

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [July 4, 2017, 6:44am UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/9 "2017-07-04T06:44:09Z")

</div>

I have used 50 in extreme cases. How much disk space do you wish to utilize? Also, please remember, the average compressed upload of 25 MB log files is 4-5 MB of forum space. The forum has a limit somewhere

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 12, 2017, 11:59am UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/10 "2017-07-12T11:59:16Z")

</div>

Still running without issues for some reason.

Wondering if update 1.7.5 fixed it.

waiting 10 more days to close this

---

<div class="post-metadata">

### Author: ![sica](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sica/32/1199_2.png) [@sica](https://forums.plex.tv/u/sica)
#### Post date: [July 12, 2017, 3:31pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/11 "2017-07-12T15:31:47Z")

</div>

I’ve had similar problems in the past and this was my /tmp filling up to the level where no new files could be created on it.

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 12, 2017, 3:55pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/12 "2017-07-12T15:55:01Z")

</div>

> @sica said:  
> I’ve had similar problems in the past and this was my /tmp filling up to the level where no new files could be created on it.

I assume u can point me to exactly where that is?!

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 13, 2017, 9:58am UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/13 "2017-07-13T09:58:40Z")

</div>

AAAAAND there we go, crash !

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 13, 2017, 9:59am UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/14 "2017-07-13T09:59:18Z")

</div>

ooops dident attach file

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [July 13, 2017, 8:53pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/15 "2017-07-13T20:53:25Z")

</div>

@JanEjlersen

If I add 6 hours to my local time (I presume you are CET time?), I see the error.

Something has blocked access to the database. There is a known deadlock issue (PMS ‘sleeps’ for no reason then resumes). This looks very different. It appears as if suddently the database file itself can no longer be read by PMS. This is not how the deadlocks appear.

In the logs you provide, It has happened twice.

Please check the machine & ‘chkdsk’ it? There is a fundamental access problem.

```auto
Jul 13, 2017 11:55:51.126 [8628] DEBUG - Requesting more shows since stacking only returned 2 items.
Jul 13, 2017 11:55:51.189 [5572] ERROR - SQLITE3:BB2C524B, 14, os_win.c:41841: (3) winOpen(C:\Users\ADMINI~1\AppData\Local\Temp\1\etilqs_2ePSBQoLeswNYyK) - The system cannot find the path specified.
Jul 13, 2017 11:55:51.189 [5572] ERROR - SQLITE3:BB2C524B, 14, cannot open file at line 41850 of [fc49f556e4]
Jul 13, 2017 11:55:51.189 [5572] ERROR - SQLITE3:BB2C524B, 14, statement aborts at 668: [select distinct media_items.id as 'media_items_id', media_items.library_section_id as 'media_items_library_section_id', media_items.section_location_id as 'media_items_section_locatio
Jul 13, 2017 11:55:51.189 [5572] ERROR - Soci Exception handled: sqlite3_statement_backend::loadRS: unable to open database file
Jul 13, 2017 11:55:51.189 [5832] DEBUG - Completed: [80.62.117.7:60496] 500 GET /hubs?count=50 (20 live) TLS GZIP 3443ms 405 bytes (pipelined: 2)
Jul 13, 2017 11:55:51.361 [8628] ERROR - SQLITE3:BB2C524B, 14, os_win.c:41841: (3) winOpen(C:\Users\ADMINI~1\AppData\Local\Temp\1\etilqs_JznenbxkqZg8wdK) - The system cannot find the path specified.
Jul 13, 2017 11:55:51.361 [8628] ERROR - SQLITE3:BB2C524B, 14, cannot open file at line 41850 of [fc49f556e4]
Jul 13, 2017 11:55:51.361 [8628] ERROR - SQLITE3:BB2C524B, 14, statement aborts at 668: [select distinct media_items.id as 'media_items_id', media_items.library_section_id as 'media_items_library_section_id', media_items.section_location_id as 'media_items_section_locatio
Jul 13, 2017 11:55:51.361 [8628] ERROR - Soci Exception handled: sqlite3_statement_backend::loadRS: unable to open database file
Jul 13, 2017 11:55:51.361 [5832] DEBUG - Completed: [80.62.117.7:47062] 500 GET /hubs?count=50 (20 live) TLS GZIP 4266ms 405 bytes (pipelined: 1)
Jul 13, 2017 11:55:51.392 [5812] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Jul 13, 2017 11:55:51.392 [5812] DEBUG - Auth: Came in with the master token, authorization succeeded.
Jul 13, 2017 11:55:51.392 [5156] DEBUG - Request: [127.0.0.1:59886 (Loopback)] PUT /video/:/transcode/session/t

```

---

<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: [July 14, 2017, 12:47pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/16 "2017-07-14T12:47:18Z")

</div>

This is the suspected RDP issue and use of per session temp directory for terminal services sessions

Relates to this windows registry `HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\PerSessionTempDir`

Have you launched Plex Media Server in an RDP session?

It appears that `%TEMP%` cannot be relied on when the above is true

See this forum thread post and rest of forum topic [https://forums.plex.tv/discussion/comment/1477456/#Comment\_1477456](https://forums.plex.tv/discussion/comment/1477456/#Comment_1477456)

You can see from the above the log extract that sqlite3 used a temp directory `C:\Users\ADMINI~1\AppData\Local\Temp\1\` and not `C:\Users\ADMINI~1\AppData\Local\Temp\`

---

<div class="post-metadata">

### Author: ![JohnConner](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JohnConner](https://forums.plex.tv/u/JohnConner)
#### Post date: [July 17, 2017, 6:25am UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/17 "2017-07-17T06:25:41Z")

</div>

Ok guys, it seems i might have done a diskcleanup at some point where it deleted the temp folder “(C:\Users\ADMINI~1\AppData\Local\Temp\1\etilqs\_JznenbxkqZg8wdK) - The system cannot find the path specified.”

i repaired the database with the SQL tool and it seems to be running perfectly now 🙂

and Yes it had been launched in an RDP session, but it has auto login as the administrator, so i guess the RDP diddent start the session.?

---

<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 7, 2020, 11:29pm UTC](https://forums.plex.tv/t/server-dashboard-crashing/197920/18 "2020-01-07T23:29:17Z")

</div>


