Plex suddenly won't open

Server Version#:v.1.32.8.7639-fb6452ebf
Player Version#:N/A
iMac, Sonoma.

Hi, Plex MS has been working fine for years, on my iMac, now suddenly won’t open.
I can’t think of anything that I’ve done to cause the issue, (Ie no recent updates etc).

I’ve deleted the app, reinstalled, restarted iMac etc etc

Any help would be much appreciated.

Keith

If the Plex Media Server won’t start and doesn’t even get to the stage where it’ll be writing to the server logs, you can attempt the following procedure to see if there’s any error messages on the OS level:

  1. Open Finder and navigate to /Applications
  2. Select Show Content from the context menu of the Plex Media Server.app item
  3. Navigate to Contents/MacOS
  4. Open the Terminal app
  5. Drag the Plex Media Server executable from the Finder window (#3) into the Terminal Window and press Return to execute it

This is no different from running the app, so it won’t succeed – but you should get a more specific error message about what’s causing it to fail starting.

Hi - thank you for the quick reply…

Ok, I did that and yes I did get more details:

Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2048 (N4soci10soci_errorE)
iMac-2:~ docweif$

Does that offer any light on my problem?

Many thanks,

Keith

Looks like your server’s database got corrupted.

https://support.plex.tv/articles/repair-a-corrupted-database/

BOOM!!

That’s fixed it! There’s no way I would have got that sorted myself - thanks so much!

Keith

running latest version of Sonoma, executing Plex\Media\ Server from the command line returns this:

libc++abi: terminating due to uncaught exception of type boost::wrapexceptboost::system::system_error: listen: Address already in use [system:48 at /System/Volumes/Data/data/actions-runner/_work/plex-media-server/plex-media-server/build/dependencies/plex-media-server/standard-x86_64-apple-darwin-macos/boost/include/boost/asio/detail/reactive_socket_service.hpp:161]
****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: DFBBB6EA-F516-47FF-98CA-5910E06E80D7

the Databases directory is empty!

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