Server app stopped running on Mac Mini

Server Version#: v.1.40.4.8679-424562606
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
Running Plex Media Server on a Mac Mini. I only use it for music. Has worked fine since setting up three weeks ago. Today, at around 4pm, the server went down. When I got home, I noticed that the app wasn’t open and would not open. I checked for an update and downloaded the latest version, but it will not open either. Any suggestions? If it matters, I am a Plex Pass subscriber.

Updated with Mac Info: Mac mini Apple M2 Chip with 8‑Core CPU and 10‑Core GPU
iOS 14.5

I’m running the same version successfully on my Mac mini: 1.40.4.8679.

I suggest you post the OS X version you’re on and the “version” of the mini that you have. I’m 14.5 and running it on a 2023 mini with the Apple M2 Pro chip.

I’m running 14.5 on a mini Apple M2 Chip with 8‑Core CPU and 10‑Core GPU

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.

Here’s my error. I tried following instructions from the support articles, but I guess I don’t understand the SQLite commands well enough to follow along.

Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2048 (N4soci10soci_errorE)
pms@Pelhams-Mac-mini ~ %

As per the message, your server‘s database is corrupted.
You can attempt to repair it:
https://support.plex.tv/articles/repair-a-corrupted-database/

If the latest database file is not repairable, go back and restore one of the automatically created backups of your server (don’t go for Time Machine backups of that folder)
https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/
Then repair that.

(If there are no backups, or the existing backups are months old, you’ll know for how long the corruption was already lurking in there.)

1 Like

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