"There was an unexpected error loading the dashboard"

This discussion was created from comments split from: “There was an unexpected error loading the dashboard”.

Same error exists with Docker plex from https://hub.docker.com/r/plexinc/pms-docker/

Have tested plexpass version and 1.10.0.4523-648bc61d4 to check if this was newly introduced error. Im not sure where or how to start debug this, and people here has had same error before, so that is why I ask here

@clokset said:
Same error exists with Docker plex from Docker

Have tested plexpass version and 1.10.0.4523-648bc61d4 to check if this was newly introduced error. Im not sure where or how to start debug this, and people here has had same error before, so that is why I ask here

Failure to load dashboard would normally be due to database fragmentation / slow responses from the server / database corruption.

So ensure first you run a database optimization - see https://support.plex.tv/articles/200392106-library-actions/

If problem persists, ensure the server has debug logging enabled
see https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

Restart the server (even if debug logging already enabled) to get fresh logs created
Reproduce the problem
Take a screenshot of the error with time showing or note down time of error
Collect the server logs
https://support.plex.tv/articles/200250417-plex-media-server-log-files/
Attach the logs zip and screenshot / time of error


I did this debuglog earlier.

Curious about the full disk, as I have about 3TB free on the drive.
I always the the Statement aborts at 668, no other errors.

@clokset said:


I did this debuglog earlier.

Curious about the full disk, as I have about 3TB free on the drive.
I always the the Statement aborts at 668, no other errors.

with debug logging enabled and full logs after a restart of the server, one can see then what paths are being accessed

Full log attached

@clokset said:
Full log attached

Thanks

The path is /config/Library/Application Support/Plex Media Server/Plug-in Support/Databases

However, sqlite3 also uses the temp area so need to check what free space exists there

The request that was failing which you could test in a browser was this
http://192.168.1.2:32400/hubs?excludeFields=summary&count=12&includeEmpty=1&includeFeaturedTags=1&excludePlaylists=1&X-Plex-Token=xxxxxxxxxxxxxx
You would need to include the token string - see https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

I did a test and the Plex Media Server did loads of writes on my system to files like this C:\Users\plex\AppData\Local\Temp\etilqs_CZXMkcJ9pv0kfuA whilst processing the request and this is done by sqlite3 module within Plex Media Server - so do find out what you defined for temp and if there is space

Problem solved from my side… Solution: Drop official Plex Docker image, and use Linuxserver’s image.

I dont know what messed up everything, but it looks OK for now

@clokset said:
Problem solved from my side… Solution: Drop official Plex Docker image, and use Linuxserver’s image.

I dont know what messed up everything, but it looks OK for now

It is likely that whatever was wrong got corrected in the process of creating the new container

I am going to move your posts to the docker Plex Media Server forum

@clokset I moved the posts from windows forum to docker

@sa2000 - Same trouble is back again in docker. I have attached full boot Debug log.

This time I have also given tmp access to disk to make sure plex has enough space.

I have no idea what is wrong, and this error started after Christmas for me.