Versions
- Server Version: 1.15.2.793
- Player Version: 3.83.1 Web Client (Firefox 66.0.1)
- OS Version: Manjaro Linux 18.0.4
- Linux Kernel: 4.20.17-1-MANJARO
The Problem
When I load the Plex dashboard on the web I get an error message stating “There was an unexpected error loading the dashboard.” Attempting to load the dashboard on the iOS and Android apps results in a screen saying the server is offline.
If I load the movies and TV shows libraries with the web client, it works fine, however, loading the TV shows library on the iOS and Android apps doesn’t work.
Web Console Logs
Looking at the web console provides a bit more information
[Connections] DoA-Server is unavailable at https://172-17-0-1.98b1b85c31084f1a868b781ee7588a2d.plex.direct:32400/media/providers (Status 0)
XML Parsing Error: no root element found
Location: https://10-0-0-111.98b1b85c31084f1a868b781ee7588a2d.plex.direct:32400/player/proxy/poll?deviceClass=pc&protocolVersion=1&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1&X-Plex-Product=Plex%20Web&X-Plex-Version=3.83.1&X-Plex-Client-Identifier=5n4onzf88goosakzpb8dfftq&X-Plex-Platform=Firefox&X-Plex-Platform-Version=66.0&X-Plex-Sync-Version=2&X-Plex-Device=OSX&X-Plex-Device-Name=Firefox&X-Plex-Device-Screen-Resolution=1920x1103%2C1920x1200&X-Plex-Token=[redacted]&X-Plex-Language=en
Line Number 1, Column 1:
PMS Logs
Full PMS logs: Plex Media Server.log (197.3 KB)
Interesting bits:
Mar 24, 2019 18:12:29.584 [0x7fd103fff700] ERROR - Caught exception trying to stream file: /usr/lib/plexmediaserver/Resources/Plug-ins-782228f99/WebClient.bundle/Contents/Resources/favicon.ico: write: Broken pipe
Mar 24, 2019 18:19:37.320 [0x7fd1477fe700] ERROR - [PlexRelay] kex protocol error: type 7 seq 11
Mar 24, 2019 18:19:38.415 [0x7fd0eaffd700] ERROR - SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a]
Mar 24, 2019 18:19:38.415 [0x7fd0eaffd700] ERROR - SQLITE3:(nil), 11, statement aborts at 76: [select media_items.id as 'media_items_id', media_items.library_section_id as 'media_items_library_section_id', media_items.section_location_id as 'media_items_section_location_id', med
Mar 24, 2019 18:19:38.415 [0x7fd0eaffd700] ERROR - Soci Exception handled: sqlite3_statement_backend::loadRS: database disk image is malformed
My Attempted Solutions
- Restarting Plex
- No change
- Restarting server
- No change
- Reverting to a 3 day old database backup
- No change
- Attempting a recovery of the apparently corrupt database per the instruction here
- Without modifying the file at all
"PRAGMA integrity_check"returnsError: no such collation sequence: naturalsort - After DROPping the naturalsort index:
*** in database main *** Page 79988: btreeInitPage() returns error code 11 Error: database disk image is malformed - I attempted to run a repair
- The
dump.sqlfile is 80mb (about what I’d expect given the .db file’s 85mb) - When I try to rebuild the
com.plexapp.plugins.library.db, I end up with a .db file with 0 bits
- The
- Without modifying the file at all
I’m not really sure where to go from here.