Plex keeps crashing on my Mac (Ventura 13.2.1)

Server Version#: The latest Plex Pass version (1.32.0.6918-6f393eda1)?
Player Version#: Not sure

Something happened today where I had to restart my computer and now when I try to open Plex it lasts about 3 seconds and immediately closes.

The first thing I tried was restarting the computer again which didn’t fix it. Then I went to the Plex site and downloaded the latest Plex Pass version of the software and that didn’t work either. Then I tried to repair the database by using the SQLite tutorials on the Support site and that didn’t work. Then I tried just moving the database file out of the folder and restarting Plex and that didn’t work.

I tried looking in the Crash Reports folder and there is one created, but it’s an empty folder that says “PLEX MEDIA SERVER” so I can’t post a crash report from there. Instead, I went to the Console and found the Plex Media Server.log file and here it is:

Apr 12, 2023 12:13:49.659 [0x70000de85000] INFO - Plex Media Server v1.32.0.6918-6f393eda1 - Apple iMac20,2 x86_64 - build: darwin-x86_64 macos - GMT -04:00
Apr 12, 2023 12:13:49.660 [0x70000de85000] INFO - MacOSX version: 13.2.1, language: en-US
Apr 12, 2023 12:13:49.660 [0x70000de85000] INFO - Processor: 20-core Intel(R) Core™ i9-10910 CPU @ 3.60GHz
Apr 12, 2023 12:13:49.660 [0x70000de85000] INFO - Compiler is - Clang 11.0.1 (https://plex.tv b587490162c22e078c314e3f7dc560c691d126aa)
Apr 12, 2023 12:13:49.660 [0x70000de85000] INFO - /Applications/Plex Media Server.app/Contents/MacOS/Plex Media Server
Apr 12, 2023 12:13:49.758 [0x70000e00e000] DEBUG - BPQ: [Idle] → [Starting]
Apr 12, 2023 12:13:49.758 [0x70000e00e000] VERBOSE - BPQ: delaying processing 120 second(s)
Apr 12, 2023 12:13:49.759 [0x70000e00e000] DEBUG - FeatureManager: Using cached data for features list
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - [CERT] Subject name is /CN=*.3fac7d7f9e114bf4aff361851384a2bd.plex.direct
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - [CERT] Installed certificate with fingerprint 25:f4:96:de:4f:45:54:a4:03:8b:14:48:95:3f:01:22:80:e4:0b:dd.
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - [CERT/OCSP] Stapling requests will be made to ‘http://r3.o.lencr.org/’.
Apr 12, 2023 12:13:49.791 [0x70000e00e000] VERBOSE - [CERT/OCSP] Successfully generated stapling request
Apr 12, 2023 12:13:49.791 [0x70000e00e000] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - HttpServer: Listening on port 32400.
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - HttpServer: Listening on port 32401.
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - Running server…
Apr 12, 2023 12:13:49.791 [0x70000e00e000] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.39.4, threadsafe=1
Apr 12, 2023 12:13:49.791 [0x70000e29d000] DEBUG - HttpServer: Set up a thread pool with 2 threads.
Apr 12, 2023 12:13:50.405 [0x70000e320000] DEBUG - MyPlex: mapping state set to ‘Unknown’.
Apr 12, 2023 12:13:50.405 [0x70000e320000] DEBUG - Relay: read 53 cached entries from hosts file
Apr 12, 2023 12:13:50.406 [0x70000e320000] DEBUG - Request: [104.136.42.61:59174 (WAN)] GET /:/timeline?audioStreamID=1103592&bufferedTime=358852&duration=2111000&guid=plex%3A%2F%2Fepisode%2F6388be8ad1e0219fc48bbd2a&key=%2Flibrary%2Fmetadata%2F182170&playbackTime=1440812&playQueueItemID=1107999&ratingKey=182170&state=paused&time=1361211&token=xxxxxxxxxxxxxxxxxxxx (2 live) #1 TLS GZIP Token () / Accept => application/xml / Accept-Encoding => gzip / Accept-Language => en-us / Connection => Keep-Alive / Host => 108-94-102-213.3fac7d7f9e114bf4aff361851384a2bd.plex.direct:32400 / User-Agent => Mozilla/5.0 (Linux; Android 12; Chromecast Build/STTE.220920.016.H1; wv)PlexTV/9.19.1.525 / X-Plex-Advertising-DoNotTrack => 0 / X-Plex-Advertising-Identifier => c807e69b-9916-4f03-b7e4-dcb4323aaaf7 / X-Plex-Client-Identifier => 614310303645289e-com-plexapp-android / X-Plex-Client-Identifier => 614310303645289e-com-plexapp-android / X-Plex-Device => Chromecast / X-Plex-Device-Name => Chromecast Google TV / X-Plex-Device-Screen-Density => 320 / X-Plex-Device-Screen-Resolution => 1920x1080 (Android TV) / X-Plex-Device-Vendor => Google / X-Plex-DRM => widevine:video / X-Plex-Features => external-media,indirect-media,hub-style-list / X-Plex-Language => en-us / X-Plex-Model => sabrina / X-Plex-Platform => Android / X-Plex-Platform-Version => 12 / X-Plex-Playback-Id => 6e01edd0-9e72-4a69-a711-370215c8a1a9 / X-Plex-Playback-Session-Id => bb7790b1-0852-4508-8d26-046a24f8b60b / X-Plex-Product => Plex for Android (TV) / X-Plex-Provider-Version => 6.3.0 / X-Plex-Provides => player,pubsub-player,controller / X-Plex-Token => xxxxxxxxxxxxxxxxxxxx / X-Plex-Version => 9.19.1.525
Apr 12, 2023 12:13:50.406 [0x70000e197000] DEBUG - Opening 1 database sessions to library (), SQLite 3.39.4, threadsafe=1
Apr 12, 2023 12:13:50.926 [0x70000e00e000] INFO - SQLITE3:(nil), 283, recovered 1132140 frames from WAL file /Users/[MY USERNAME]/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
Apr 12, 2023 12:13:50.989 [0x70000e00e000] INFO - Running migrations. (EPG 0)
Apr 12, 2023 12:13:50.989 [0x70000e197000] DEBUG - Completed: [104.136.42.61:59174] 503 GET /:/timeline?audioStreamID=1103592&bufferedTime=358852&duration=2111000&guid=plex%3A%2F%2Fepisode%2F6388be8ad1e0219fc48bbd2a&key=%2Flibrary%2Fmetadata%2F182170&playbackTime=1440812&playQueueItemID=1107999&ratingKey=182170&state=paused&time=1361211&token=xxxxxxxxxxxxxxxxxxxx (2 live) #1 TLS GZIP 585ms 465 bytes (pipelined: 1)
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 0.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 1.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 2.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 3.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 4.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 5.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 6.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 7.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 8.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 9.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 10.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 11.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 12.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 13.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 14.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 15.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 16.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 17.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 18.
Apr 12, 2023 12:13:50.990 [0x70000e00e000] DEBUG - Captured session 19.
Apr 12, 2023 12:13:51.655 [0x70000e3a3000] DEBUG - [JobRunner] Job running: “/Applications/Plex Media Server.app/Contents/MacOS/CrashUploader” “–directory=/Users/[MY USERNAME]/Library/Application Support/Plex Media Server/Crash Reports/1.32.0.6918-6f393eda1” --version=1.32.0.6918-6f393eda1 --platform=MacOSX --platformVersion=13.2.1 --serverUuid=76444879b64b64075c3eb7363715962f6959e6e6 --userId=[MY EMAIL] --sentryUrl=https://o17675.ingest.sentry.io/api/1233455/minidump/ --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --vendor=Apple --model=x86_64 --device=iMac20,2
Apr 12, 2023 12:13:51.655 [0x70000e3a3000] DEBUG - [JobRunner] Jobs: Starting child process with pid 2359
Apr 12, 2023 12:13:51.687 [0x70000e114000] VERBOSE - JobManager: child process with handle 2359 exited
Apr 12, 2023 12:13:51.687 [0x70000e114000] DEBUG - Jobs: ‘/Applications/Plex Media Server.app/Contents/MacOS/CrashUploader’ exit code for process 2359 is 0 (success)
Apr 12, 2023 12:13:53.107 [0x70000e00e000] ERROR - SQLITE3:(nil), 266, statement aborts at 10: [select max(max(metadata_items.changed_at),max(metadata_items.resources_changed_at)) from metadata_items] disk I/O error
Apr 12, 2023 12:13:53.107 [0x70000e00e000] ERROR - Database corruption: sqlite3_statement_backend::loadOne: disk I/O error

Any ideas? It says the database is corrupted, but I can’t even get Plex to create a new database when I delete it and restart.

Did you only delete the main .db file? The corruption could be in one of the others. Instead of deleting, just rename the DB folder to something else and let PMS recreate all the DB files.

I JUST figured this out - I was in the wrong folder! I repaired the files using the SQLite tutorial.

Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.