Hi all,
I just updated my PMS from 1.14.1.5488 to 1.15.6.1079 on my Mac, and now I, too, am receiving a 500 error when I try to browse to http://127.0.0.1:32400/web/index.html. I attempted the database repair as outlined in the links above, but each time, the restore of the database from the “dump.sql” file results in a 0 kb com.plexapp.plugins.library.db, and Plex won’t start up. I REALLY don’t want to have to dump my database and start over. Can anyone advise? I was going to try to just downgrade back to 1.14.1.5488 (I’ve downgraded in the past due to upgrade issues), but I can’t seem to find instructions anywhere on how to do that, and it’s been too long since I last downgraded for me to remember how.
Not sure if this is needed, but here’s what I see in the PMS log when the server starts:
Jun 08, 2019 12:49:58.351 [0x700009727000] INFO - Plex Media Server v1.15.6.1079-78232c603 - Apple Mac x86_64 - build: darwin-x86_64 macos - GMT -05:00
Jun 08, 2019 12:49:58.352 [0x700009727000] INFO - MacOSX version: 10.13.6, language: en-US
Jun 08, 2019 12:49:58.352 [0x700009727000] INFO - Processor Intel® Core™ i5-2520M CPU @ 2.50GHz
Jun 08, 2019 12:49:58.352 [0x700009727000] INFO - /Applications/Plex Media Server.app/Contents/MacOS/Plex Media Server
Jun 08, 2019 12:49:58.534 [0x7000099b6000] DEBUG - BPQ: [Idle] -> [Starting]
Jun 08, 2019 12:49:58.535 [0x7000099b6000] DEBUG - FeatureManager: Using cached data for features list
Jun 08, 2019 12:49:58.536 [0x7000099b6000] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1
Jun 08, 2019 12:49:58.537 [0x7000099b6000] INFO - SQLITE3:0x101, 283, recovered 107 frames from WAL file /Users/chris/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
Jun 08, 2019 12:49:58.696 [0x7000099b6000] DEBUG - Running migrations. (EPG 0)
Jun 08, 2019 12:49:58.699 [0x7000099b6000] DEBUG - Running forward migration 20181210190600.
Jun 08, 2019 12:49:58.699 [0x7000099b6000] DEBUG - Captured session 0.
Jun 08, 2019 12:49:58.699 [0x7000099b6000] DEBUG - Captured session 1.
Jun 08, 2019 12:49:58.699 [0x7000099b6000] DEBUG - Captured session 2.
Jun 08, 2019 12:49:58.699 [0x7000099b6000] DEBUG - Captured session 3.
Jun 08, 2019 12:49:58.699 [0x7000099b6000] DEBUG - Captured session 4.
Jun 08, 2019 12:49:58.699 [0x7000099b6000] DEBUG - Captured session 5.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 6.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 7.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 8.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 9.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 10.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 11.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 12.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 13.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 14.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 15.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 16.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 17.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 18.
Jun 08, 2019 12:49:58.700 [0x7000099b6000] DEBUG - Captured session 19.
Jun 08, 2019 12:49:58.823 [0x7000099b6000] ERROR - SQLITE3:0x101, 11, database corruption at line 64757 of [bf8c1b2b7a]
Jun 08, 2019 12:49:58.823 [0x7000099b6000] ERROR - SQLITE3:0x101, 11, database corruption at line 64798 of [bf8c1b2b7a]
Jun 08, 2019 12:49:58.823 [0x7000099b6000] ERROR - SQLITE3:0x101, 11, statement aborts at 27: [update statistics_bandwidth set timespan=(-1 - timespan)] database disk image is malformed
Jun 08, 2019 12:49:58.824 [0x7000099b6000] ERROR - Exception inside transaction (inside=1) (…/Library/DatabaseMigrations.cpp:206): sqlite3_statement_backend::loadOne: database disk image is malformed
Jun 08, 2019 12:49:58.856 [0x7000099b6000] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed
and then eventually start getting logs like this:
Jun 08, 2019 12:50:16.782 [0x70000aa99000] ERROR - SQLITE3:0x101, 1, no such column: devices.platform in "select devices.id as ‘devices_id’, devices.identifier as ‘devices_identifier’, devices.name as ‘devices_name’, devices.created_at as ‘devices_created_at’, devices.updated_a
Jun 08, 2019 12:50:16.782 [0x70000aa99000] ERROR - Soci Exception handled: sqlite3_statement_backend::prepare: no such column: devices.platform for SQL: select devices.id as ‘devices_id’, devices.identifier as ‘devices_identifier’, devices.name as ‘devices_name’, devices.created_at as ‘devices_created_at’, devices.updated_at as ‘devices_updated_at’, devices.platform as ‘devices_platform’ from devices where identifier=?
Jun 08, 2019 12:50:16.782 [0x70000aa16000] ERROR - SQLITE3:0x101, 1, no such column: devices.platform in "select devices.id as ‘devices_id’, devices.identifier as ‘devices_identifier’, devices.name as ‘devices_name’, devices.created_at as ‘devices_created_at’, devices.updated_a
Jun 08, 2019 12:50:16.782 [0x70000aa16000] ERROR - Soci Exception handled: sqlite3_statement_backend::prepare: no such column: devices.platform for SQL: select devices.id as ‘devices_id’, devices.identifier as ‘devices_identifier’, devices.name as ‘devices_name’, devices.created_at as ‘devices_created_at’, devices.updated_at as ‘devices_updated_at’, devices.platform as ‘devices_platform’ from devices where identifier=?
Jun 08, 2019 12:50:16.782 [0x70000ab9f000] ERROR - SQLITE3:0x101, 1, no such column: devices.platform in "select devices.id as ‘devices_id’, devices.identifier as ‘devices_identifier’, devices.name as ‘devices_name’, devices.created_at as ‘devices_created_at’, devices.updated_a
Any help would be much appreciated. It’s cold and rainy today, and the kids are getting restless…