# Plex Media Server not launching on iMac

**URL:** https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770
**Category:** Plex Media Server
**Tags:** server-mac
**Created:** [June 1, 2021, 4:26pm UTC](https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770 "2021-06-01T16:26:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![b\_hardtke](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@b\_hardtke](https://forums.plex.tv/u/b_hardtke)
#### Post date: [June 1, 2021, 4:26pm UTC](https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770/1 "2021-06-01T16:26:55Z")

</div>

Server Version#: 1.23.2.4600 (rolled back to 1.22.3.4392 while trying to solve)  
Player Version#: Various

My Mid-2011 iMac (10.13.6) restarted last night (first time since PMS update) and PMS did not launch on startup. I have attempted to reboot my iMac again and re-launch PMS as well as roll back to PMS 1.22.3.4392.

Prior to this morning, my server has been operating without issues since 2019, so I’m new to troubleshooting. I tried pulling up any crash longs via “~/Library/Application Support/Plex Media Server/Crash Reports/” and there are folders there, but they all seem to be empty.

Any guidance would be greatly appreciated. Thanks for your time.

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [June 1, 2021, 4:29pm UTC](https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770/2 "2021-06-01T16:29:34Z")

</div>

Try to run the server, wait a moment, then look for `Plex Media Server.log`.  
Could be some database corruption if that restart interrupted your PMS in the middle of some update?!

---

<div class="post-metadata">

### Author: ![b\_hardtke](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@b\_hardtke](https://forums.plex.tv/u/b_hardtke)
#### Post date: [June 1, 2021, 4:51pm UTC](https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770/3 "2021-06-01T16:51:10Z")

</div>

I think I found one actually…

[Plex Media Server.5.log](https://forums.plex.tv/uploads/short-url/tKX9EuTaqpMcJdkZao3eNfCWfEp.log) (1.4 KB)

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [June 1, 2021, 4:56pm UTC](https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770/4 "2021-06-01T16:56:22Z")

</div>

Loud and clear…

```auto
Jun 01, 2021 12:05:21.020 [0x700004595000] ERROR - SQLITE3:0x101, 11, database corruption at line 66053 of [bf8c1b2b7a]
Jun 01, 2021 12:05:21.020 [0x700004595000] ERROR - SQLITE3:0x101, 11, database disk image is malformed in "PRAGMA cache_size=2000"
Jun 01, 2021 12:05:21.020 [0x700004595000] ERROR - Database corruption: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000
Jun 01, 2021 12:05:21.020 [0x700004595000] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

```

Check if you can [repair the database](https://support.plex.tv/articles/repair-a-corrupted-database/) or if it’s gone for good.  
[https://support.plex.tv/articles/201100678-repair-a-corrupt-database/](https://support.plex.tv/articles/201100678-repair-a-corrupt-database/)

# 

If repairing the database fails, you can try restoring from a backup created by Plex  
[https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/)

Theoretically you could also try restoring the database from a Time Machine backup. However I’ve seen mixed results from that given Time Machine could have backed up while other db changes were still in progress/preparation.

---

<div class="post-metadata">

### Author: ![b\_hardtke](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@b\_hardtke](https://forums.plex.tv/u/b_hardtke)
#### Post date: [June 1, 2021, 5:34pm UTC](https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770/5 "2021-06-01T17:34:08Z")

</div>

Thank you so much! Restoring a Database Backed Up worked and everything is looking good.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [August 30, 2021, 5:34pm UTC](https://forums.plex.tv/t/plex-media-server-not-launching-on-imac/719770/6 "2021-08-30T17:34:56Z")

</div>

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