Server Version#: 1:32:2 OR - -
Player Version#: Apple TV latest
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
Got a notification on Apple TV player last night there was a new version of PMS, I said go ahead overnight.
I had also switched off ipv6 last night as I’ve been having the data transfer failed bug that @ChuckPa has been so helpful in trying to eradicate.
Ran fine after switching off last night so I think that’s a red herring; I think the update borked it.
App will try and start (on mac osx high Sierra), appears in taskbar, spins launching and then crashes. Log included below.
Hardware is a hackintosh that’s happily run for over a decade with various updates, and obviously hasn’t been updated in a few years as stable on HS.
Log indicates a database issue. I’ve backed up prefs file and app support folder, Ive re-downloaded the app, done a clean install and then swapped out prefs file (loads fine), and then app support (crashes).
Can anyone tell me what I need to remove to get it to load and rebuild the database; and whether that’ll scupper me for progress through shows/movies?
Thanks pals
————————
CRASH LOG
———————
[0x700000dce000] INFO - Plex Media Server v1.32.1.6999-91e1e2e2c - Apple iMac14,2 x86_64 - build: darwin-x86_64 macos - GMT 01:00
May 10, 2023 00:03:25.232 [0x700000dce000] INFO - MacOSX version: 10.14.6, language: en-GB
May 10, 2023 00:03:25.233 [0x700000dce000] INFO - Processor: 8-core Intel(R) Core™ i7 CPU 860 @ 2.80GHz
May 10, 2023 00:03:25.234 I[0x700000dce000] INFO - Compiler is - Clang 11.0.1 (https://plex.tv b587490162c22e078c314e3f7dc560c691d126aa)
May 10, 2023 00:03:25.234 [0x700000dce000] INFO - /Applications/Plex Media Server.app/Contents/MacOS/Plex Media Server
May 10, 2023 00:03:27.151 [0x700000ed4000] DEBUG - [JobRunner] Job running: “/Applications/Plex Media Server.app/Contents/MacOS/CrashUploader” “–directory=/Users/marked1/Library/Application Support/Plex Media Server/Crash Reports/1.32.1.6999-91e1e2e2c” --version=1.32.1.6999-91e1e2e2c --platform=MacOSX --platformVersion=10.14.6 --serverUuid=bcb1f9e5f328e3b889d36c53fa0a613443878250 --userId=mark.ed@me.com --sentryUrl=https://o17675.ingest.sentry.io/api/1233455/minidump/ --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --vendor=Apple --model=x86_64 --device=iMac14,2
May 10, 2023 00:03:27.200 [0x700000ed4000] DEBUG - [JobRunner] Jobs: Starting child process with pid 884
May 10, 2023 00:03:28.060 [0x700000fda000] DEBUG - BPQ: [Idle] → [Starting]
May 10, 2023 00:03:28.069 [0x700000fda000] DEBUG - FeatureManager: Using cached data for features list
May 10, 2023 00:03:28.381 [0x700000fda000] DEBUG - [CERT] Subject name is /CN=.bc3d670a4bc34f25b5bc365e78992fbf.plex.direct
May 10, 2023 00:03:28.382 [0x700000fda000] DEBUG - [CERT] Installed certificate with fingerprint a0:35:4b:e4:03:c7:4e:a4:1b:4b:27:d3:4b:82:48:1c:01:57:61:4e.
May 10, 2023 00:03:28.382 [0x700000fda000] DEBUG - [CERT/OCSP] Stapling requests will be made to ‘http://r3.o.lencr.org/’.
May 10, 2023 00:03:28.384 [0x700000fda000] INFO - [CERT/OCSP] Successfully retrieved response from cache.
May 10, 2023 00:03:28.385 [0x700000fda000] DEBUG - HttpServer: Listening on port 32400.
May 10, 2023 00:03:28.402 [0x700000fda000] DEBUG - HttpServer: Listening on port 32401.
May 10, 2023 00:03:28.402 [0x700000fda000] DEBUG - Running server…
May 10, 2023 00:03:28.402 [0x700001269000] DEBUG - HttpServer: Set up a thread pool with 2 threads.
May 10, 2023 00:03:28.404 [0x700000fda000] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.39.4, threadsafe=1
May 10, 2023 00:03:28.445 [0x700000fda000] INFO - SQLITE3:(nil), 283, recovered 40 frames from WAL file /Users/marked1/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
May 10, 2023 00:03:28.687 [0x700000fda000] INFO - Running migrations. (EPG 0)
May 10, 2023 00:03:28.703 [0x700000fda000] DEBUG - Captured session 0.
May 10, 2023 00:03:28.703 [0x700000fda000] DEBUG - Captured session 1.
May 10, 2023 00:03:28.703 [0x700000fda000] DEBUG - Captured session 2.
May 10, 2023 00:03:28.703 [0x700000fda000] DEBUG - Captured session 3.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 4.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 5.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 6.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 7.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 8.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 9.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 10.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 11.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 12.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 13.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 14.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 15.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 16.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 17.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 18.
May 10, 2023 00:03:28.704 [0x700000fda000] DEBUG - Captured session 19.
May 10, 2023 00:03:28.706 [0x700000fda000] DEBUG - Captured session 0.
May 10, 2023 00:03:28.706 [0x700000fda000] DEBUG - Captured session 1.
May 10, 2023 00:03:28.706 [0x700000fda000] DEBUG - Captured session 2.
May 10, 2023 00:03:28.706 [0x700000fda000] DEBUG - Captured session 3.
May 10, 2023 00:03:28.706 [0x700000fda000] DEBUG - Captured session 4.
May 10, 2023 00:03:28.706 [0x700000fda000] DEBUG - Captured session 5.
May 10, 2023 00:03:28.716 [0x700000fda000] DEBUG - Captured session 6.
May 10, 2023 00:03:28.716 [0x700000fda000] DEBUG - Captured session 7.
May 10, 2023 00:03:28.716 [0x700000fda000] DEBUG - Captured session 8.
May 10, 2023 00:03:28.716 [0x700000fda000] DEBUG - Captured session 9.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 10.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 11.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 12.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 13.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 14.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 15.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 16.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 17.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 18.
May 10, 2023 00:03:28.717 [0x700000fda000] DEBUG - Captured session 19.
May 10, 2023 00:03:28.717 [0x700000fda000] INFO - Analyzing database.
May 10, 2023 00:03:46.038 [0x700000fda000] INFO - Vacuuming database.
May 10, 2023 00:04:08.289 [0x700000fda000] ERROR - SQLITE3:(nil), 11, database corruption at line 59420 of [a29f994989]
May 10, 2023 00:04:08.289 [0x700000fda000] ERROR - SQLITE3:(nil), 11, statement aborts at 7: [INSERT INTO vacuum_db.‘fts4_metadata_titles_docsize’ SELECTFROM"main".‘fts4_metadata_titles_docsize’] database disk image is malformed
May 10, 2023 00:04:08.340 [0x700000fda000] ERROR - SQLITE3:(nil), 11, statement aborts at 1: [VACUUM] database disk image is malformed
May 10, 2023 00:04:08.492 [0x700000fda000] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed
May 10, 2023 00:04:09.191 [0x700000fda000] DEBUG - ChangestampAllocator: initialized to 144147734
May 10, 2023 00:04:09.280 [0x700000fda000] DEBUG - Opening 2 database sessions to library (com.plexapp.plugins.library.blobs), SQLite 3.39.4, threadsafe=1
May 10, 2023 00:04:09.288 [0x700000fda000] INFO - SQLITE3:(nil), 283, recovered 21 frames from WAL file /Users/marked1/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db-wal
May 10, 2023 00:04:09.321 [0x700000fda000] INFO - Running migrations. (EPG 0)
May 10, 2023 00:04:09.325 [0x700000fda000] DEBUG - Captured session 0.
May 10, 2023 00:04:09.325 [0x700000fda000] DEBUG - Captured session 1.
May 10, 2023 00:04:10.527 [0x700000c45000] DEBUG - [GPU] Got device: AMD Radeon RX 560, amd@unknown, default true, best true, ID 1000003da, DevID [1002:67ef:1da2:e348], flags 0x1
May 10, 2023 00:04:10.717 [0x700000c45000] DEBUG - Grabber: Cleaning up orphaned grabs.
May 10, 2023 00:04:10.723 [0x700000fda000] DEBUG - Media Provider: Registering provider com.plexapp.plugins.library
May 10, 2023 00:04:10.724 [0x700000cc8000] DEBUG - MyPlex: mapping state set to ‘Unknown’.
May 10, 2023 00:04:10.724 [0x700000fda000] DEBUG - Auth: Refreshing tokens inside the token-based authentication filter.
May 10, 2023 00:04:10.729 [0x700000cc8000] DEBUG - Relay: read 58 cached entries from hosts file
May 10, 2023 00:04:10.741 [0x700000fda000] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx
May 10, 2023 00:04:10.743 [0x700000fda000] DEBUG - MyPlex: updating with 9 access tokens
May 10, 2023 00:04:10.746 [0x700000fda000] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx
May 10, 2023 00:04:10.746 [0x700000cc8000] DEBUG - [MediaProviderManager/HCl#1] HTTP requesting GET https://plex.tv/media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
May 10, 2023 00:04:10.747 [0x700000fda000] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/users/subscriptions?auth_token=xxxxxxxxxxxxxxxxxxxx
May 10, 2023 00:04:10.749 [0x700000fda000] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/users/services?auth_token=xxxxxxxxxxxxxxxxxxxx
May 10, 2023 00:04:10.752 [0x7000012ec000] DEBUG - Auth: Refreshing tokens inside the token-based authentication filter.
May 10, 2023 00:04:10.752 [0x7000012ec000] DEBUG - [HCl#2] HTTP requesting GET https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx
May 10, 2023 00:04:10.753 [0x700000fda000] ERROR - SQLITE3:(nil), 1, no such table: metadata_agent_providers in “update metadata_agent_providers set online = 0”
May 10, 2023 00:04:10.761 [0x700000fda000] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: metadata_agent_providers for SQL: update metadata_agent_providers set online = 0 (N4soci10soci_errorE)