MAC Plex server starts and fails instantly: ERROR - Database corruption..... database disk image is

server-mac

#1

I have had a search of the forum bit cannot find anything specific, I am assuming that I am going to have to completely wipe Plex and reinstall, anyone got a better suggestion as I dont want to lose everything....

Log below:

Jan 11, 2018 22:07:41.161 [0x70000b9a0000] INFO - Plex Media Server v1.10.1.4602-f54242b6b - Apple Mac - build: darwin-x86_64 macosx - GMT 00:00
Jan 11, 2018 22:07:41.162 [0x70000b9a0000] INFO - MacOSX version: 10.12.6, language: en-GB
Jan 11, 2018 22:07:41.162 [0x70000b9a0000] INFO - Processor Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Jan 11, 2018 22:07:41.162 [0x70000b9a0000] INFO - /Users/leedaffin/Applications/Plex Media Server.app/Contents/MacOS/Plex Media Server
Jan 11, 2018 22:07:41.409 [0x70000bc2f000] DEBUG - BPQ: [Idle] -> [Starting]
Jan 11, 2018 22:07:41.423 [0x70000bc2f000] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.13.0, threadsafe=1
Jan 11, 2018 22:07:41.459 [0x70000bc2f000] INFO - SQLITE3:0x70000bc2e630, 283, recovered 9 frames from WAL file /Users/leedaffin/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
Jan 11, 2018 22:07:41.460 [0x70000bc2f000] ERROR - SQLITE3:0x70000bc2e630, 11, database corruption at line 60663 of [fc49f556e4]
Jan 11, 2018 22:07:41.460 [0x70000bc2f000] ERROR - SQLITE3:0x70000bc2e630, 11, database disk image is malformed
Jan 11, 2018 22:07:41.495 [0x70000bc2f000] ERROR - Database corruption: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000
Jan 11, 2018 22:07:41.495 [0x70000bc2f000] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)


#2

I removed everything and reinstalled, joy....


#3

if you get corruptions again - you could look into attempting to repair
https://support.plex.tv/articles/201100678-repair-a-corrupt-database/
or restore from scheduled backup if not possible to repair
https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/