# Libraries not accessible from a Windows server Plex update 06/19/2022

**URL:** <https://forums.plex.tv/t/libraries-not-accessible-from-a-windows-server-plex-update-06-19-2022/797746>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [June 19, 2022, 9:43pm UTC](https://forums.plex.tv/t/libraries-not-accessible-from-a-windows-server-plex-update-06-19-2022/797746 "2022-06-19T21:43:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KT19M](https://avatars.discourse-cdn.com/v4/letter/k/ecd19e/32.png) [@KT19M](https://forums.plex.tv/u/KT19M)\
**Post date:** [June 19, 2022, 9:43pm UTC](https://forums.plex.tv/t/libraries-not-accessible-from-a-windows-server-plex-update-06-19-2022/797746/1 "2022-06-19T21:43:50Z")

</div>

Server Version#:  
Player Version#:  
  
Hello,  
[Plex Media Server Databases\_2018-07-11\_15-15-16.zip](https://forums.plex.tv/uploads/short-url/p9HOIsKv3legPvi6Qnc5531MOTF.zip) (22 Bytes)  
[Plex Media Server Logs\_2022-06-19\_21-59-06.zip](https://forums.plex.tv/uploads/short-url/pQzzti3SkphZLTb00Lrp7Trhayh.zip) (3.6 MB)

Can you help me ?  
Following the update on June 19, 2022, my server plex installed on windows 11 no longer recognizes any of my libraries. I uninstalled and reinstalled plex server windows without that being able to solve this problem.  
What do you think I should do?  
Thanking you for your help

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [June 19, 2022, 11:58pm UTC](https://forums.plex.tv/t/libraries-not-accessible-from-a-windows-server-plex-update-06-19-2022/797746/2 "2022-06-19T23:58:37Z")

</div>

The database in your Plex Media Server is corrupted.

```auto
Jun 19, 2022 21:57:28.591 [15716] ERROR - SQLITE3:0xaf9e14de, 11, database corruption at line 88814 of [1b256d97b5]
Jun 19, 2022 21:57:28.591 [15716] ERROR - SQLITE3:0xaf9e14de, 11, statement aborts at 45: [update media_parts set created_at = iif(typeof(created_at) in ('integer', 'real'), created_at, strftime('%s', created_at, 'utc')), updated_at = iif(typeof(updated_at) in ('integer', 'r
Jun 19, 2022 21:57:28.592 [15716] ERROR - Exception inside transaction (inside=1) (E:\jenkins\server\3579777303\Library\DatabaseMigrations.cpp:254): sqlite3_statement_backend::loadOne: database disk image is malformed
Jun 19, 2022 21:57:28.594 [15716] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed

```

You’ve three options:

1. Repair
2. Restore from backup.
3. Delete & start over.

The repair process is covered in [Repair a Corrupted Database](https://support.plex.tv/articles/repair-a-corrupted-database/).

To restore from a backup, see [Restore a Database Backed Up via ‘Scheduled Tasks’](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/).

It is not possible to tell when the corruption occurred. The backup copies of the database may also be corrupt. After loading a backup and restarting Plex, check the Plex Media Server.log file for SQLITE3 errors (any log entry with `ERROR - SQLITE3`).

If repairing or restoring does not work, the last option is to delete the database and start over. This will not touch your media files. You will have to re-create your libraries, re-share them with any other users, etc.

From the [Repair a Corrupted Database](https://support.plex.tv/articles/repair-a-corrupted-database/) support article:  
**Note** : You can also simply delete the `com.plexapp.plugins.library.db` database file while the Plex Media Server is not running. Restarting the server will then restore your server to a nearly-fresh install state. (i.e. You will _lose your existing libraries and need to recreate them_ , but you won’t be affecting your content itself.)

  

* * *

Typo fixed.

~~FYI, there is a typo in the Repair a Corrupted Database document.~~

~~PRAGMA integrity\_check should be PRAGMA integrity\_check;  
VACUUM should be VACUUM;  
REINDEX should be REINDEX;~~

~~The commands won’t execute without the semicolon at the end.~~

---

<div class="post-metadata">

**Author:** ![KT19M](https://avatars.discourse-cdn.com/v4/letter/k/ecd19e/32.png) [@KT19M](https://forums.plex.tv/u/KT19M)\
**Post date:** [June 20, 2022, 6:31am UTC](https://forums.plex.tv/t/libraries-not-accessible-from-a-windows-server-plex-update-06-19-2022/797746/3 "2022-06-20T06:31:19Z")

</div>

> [@FordGuy61](#):
>
> You’ve three options:
> 
> 1. Repair
> 2. Restore from backup.
> 3. Delete & start over.
> 
> The repair process is covered in [Repair a Corrupted Database](https://support.plex.tv/articles/repair-a-corrupted-database/).
> 
> To restore from a backup, see [Restore a Database Backed Up via ‘Scheduled Tasks’](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/).
> 
> It is not possible to tell when the corruption occurred. The backup copies of the database may also be corrupt. After loading a backup and restarting Plex, check the Plex Media Server.log file for SQLITE3 errors (any log entry with `ERROR - SQLITE3`).
> 
> If repairing or restoring does not work, the last option is to delete the database and start over. This will not touch your media files. You will have to re-create your libraries, re-share them with any other users, etc.
> 
> From the [Repair a Corrupted Database](https://support.plex.tv/articles/repair-a-corrupted-database/) support article:  
> **Note** : You can also simply delete the `com.plexapp.plugins.library.db` database file while the Plex Media Server is not running. Restarting the server will then restore your server to a nearly-fresh install state. (i.e. You will _lose your existing libraries and need to recreate them_ , but you won’t be affecting your content itself.)

Thank you for your advice

---

<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:** [September 18, 2022, 6:32am UTC](https://forums.plex.tv/t/libraries-not-accessible-from-a-windows-server-plex-update-06-19-2022/797746/4 "2022-09-18T06:32:15Z")

</div>

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