Server Version#: 1.24.4.5081-e362dc1ee
Player Version#: not applicable
When I start Plex Media Server, it runs for a few seconds, then exits with no UI errors. The icon appears briefly in the system tray with message “Server is starting” in the menu.
If I look in the console under system.log there is the following error:
com.apple.xpc.launchd[1] (com.plexapp.plexmediaserver.58776[64040]): Service exited with abnormal code: 255
This was previously working before the last update, but I can’t locate the previous installer to go back.
Interesting…
Log has some errors as follows:
Oct 14, 2021 15:25:04.248 [0x700001daa000] ERROR - SQLITE3:(nil), 11, database corruption at line 66843 of [1b256d97b5]
Oct 14, 2021 15:25:04.248 [0x700001daa000] ERROR - SQLITE3:(nil), 11, database corruption at line 66993 of [1b256d97b5]
Oct 14, 2021 15:25:04.248 [0x700001daa000] ERROR - SQLITE3:(nil), 11, statement aborts at 10: [select max(max(metadata_items.changed_at),max(metadata_items.resources_changed_at)) from metadata_items] database disk image is malformed
Oct 14, 2021 15:25:04.248 [0x700001daa000] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed
It’s not just deleting the database. You need to follow the complete procedure from the 2nd link and delete the entire server data directory. On a Mac that’ll be ~/Library/Application Support/Plex Media Server/ and ~/Library/Caches/PlexMediaServer/.