Upgraded to 1.8.0.4109 - Now "There was an unexpected error loading the dashboard"

@jmlw said:
@sa2000 I do have debug logging enabled however with rotation at 5MB, and only 5 rotated stored, I only have since some time yesterday. Also because I pull the latest docker image available about every couple weeks, I’m not sure what previous version I was running but it was most likely one of the 1.7.5 or 1.7.6 releases. I will upload an archive and PM you the link of what I have though.

did not get link to the db file zip - only logs

@jmlw said:
@sa2000 I do have debug logging enabled however with rotation at 5MB, and only 5 rotated stored, I only have since some time yesterday. Also because I pull the latest docker image available about every couple weeks, I’m not sure what previous version I was running but it was most likely one of the 1.7.5 or 1.7.6 releases. I will upload an archive and PM you the link of what I have though.

OK i have completed my investigation into your database and thanks for all the logs

In release 1.8.0.4109 there has been a number of database schema changes. The database structure needed to be changed and this is referred to as database migrations within the logs

Pre-existing database corruptions do impact database migrations and the migrations abort. In your case one migration aborted near the end and cancelled the other migrations - one being that added the tags.parent_id column.
A subsequent restart executed this database migration and added the column ok.

But your database still has some corruption - these were showing in logs before the upgrade to 1.8.0
This is from a 1.7.6 log file

Aug 02, 2017 05:03:53.202 [0x7f6e12bfd700] ERROR - SQLITE3:0x10, 11, database corruption at line 72951 of [fc49f556e4]
Aug 02, 2017 05:03:53.202 [0x7f6e12bfd700] ERROR - SQLITE3:0x10, 11, statement aborts at 10: [SELECT distinct file,size,updated_at,deleted_at FROM media_parts where directory_id=?] database disk image is malformed
Aug 02, 2017 05:03:53.203 [0x7f6e12bfd700] ERROR - Exception caught determining whether we could skip '2013' ~ sqlite3_statement_backend::loadRS: database disk image is malformed

Running a database integrity check shows these errors that you before the update

"*** in database main ***
On tree page 5876 cell 28: Rowid 162095 out of order"
row 4821 missing from index index_media_parts_on_size
row 4822 missing from index index_media_parts_on_size
row 4823 missing from index index_media_parts_on_size
row 4825 missing from index index_media_parts_on_size
row 4828 missing from index index_media_parts_on_size
row 4837 missing from index index_media_parts_on_size
row 4842 missing from index index_media_parts_on_size
row 4843 missing from index index_media_parts_on_size
row 4844 missing from index index_media_parts_on_size
row 4845 missing from index index_media_parts_on_size
row 4846 missing from index index_media_parts_on_size
row 4848 missing from index index_media_parts_on_size
row 4849 missing from index index_media_parts_on_size
row 4861 missing from index index_media_parts_on_size
row 4863 missing from index index_media_parts_on_size
row 4865 missing from index index_media_parts_on_size
row 4867 missing from index index_media_parts_on_size
row 4885 missing from index index_media_parts_on_size
row 4915 missing from index index_media_parts_on_hash
row 4949 missing from index index_media_parts_on_size
row 4964 missing from index index_media_parts_on_size
row 4971 missing from index index_media_parts_on_size
row 4996 missing from index index_media_parts_on_size
row 5076 missing from index index_media_parts_on_size
row 5077 missing from index index_media_parts_on_size
row 5138 missing from index index_media_parts_on_size
row 5141 missing from index index_media_parts_on_size
row 5183 missing from index index_media_parts_on_size
row 5215 missing from index index_media_parts_on_size
row 5228 missing from index index_media_parts_on_size
row 5246 missing from index index_media_parts_on_size
row 5252 missing from index index_media_parts_on_size
row 5303 missing from index index_media_parts_on_size
row 5317 missing from index index_media_parts_on_size
row 5358 missing from index index_media_parts_on_media_item_id
row 5359 missing from index index_media_parts_on_media_item_id
row 5360 missing from index index_media_parts_on_media_item_id
row 5361 missing from index index_media_parts_on_media_item_id
row 5362 missing from index index_media_parts_on_size
row 5362 missing from index index_media_parts_on_media_item_id
row 5363 missing from index index_media_parts_on_media_item_id
row 5364 missing from index index_media_parts_on_media_item_id
row 5365 missing from index index_media_parts_on_media_item_id
row 5366 missing from index index_media_parts_on_size
row 5366 missing from index index_media_parts_on_media_item_id
row 5367 missing from index index_media_parts_on_size
row 5367 missing from index index_media_parts_on_media_item_id
row 5368 missing from index index_media_parts_on_media_item_id
row 5369 missing from index index_media_parts_on_media_item_id
row 5370 missing from index index_media_parts_on_media_item_id
row 5371 missing from index index_media_parts_on_media_item_id
row 5372 missing from index index_media_parts_on_media_item_id
row 5373 missing from index index_media_parts_on_size
row 5373 missing from index index_media_parts_on_media_item_id
row 5374 missing from index index_media_parts_on_media_item_id
row 5375 missing from index index_media_parts_on_media_item_id
row 5376 missing from index index_media_parts_on_media_item_id
row 5377 missing from index index_media_parts_on_media_item_id
row 5378 missing from index index_media_parts_on_media_item_id
row 5379 missing from index index_media_parts_on_media_item_id
row 5380 missing from index index_media_parts_on_media_item_id
row 5381 missing from index index_media_parts_on_media_item_id
row 5382 missing from index index_media_parts_on_media_item_id
row 5383 missing from index index_media_parts_on_media_item_id
row 5384 missing from index index_media_parts_on_media_item_id
row 5385 missing from index index_media_parts_on_media_item_id
row 5386 missing from index index_media_parts_on_media_item_id
row 5387 missing from index index_media_parts_on_media_item_id
row 5388 missing from index index_media_parts_on_media_item_id
row 5389 missing from index index_media_parts_on_media_item_id
row 5390 missing from index index_media_parts_on_media_item_id
row 5391 missing from index index_media_parts_on_media_item_id
row 5392 missing from index index_media_parts_on_media_item_id
row 5393 missing from index index_media_parts_on_media_item_id
row 5394 missing from index index_media_parts_on_media_item_id
row 5395 missing from index index_media_parts_on_media_item_id
row 5395 missing from index index_media_parts_on_directory_id
row 5396 missing from index index_media_parts_on_media_item_id
row 5396 missing from index index_media_parts_on_directory_id
row 5397 missing from index index_media_parts_on_media_item_id
row 5397 missing from index index_media_parts_on_directory_id
row 5398 missing from index index_media_parts_on_size
row 5398 missing from index index_media_parts_on_media_item_id
row 5398 missing from index index_media_parts_on_directory_id
row 5399 missing from index index_media_parts_on_media_item_id
row 5399 missing from index index_media_parts_on_directory_id
row 5400 missing from index index_media_parts_on_media_item_id
row 5400 missing from index index_media_parts_on_directory_id
row 5401 missing from index index_media_parts_on_media_item_id
row 5401 missing from index index_media_parts_on_directory_id
row 5402 missing from index index_media_parts_on_media_item_id
row 5402 missing from index index_media_parts_on_directory_id
row 5403 missing from index index_media_parts_on_media_item_id
row 5403 missing from index index_media_parts_on_directory_id
row 5404 missing from index index_media_parts_on_media_item_id
row 5404 missing from index index_media_parts_on_directory_id
row 5405 missing from index index_media_parts_on_media_item_id
row 5405 missing from index index_media_parts_on_directory_id
row 5406 missing from index index_media_parts_on_size

I would advise going through the steps on this support article as
https://support.plex.tv/hc/en-us/articles/201100678-Repair-a-Corrupt-Database

@SmithPlex said:
I just pm’d you the database. I don’t have any additional logs and upgraded from whatever the prior version was.

All cases i looked into turned out to be pre-existing database corruptions that affected the database schema changes needed for 1.8.0.4109

So my advice is to run an integrity check on the database as shown on this support article
https://support.plex.tv/hc/en-us/articles/201100678-Repair-a-Corrupt-Database
and then go through the repair steps

Is automatic corruption detection a feature that is on the roadmap?

I will attempt to repair my database.

Thanks for the quick turn around! All of you guys at Plex are amazing!

@jmlw said:
Is automatic corruption detection a feature that is on the roadmap?

Detection is part of scheduled housekeeping and it is done before the backup is made - so should in theory stop generating corrupt backups - how old are the backup files generated by scheduled tasks

There is a plan to have notification perhaps via the web interface on result of this check - so it is registered as an area to be looked into

What time do your scheduled tasks run?

Just noticed your logs up to Aug 02, 2017 20:11:26 on 1.7.6 had the error 503’s which hopefully is fixed in 1.8.0 (the deadlock problem)

I’m in the same both - files won’t play, the dashboard won’t load, and any query sent to the database seems to take an age longer. Any tips?

@doho121 said:
I’m in the same both - files won’t play, the dashboard won’t load, and any query sent to the database seems to take an age longer. Any tips?

you can see from the above posts how such an issue is tackled

first debug logs of the server and ideally also the first log file when starting with 1.8.0

next action would be dependent on what the logs show

alternatively start with the database integrity check as described on the repair database support article

I am also having this issue where I receive the same error. HOWEVER, I allowed my database to rebuild from scratch this morning. I never even had this error until after it rebuilt the database from scratch. I stopped my plex docker, along with plexpy, sonarr and couchpotato, renamed my Database folder to Database.old and then launched plex by itself and allowed added my libraries back and let it rebuild itself.

Once it completed rebuilding I was able to fix miss-matched movies and start a movie and tv show and everything was working. Later today I added a new file and then when I launched my plex chrome app on my PC I received this “There was an unexpected error loading the dashboard.” I can still traverse through my libraries and watch shows and movies with no issues. The dashboard will not load though, and will not show me recently added because of this. On my Samsung TV’s, the recently added movies populate like normal but the recently added TV shows take ~2 minutes to populate. I don’t even get that far on the Windows Plex app it just errors out and the Chrome App shows the error below.

VMware vSphere 6.5 ESXi > CentOS 7 Core > plexinc/pms-docker:plexpass

Edit:
Also checked accessing plex from iOS mobile apps and the dashboard will not load there either. Trying to look through the libraries on iOS takes several minutes to populate whereas on PC and my Samsung TVs they populate immediately. I have attempted restarting my both my VM and my containers as well. The new PMS release is not playing nice :frowning:

** I am also attaching my logs.

@mil1i said:
I am also having this issue where I receive the same error. HOWEVER, I allowed my database to rebuild from scratch this morning. I never even had this error until after it rebuilt the database from scratch. I stopped my plex docker, along with plexpy, sonarr and couchpotato, renamed my Database folder to Database.old and then launched plex by itself and allowed added my libraries back and let it rebuild itself.

Once it completed rebuilding I was able to fix miss-matched movies and start a movie and tv show and everything was working. Later today I added a new file and then when I launched my plex chrome app on my PC I received this “There was an unexpected error loading the dashboard.” I can still traverse through my libraries and watch shows and movies with no issues. The dashboard will not load though, and will not show me recently added because of this. On my Samsung TV’s, the recently added movies populate like normal but the recently added TV shows take ~2 minutes to populate. I don’t even get that far on the Windows Plex app it just errors out and the Chrome App shows the error below.

VMware vSphere 6.5 ESXi > CentOS 7 Core > plexinc/pms-docker:latest

Edit:
Also checked accessing plex from iOS mobile apps and the dashboard will not load there either. Trying to look through the libraries on iOS takes several minutes to populate whereas on PC and my Samsung TVs they populate immediately. I have attempted restarting my both my VM and my containers as well. The new PMS release is not playing nice :frowning:

** I am also attaching my logs.

Thanks for the logs and screenshot - always best to have full screenshot with url showing and time of day so that it can be matched to an entry in the logs !

The logs show a number of issues

  1. The requests to load the dashboard hubs is taking too long - in excess of the time expected

Examples

Aug 03, 2017 23:00:09.589 [0x7f0c6fffe700] DEBUG - Request: [10.0.0.61:52059 (Allowed Network)] GET /hubs?excludeFields=summary&count=12&includeEmpty=1&excludePlaylists=1 (20 live) TLS GZIP Signed-in Token (mil1i)

Aug 03, 2017 23:00:26.439 [0x7f0c7dfff700] DEBUG - Request: [10.0.0.61:52068 (Allowed Network)] GET /hubs?excludeFields=summary&count=12&includeEmpty=1&excludePlaylists=1 (20 live) TLS GZIP Signed-in Token (mil1i)

Aug 03, 2017 23:00:46.265 [0x7f0c7cfff700] DEBUG - Completed: [10.0.0.61:52059] 200 GET /hubs?excludeFields=summary&count=12&includeEmpty=1&excludePlaylists=1 (26 live) TLS GZIP 36675ms 5865 bytes (pipelined: 7)

Aug 03, 2017 23:01:04.383 [0x7f0c7c7fe700] DEBUG - Completed: [10.0.0.61:52068] 200 GET /hubs?excludeFields=summary&count=12&includeEmpty=1&excludePlaylists=1 (17 live) TLS GZIP 37944ms 5864 bytes (pipelined: 18)

These took about 37 seconds to complete

Optimizing the database should help with this
See Library Actions / Global Library Actions / Optimize Database on the support article
https://support.plex.tv/hc/en-us/articles/200392106-Library-Actions

  1. There are hundreds of errors to do with the local metadata files for TV Episodes
    Example
Aug 03, 2017 23:11:17.346 [0x7f0c6fffe700] ERROR - Error bringing media local (metadata://seasons/8/episodes/7/thumbs/com.plexapp.agents.localmedia_8deeebaebe7579abbaef408416e43155228788f5).

The TV Shows appear to have the Personal Media Shows agent. There seem to be a lot of errors looking into files within paths like this

f = open(filename, mode)
IOError: [Errno 2] No such file or directory: '/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/5/20f4eb1edd1a3f900a209c339b6fa4a03b59bb9.bundle/Contents/_combined/seasons/8/episodes/7.xml'

So may need to refresh all the metadata

@sa2000:
Whoa. So after reading this, all I did was run the Optimize Library… took all of 5 seconds to do. Now the dashboard is completely fixed and running properly on all devices. It loads instantly.

As for:

There are hundreds of errors to do with the local metadata files for TV Episodes
Example

Aug 03, 2017 23:11:17.346 [0x7f0c6fffe700] ERROR - Error bringing media local (metadata://seasons/8/episodes/7/thumbs/com.plexapp.agents.localmedia_8deeebaebe7579abbaef408416e43155228788f5)

The TV Shows appear to have the Personal Media Shows agent. There seem to be a lot of errors looking into files within paths like this

Both Personal Media Shows and Personal Media (movies) agent’s are greyed out for me and not able to be unchecked. I know they have been this way for quite some time. Is there a way to disable those two agents?

Also, for my TV library under Advanced > Agent [TheTVDB] is selected. For Movies, Agent [The Movie Database] is selected.

And for:

f = open(filename, mode)
IOError: [Errno 2] No such file or directory: '/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/5/20f4eb1edd1a3f900a209c339b6fa4a03b59bb9.bundle/Contents/_combined/seasons/8/episodes/7.xml'

So may need to refresh all the metadata

Would being able to disable the Personal Media Show agents resolve this issue? I just yesterday deleted the database and rebuilt from scratch. That is, I’m assuming rebuilding the database refreshes the metadata because I had to add the libraries back and match shows and movies again. This was all done post updating to version 1.8.

Eitherway, I ran a Refresh All on both libraries!

PS: THANK YOU FOR THE HELP!! :slight_smile:

I’m getting a 500 error. loading the dashboard since the update.

I’ve done all the database repair steps, which reduced my DB by about 10mb, no idea if that’s significant, I’ve also tried the library optimise. What I’m seeing is that the dashboard refuses to work, but everything else seems fine. I can browse my libraries, watch shows etc…

I’ve identified the call in the logs. It seems it’s trying to use a temp file that seems to disappear. It’s a different file for each call and none of those files exist, indeed the /2/ folder doesn’t exist either. I have no idea what it’s trying to do.

Any ideas on how to resolve this? Any additional information you need?

Aug 04, 2017 22:41:50.685 [0616] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 04, 2017 22:41:50.685 [0616] DEBUG - Auth: authenticated user 1 as MartinSGill
Aug 04, 2017 22:41:50.685 [0616] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 04, 2017 22:41:50.685 [4716] DEBUG - Request: [::ffff:XXXXXXXX13:58810 (Subnet)] GET /hubs?excludeFields=summary&count=12&includeEmpty=1&includeFeaturedTags=1&excludePlaylists=1 (8 live) TLS GZIP Signed-in Token (MartinSGill)
Aug 04, 2017 22:41:50.732 [4424] DEBUG - NAT: UPnP, found device <http://XXXXXXXX253:5000/Public_UPNP_gatedesc.xml> with private address <XXXXXXXX15>
Aug 04, 2017 22:41:50.747 [4424] DEBUG - NAT: UPnP, not connected or has no external IP: <http://XXXXXXXX253:5000/Public_UPNP_gatedesc.xml>(urn:schemas-upnp-org:service:WANIPConnection:1).
Aug 04, 2017 22:41:50.747 [4424] DEBUG - NAT: UPnP, not connected or has no external IP: <http://XXXXXXXX253:5000/Public_UPNP_gatedesc.xml>(urn:schemas-upnp-org:service:WANPPPConnection:1).
Aug 04, 2017 22:41:50.747 [4424] DEBUG - NAT: UPnP, getPublicIP didn't find usable IGD.
Aug 04, 2017 22:41:50.872 [4716] DEBUG - Requesting more shows since stacking only returned 30 items.
Aug 04, 2017 22:41:50.935 [4716] ERROR - SQLITE3:5BF0789C, 14, os_win.c:41841: (3) winOpen(C:\Users\martin\AppData\Local\Temp\2\etilqs_d87aHZNsyVEJu13) - The system cannot find the path specified.
Aug 04, 2017 22:41:50.935 [4716] ERROR - SQLITE3:5BF0789C, 14, cannot open file at line 41850 of [fc49f556e4]
Aug 04, 2017 22:41:50.935 [4716] ERROR - SQLITE3:5BF0789C, 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
Aug 04, 2017 22:41:50.935 [4716] ERROR - Soci Exception handled: sqlite3_statement_backend::loadRS: unable to open database file
Aug 04, 2017 22:41:50.935 [0616] DEBUG - Completed: [::ffff:XXXXXXXX13:58810] 500 GET /hubs?excludeFields=summary&count=12&includeEmpty=1&includeFeaturedTags=1&excludePlaylists=1 (7 live) TLS GZIP 240ms 478 bytes (pipelined: 4)

@MartinSGill said:
I’m getting a 500 error. loading the dashboard since the update.

I’ve done all the database repair steps, which reduced my DB by about 10mb, no idea if that’s significant, I’ve also tried the library optimise. What I’m seeing is that the dashboard refuses to work, but everything else seems fine. I can browse my libraries, watch shows etc…

I’ve identified the call in the logs. It seems it’s trying to use a temp file that seems to disappear. It’s a different file for each call and none of those files exist, indeed the /2/ folder doesn’t exist either. I have no idea what it’s trying to do.

Any ideas on how to resolve this? Any additional information you need?

Aug 04, 2017 22:41:50.685 [0616] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 04, 2017 22:41:50.685 [0616] DEBUG - Auth: authenticated user 1 as MartinSGill
Aug 04, 2017 22:41:50.685 [0616] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 04, 2017 22:41:50.685 [4716] DEBUG - Request: [::ffff:XXXXXXXX13:58810 (Subnet)] GET /hubs?excludeFields=summary&count=12&includeEmpty=1&includeFeaturedTags=1&excludePlaylists=1 (8 live) TLS GZIP Signed-in Token (MartinSGill)
Aug 04, 2017 22:41:50.732 [4424] DEBUG - NAT: UPnP, found device <http://XXXXXXXX253:5000/Public_UPNP_gatedesc.xml> with private address <XXXXXXXX15>
Aug 04, 2017 22:41:50.747 [4424] DEBUG - NAT: UPnP, not connected or has no external IP: <http://XXXXXXXX253:5000/Public_UPNP_gatedesc.xml>(urn:schemas-upnp-org:service:WANIPConnection:1).
Aug 04, 2017 22:41:50.747 [4424] DEBUG - NAT: UPnP, not connected or has no external IP: <http://XXXXXXXX253:5000/Public_UPNP_gatedesc.xml>(urn:schemas-upnp-org:service:WANPPPConnection:1).
Aug 04, 2017 22:41:50.747 [4424] DEBUG - NAT: UPnP, getPublicIP didn't find usable IGD.
Aug 04, 2017 22:41:50.872 [4716] DEBUG - Requesting more shows since stacking only returned 30 items.
Aug 04, 2017 22:41:50.935 [4716] ERROR - SQLITE3:5BF0789C, 14, os_win.c:41841: (3) winOpen(C:\Users\martin\AppData\Local\Temp\2\etilqs_d87aHZNsyVEJu13) - The system cannot find the path specified.
Aug 04, 2017 22:41:50.935 [4716] ERROR - SQLITE3:5BF0789C, 14, cannot open file at line 41850 of [fc49f556e4]
Aug 04, 2017 22:41:50.935 [4716] ERROR - SQLITE3:5BF0789C, 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
Aug 04, 2017 22:41:50.935 [4716] ERROR - Soci Exception handled: sqlite3_statement_backend::loadRS: unable to open database file
Aug 04, 2017 22:41:50.935 [0616] DEBUG - Completed: [::ffff:XXXXXXXX13:58810] 500 GET /hubs?excludeFields=summary&count=12&includeEmpty=1&includeFeaturedTags=1&excludePlaylists=1 (7 live) TLS GZIP 240ms 478 bytes (pipelined: 4)

Your problem is the microsoft apparent recent change to make Per Session Temp Directory the default policy for Windows Servers Platforms RDP

The log shows it is looking for Temp\2 rather than Temp

Options available to you

  • not use RDP for Plex Media Server
  • Change the policy / setting in windows so that Per Session Directory or Delete Temp at end of session are not set

See this mictosoft article
technet.microsoft.com/en-us/library/cc755098(v=ws.11).aspx

@mil1i said:
@sa2000:
Whoa. So after reading this, all I did was run the Optimize Library… took all of 5 seconds to do. Now the dashboard is completely fixed and running properly on all devices. It loads instantly.

That was always the main reason for dashboard loading issues. Plex Media Server does schedule optimizations periodically

@mil1i said:
As for:

There are hundreds of errors to do with the local metadata files for TV Episodes
Example

Aug 03, 2017 23:11:17.346 [0x7f0c6fffe700] ERROR - Error bringing media local (metadata://seasons/8/episodes/7/thumbs/com.plexapp.agents.localmedia_8deeebaebe7579abbaef408416e43155228788f5)

The TV Shows appear to have the Personal Media Shows agent. There seem to be a lot of errors looking into files within paths like this

Both Personal Media Shows and Personal Media (movies) agent’s are greyed out for me and not able to be unchecked. I know they have been this way for quite some time. Is there a way to disable those two agents?

Also, for my TV library under Advanced > Agent [TheTVDB] is selected. For Movies, Agent [The Movie Database] is selected.

Eitherway, I ran a Refresh All on both libraries!

The [TheTVDB] agent is the right agent
Hopefully the data will be corrected once all media files are processed and scans made

As another person with this issue - does anyone at Plex maybe consider that there’s a bug…?

I have tried Optimising the Database, done the repair process etc. and still nothing works to let the Dashboard load. It’s always worked before and this upgrade has broken it.

@leepa said:
As another person with this issue - does anyone at Plex maybe consider that there’s a bug…?

I have tried Optimising the Database, done the repair process etc. and still nothing works to let the Dashboard load. It’s always worked before and this upgrade has broken it.

There are at least 3 reasons for this to arise

  • pre-existing database corruption that impacts the database schema changes for 1.8.0.4109
  • windows servers platform with Microsoft changes to default of Per Session Temp Directory for RDP
  • database needs to be optimized (there is periodic scheduled optimization as part of scheduled tasks)
  • I went through the repair process (it was a relatively new install and it’s on a machine with ECC memory… so corruption? Not likely)
  • Checked that - and nope.
  • Did that and it was still broken

@leepa said:

  • I went through the repair process (it was a relatively new install and it’s on a machine with ECC memory… so corruption? Not likely)
  • Checked that - and nope.
  • Did that and it was still broken

Without logs with debug logging enabled and covering the time of the problem and preferably after a restart of the server - i cannot help you and we can talk about problems forever - without logs we get nowhere - Logs are needed to actually understand an issue

See
https://support.plex.tv/hc/en-us/articles/201643703-Reporting-issues-with-Plex-Media-Server
https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files

@sa2000 said:
Your problem is the microsoft apparent recent change to make Per Session Temp Directory the default policy for Windows Servers Platforms RDP

The log shows it is looking for Temp\2 rather than Temp

Options available to you

  • not use RDP for Plex Media Server
  • Change the policy / setting in windows so that Per Session Directory or Delete Temp at end of session are not set

See this mictosoft article
technet.microsoft.com/en-us/library/cc755098(v=ws.11).aspx

Thanks @sa2000 that resolved my issue.

@sa2000 I’d also like to point out that if plex were an actual real service, this wouldn’t be an issue. My plex server is headless, so remote desktop is the only way to access it.