Error Code [Mod Edit: Database Corruption]

Server Version#:6.11.5
Player Version#: latest
The plex server itself is crashing when opening webui i get this

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Response code="503" title="Maintenance" status="Plex Media Server is currently running database migrations."/>

. When I check the logs I see this error code Error: Unable to set up server: sqlite3_statement_backend::loadOne: database disk image is malformed (N4soci10soci_errorE). Any help would be greatly appreciated.

The XML message is telling you Plex is performing database maintenance. This is common when updating to a new version, since the schema frequently changes.

Unfortunately, based on the error message, the database is malformed (corrupted), so the migration cannot complete.

I’m unfamiliar with Unraid. If you are running Plex in a Docker container, you can use the DBRepair Utility to try and fix the database: GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases.

If you cannot use the utility, see Repair a Corrupted Database.

Hopefully others more familiar with Unraid can assist.

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