Plex won't load database after 1.40 update. Tried the database repair, and let it sit for 12 hours

Server Version#: 1.40.0.7998
Player Version#: 4.123.2
Logs: Logs.zip - Google Drive

I have tried just about everything to get 1.40 to open my database. I did the Plex built in database checker, everything came back ok. I tried the database repair and everything came back ok. I tried letting it sit for 12 hours thinking I wasn’t waiting long enough (database it 417mb) and it still didn’t work. I;m at my wits end, does anyone have any idea’s whats going?

Your database is still defective.
Mar 13, 2024 23:11:44.776 [9328] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadRS: database disk image is malformed

  1. Make sure the Plex server is NOT running.
  2. ensure there is plenty of free space on drive D:
  3. Go back to a previous backup (don’t forget to restore the accompanying blobs database file as well), https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/
  4. then run the repair .bat file (don’t do the manual database check from the support article, it can miss some things and is therefore not conclusive)
    GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases

Only after performing step 4, try and start Plex server again.
It will again be performing the database update, so be patient.

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