# Plex Media Server unable to open media database

**URL:** https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262
**Category:** Plex Media Server
**Tags:** server-windows
**Created:** [November 20, 2022, 1:43pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262 "2022-11-20T13:43:55Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![foolmanchew](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@foolmanchew](https://forums.plex.tv/u/foolmanchew)
#### Post date: [November 20, 2022, 1:43pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/1 "2022-11-20T13:43:55Z")

</div>

I have lost my wits! I looked for any youtube info and none has worked. I uninstalled and reinstalled it multiple times. Even installed plex to another drive and still have issues. I do not know what went wrong as I have been using Plex for over 10 years. BUT! When I install my server account to my IMAC, it works fine. I hate my IMAC and refuse to use it as a server. Please help! Anybody? I know I sound desperate and thank you if you can assist.

---

<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: [November 20, 2022, 1:46pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/2 "2022-11-20T13:46:39Z")

</div>

Let’s start with what are you trying to achieve, what have you done and to what result/outcome/issue?

---

<div class="post-metadata">

### Author: ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)
#### Post date: [November 20, 2022, 3:14pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/3 "2022-11-20T15:14:45Z")

</div>

Can you post your [server logs?](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)

---

<div class="post-metadata">

### Author: ![foolmanchew](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@foolmanchew](https://forums.plex.tv/u/foolmanchew)
#### Post date: [November 21, 2022, 1:41am UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/4 "2022-11-21T01:41:44Z")

</div>

Hello, I have no idea as I have been dealing with this and looking for an alternative for the last month. I have deleted every file on my computer that referenced anything Plex and it still comes up after a new DL cannot access media data. It simply does not allow me to open my media. I am about to do a factory reset on my computer. It has come to that now. It’s almost like I have media elsewhere and my PC server cannot open it. Makes zero sense. I do thank you for reaching out!

---

<div class="post-metadata">

### Author: ![foolmanchew](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@foolmanchew](https://forums.plex.tv/u/foolmanchew)
#### Post date: [November 21, 2022, 1:42am UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/5 "2022-11-21T01:42:43Z")

</div>

I wouldn’t know where to begin as I have deleted and reinstalled it about 5 times. Thanks…

---

<div class="post-metadata">

### Author: ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)
#### Post date: [November 21, 2022, 1:49am UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/6 "2022-11-21T01:49:02Z")

</div>

Without more details we cannot help you. in the Plex [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) (orange words are a link) article, it should provide a file path where you can locate the needed files. Please zip those up and post them to this thread.

---

<div class="post-metadata">

### Author: ![aguillon5](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@aguillon5](https://forums.plex.tv/u/aguillon5)
#### Post date: [February 14, 2023, 12:25am UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/7 "2023-02-14T00:25:50Z")

</div>

I have the same issue, I deleted Plex completely and it will not reinstall and I get the windows error unable to open media database. Is it possible to give a log if app will not install?

---

<div class="post-metadata">

### Author: ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)
#### Post date: [February 14, 2023, 12:45am UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/8 "2023-02-14T00:45:30Z")

</div>

> [@aguillon5](#):
>
> Is it possible to give a log if app will not install?

Yes the installer should create logs.

Please zip the contents of `%LOCALAPPDATA%\Plex Media Server\Plug-in Support\Logs` and upload them

---

<div class="post-metadata">

### Author: ![aguillon5](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@aguillon5](https://forums.plex.tv/u/aguillon5)
#### Post date: [February 14, 2023, 6:03pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/9 "2023-02-14T18:03:35Z")

</div>

I have 5 folders in the Plug-in Support file.  
Caches  
Data  
Databases  
Metadata Combination  
Preferences

I scanned the entire folder for Logs and nothing showed up.

---

<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: [February 14, 2023, 8:01pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/10 "2023-02-14T20:01:22Z")

</div>

The logs folder should be 1 level up → `%LOCALAPPDATA%\Plex Media Server\Logs` (not inside the `Plug-in Support` subfolder).

---

<div class="post-metadata">

### Author: ![aguillon5](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@aguillon5](https://forums.plex.tv/u/aguillon5)
#### Post date: [February 14, 2023, 8:51pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/11 "2023-02-14T20:51:10Z")

</div>

Ah thank you obviously I got my course in computerology at Trump U.

[Logs.zip](https://forums.plex.tv/uploads/short-url/gP3d2yAxHhLuVlMVvJ6eI9iUUkM.zip) (12.1 MB)

---

<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: [February 14, 2023, 9:14pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/12 "2023-02-14T21:14:56Z")

</div>

Looks like your database is corrupted – this can happen if the server (or host) are stopped/shutdown while Plex is busy writing to the database files.

You can attempt to [repair the database](https://support.plex.tv/articles/repair-a-corrupted-database/) (see linked guide) or [start from scratch](https://support.plex.tv/articles/201198426-restart-plex-media-server-setup-from-scratch/) by removing certain files (assuming this is a new server or a repair didn’t succeed).  
If you had enabled your server to create automatic backups of the database you could attempt to [restore that backup](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/) (kind of a middle way).

---

<div class="post-metadata">

### Author: ![aguillon5](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@aguillon5](https://forums.plex.tv/u/aguillon5)
#### Post date: [February 14, 2023, 9:59pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/13 "2023-02-14T21:59:38Z")

</div>

BOOM!! I am starting over but that is what I wanted to do in the first place. Spring Cleaning

---

<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: [May 15, 2023, 10:00pm UTC](https://forums.plex.tv/t/plex-media-server-unable-to-open-media-database/819262/14 "2023-05-15T22:00:01Z")

</div>

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