which version did you update from?
It’s complaining, which all of the 1.40.x versions do now, if there’s the slightest error in the DB. It’s very strict now.
May 23, 2024 22:06:54.137 [3017820728] ERROR - SQLITE3:0xb7fbaf74, 267, statement aborts at 10: [update metadata_items set originally_available_at = iif(typeof(originally_available_at) in (‘integer’, ‘real’), originally_available_at, strftime(‘%s’, originally_available_at)), available_at = iif(typeof(available_at) in (‘integer’, ‘real’), available_at, strftime(‘%s’, available_at, ‘utc’)), expires_at = iif(typeof(expires_at) in (‘integer’, ‘real’), expires_at, strftime(‘%s’, expires_at, ‘utc’)), refreshed_at = iif(typeof(refreshed_at) in (‘integer’, ‘real’), refreshed_at, strftime(‘%s’, refreshed_at, ‘utc’)), added_at = iif(typeof(added_at) in (‘integer’, ‘real’), added_at, strftime(‘%s’, added_at, ‘utc’)), created_at = iif(typeof(created_at) in (‘integer’, ‘real’), created_at, strftime(‘%s’, created_at, ‘utc’)), updated_at = ii
May 23, 2024 22:06:54.178 [3017820728] ERROR - Exception inside transaction (inside=1) (/home/runner/actions-runner/_work/plex-media-server/plex-media-server/Library/DatabaseMigrations.cpp:293): sqlite3_statement_backend::loadOne: database disk image is malformed
If it’s easier - Options -
- Try my DBRepair in case this is a simple corruption in the DB.
- Save the DBs (move off to the side)
- Create fresh
- Import watch history from the old DB.
- Delete old DB after all data import verified.