# Plex not working after power outage

**URL:** <https://forums.plex.tv/t/plex-not-working-after-power-outage/809422>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [September 4, 2022, 9:44pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422 "2022-09-04T21:44:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 4, 2022, 9:44pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/1 "2022-09-04T21:44:11Z")

</div>

Server Version#: 1.28.2.6151-914ddd2b3  
Player Version#: 4.90.1

Hi everyone,

Last night after a 5-minute power outage, Plex stopped working. I backed-up the plexmediaserver folder before uninstalling Plex Media Server and reinstalled it to its latest version, but it prompted me to create my libraries again, losing all my metadata and collections. The old server is still there, with a warning that says it’s not available. What can I do to turn it back up?

Thanks in advance.

---

<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:** [September 4, 2022, 10:08pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/2 "2022-09-04T22:08:08Z")

</div>

Did you already have a look at the (old) [server logs?](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)  
Could be the power outage resulted in some database corruption that might (or might not) be [repairable](https://support.plex.tv/articles/repair-a-corrupted-database/).

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 4, 2022, 10:10pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/3 "2022-09-04T22:10:31Z")

</div>

How do I do that, I’m not that savvy sorry

---

<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:** [September 4, 2022, 10:12pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/4 "2022-09-04T22:12:07Z")

</div>

see the support articles linked in the two highlighted sections of my post (orange links).

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 4, 2022, 10:40pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/5 "2022-09-04T22:40:45Z")

</div>

I can’t seem to find the “Manage” option within the settings…

![Screenshot 2022-09-04 193924](https://global.discourse-cdn.com/plex/original/4X/7/c/1/7c1fa2144d6bcc1b4ef10d7b242c3be2597f3a76.png)

---

<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:** [September 4, 2022, 10:56pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/6 "2022-09-04T22:56:27Z")

</div>

The support article also highlights how you can obtain your [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) if you can no longer connect to the server via the web app.

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 4, 2022, 11:01pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/7 "2022-09-04T23:01:41Z")

</div>

Oh yes, let me know if this helps  
[Plex Media Server.log](https://forums.plex.tv/uploads/short-url/yF52S4aAmluH5vs4Y1oA7d0NQrL.log) (540.3 KB)

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 5, 2022, 7:44pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/8 "2022-09-05T19:44:58Z")

</div>

Si I attepmpted to follow the repair instructions but get this error when trying to run any SQLite command:

Error: attempt to write a readonly database

What should I do?

---

<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:** [September 5, 2022, 8:08pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/9 "2022-09-05T20:08:08Z")

</div>

You need to make sure plex is closed/not running prior to doing the repair

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 5, 2022, 8:15pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/10 "2022-09-05T20:15:48Z")

</div>

Hi, thanks for jumping in, I did stop the process from the terminal before trying to run the command.

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 6, 2022, 10:43pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/11 "2022-09-06T22:43:43Z")

</div>

Hey so since I can’t get past this error I went ahead and created a new server. All of the metadata, collections and watched history of my previous server is still there in the folders (and I’ve since backed it up) but it’s not showing up on my new server… do I need to move the data to a different folder?

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 8, 2022, 1:53pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/12 "2022-09-08T13:53:17Z")

</div>

Can anyone help?

---

<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:** [September 8, 2022, 4:12pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/13 "2022-09-08T16:12:14Z")

</div>

I’m not exactly sure what you did… if you actually wiped the old server, there won’t be any data left for the new server to use. (as in: not just uninstalling the server app but also deleting the server’s data directory).

What folder do you mean when you write “All of the metadata, collections and watched history of my previous server is still there in the folder”?

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 8, 2022, 4:28pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/14 "2022-09-08T16:28:47Z")

</div>

I did not wipe the old server, I simply created a new one pointing to the same files. The folder I meant, containing all metadata for the old server (which is now inaccessible) is located at:

**/var/lib/plexmediaserver/Library/Application Support/Plex Media Server**

The new server doesn’t seem to be able to access that data…

---

<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:** [September 8, 2022, 4:30pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/15 "2022-09-08T16:30:56Z")

</div>

If you’re using a plain PMS install on your Linux (e.g. no separate VM or container), there’ll be only 1 PMS per instance, pointing to the same server data directory.

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 8, 2022, 4:32pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/16 "2022-09-08T16:32:36Z")

</div>

Yes, but the new server is the only one on right now… Should I delete everything including that folder (I’ve already backed it up) and start over?

---

<div class="post-metadata">

**Author:** ![Gloppie](https://avatars.discourse-cdn.com/v4/letter/g/74df32/32.png) [@Gloppie](https://forums.plex.tv/u/Gloppie)\
**Post date:** [September 8, 2022, 8:06pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/17 "2022-09-08T20:06:50Z")

</div>

Is it filesystem corruption that mounted it read only? boot a live USB and run fsck on the drives to try and recover the filesystem.

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 8, 2022, 11:37pm UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/18 "2022-09-08T23:37:52Z")

</div>

I’m sorry I’m not really sure how to do that

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [September 9, 2022, 12:48am UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/19 "2022-09-09T00:48:35Z")

</div>

Please make a tar.gz or zip of the `Logs` directory under Plex Media Server.

This will give us a starting point.

---

<div class="post-metadata">

**Author:** ![lucho2507](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucho2507/32/82675_2.png) [@lucho2507](https://forums.plex.tv/u/lucho2507)\
**Post date:** [September 9, 2022, 4:56am UTC](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422/20 "2022-09-09T04:56:40Z")

</div>

Sure thing! Here’s the file: [Logs.zip](https://forums.plex.tv/uploads/short-url/8YhfN3ybq1QrwEM2tIbrFByaYfS.zip) (744.2 KB)

[Next page](https://forums.plex.tv/t/plex-not-working-after-power-outage/809422.md?page=2)
