I previously had Plex Media Server 1.0.3.2461 running on my Windows Home Server 2011 box using Plex Service 1.0.1 and all was well. But recently when I would try to access my media remotely using the Plex App for Android, it would tell me that I need to update Plex. So, I downloaded the latest version 1.13.5.5291, stopped the Plex Service, installed the update, and tried to restart the Plex Service. Now Plex just keeps starting and crashing over and over. I exited the Plex Service and tried running it manually and it does the same thing. Below are the end of the logs where it crashes (I cant attach the entire log). Any ideas? Thanks!
Aug 01, 2018 15:48:28.180 [5488] DEBUG - Captured session 19.
Aug 01, 2018 15:48:28.196 [5488] ERROR - SQLITE3:0xe1a5972, 11, database corruption at line 79221 of [fc49f556e4]
Aug 01, 2018 15:48:28.196 [5488] ERROR - SQLITE3:0xe1a5972, 11, statement aborts at 16: [CREATE INDEX ‘index_media_items_on_begins_at’ ON ‘media_items’ (‘begins_at’)] database disk image is malformed
Aug 01, 2018 15:48:28.196 [5488] ERROR - Exception inside transaction (inside=1) (…\Library\DatabaseMigrations.cpp:196): sqlite3_statement_backend::loadOne: database disk image is malformed
Aug 01, 2018 15:48:28.196 [5488] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed
Aug 01, 2018 15:48:28.289 [5488] DEBUG - ChangestampAllocator: initialized to 770166
Aug 01, 2018 15:48:28.289 [5488] DEBUG - Opening 2 database sessions to library (com.plexapp.plugins.library.blobs), SQLite 3.13.0, threadsafe=1
Aug 01, 2018 15:48:28.305 [5488] INFO - SQLITE3:0xe1a5972, 283, recovered 1289 frames from WAL file C:\Users\Administrator\AppData\Local\Plex Media Server\Plug-in Support\Databases\com.plexapp.plugins.library.blobs.db-wal
Aug 01, 2018 15:48:28.305 [5488] DEBUG - Running migrations.
Aug 01, 2018 15:48:28.305 [4976] DEBUG - Codecs: Downloading current version of h264 decoder
Aug 01, 2018 15:48:28.305 [4976] INFO - CodecManager: obtaining decoder ‘h264’
Aug 01, 2018 15:48:28.305 [4976] DEBUG - Relay: read 0 cached entries from hosts file
Aug 01, 2018 15:48:28.305 [4976] DEBUG - HTTP requesting GET https://plex.tv/api/codecs/h264_decoder?build=windows-i386&deviceId=c8a121b3-016a-4e06-a736-21496b04a106&oldestPreviousVersion=legacy&version=e944d3a-1309
Aug 01, 2018 15:48:29.350 [5488] DEBUG - CERT: Installed certificate with fingerprint 48:8f:e1:e8:ca:f4:b7:05:0d:e8:a4:cf:fb:3f:b8:c1:aa:d3:01:01.
Aug 01, 2018 15:48:29.350 [5488] DEBUG - CERT: Installed new private key.
Aug 01, 2018 15:48:29.350 [5488] DEBUG - CERT: Subject name is /C=US/ST=CA/L=Los Gatos/O=Plex, Inc./CN=*.0313ec9e6f8045efa891bd5e075c5d67.plex.direct
Aug 01, 2018 15:48:29.350 [5488] DEBUG - CERT: OCSP requests for stapling will be made to ‘http://ocspx.digicert.com/’.
Aug 01, 2018 15:48:29.350 [5488] INFO - OCSP: Successfully retrieved response from cache.
Aug 01, 2018 15:48:29.350 [5488] DEBUG - CERT: Installed intermediate certificate.
Aug 01, 2018 15:48:29.350 [5488] DEBUG - NetworkInterface: ignoring adapter ‘Loopback Pseudo-Interface 1’ (::1,127.0.0.1) because it has no gateway
Aug 01, 2018 15:48:29.350 [5488] DEBUG - HttpServer: Listening on port 32400 with queue of 2147483647 connections.
Aug 01, 2018 15:48:29.350 [5488] DEBUG - HttpServer: Listening on port 32401 with queue of 2147483647 connections.
Aug 01, 2018 15:48:29.366 [5908] DEBUG - DVR:Grabber: Cleaning up orphaned grabs.
Aug 01, 2018 15:48:29.366 [5488] ERROR - SQLITE3:0xe1a5972, 1, no such table: media_provider_resources
Aug 01, 2018 15:48:29.366 [5488] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: media_provider_resources for SQL: select media_provider_resources.id as ‘media_provider_resources_id’, media_provider_resources.parent_id as ‘media_provider_resources_parent_id’, media_provider_resources.type as ‘media_provider_resources_type’, media_provider_resources.status as ‘media_provider_resources_status’, media_provider_resources.state as ‘media_provider_resources_state’, media_provider_resources.identifier as ‘media_provider_resources_identifier’, media_provider_resources.protocol as ‘media_provider_resources_protocol’, media_provider_resources.uri as ‘media_provider_resources_uri’, media_provider_resources.uuid as ‘media_provider_resources_uuid’, media_provider_resources.extra_data as ‘media_provider_resources_extra_data’, media_provider_resources.last_seen_at as ‘media_provider_resources_last_seen_at’, media_provider_resources.created_at as ‘media_provider_resources_created_at’, media_provider_resources.updated_at as ‘media_provider_resources_updated_at’ from media_provider_resources where type=? (class soci::soci_error)