# Database repair issue

**URL:** <https://forums.plex.tv/t/database-repair-issue/942926>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [September 15, 2026, 7:33pm UTC](https://forums.plex.tv/t/database-repair-issue/942926 "2026-09-15T19:33:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tabssharif](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tabssharif](https://forums.plex.tv/u/tabssharif)\
**Post date:** [September 15, 2026, 7:33pm UTC](https://forums.plex.tv/t/database-repair-issue/942926/1 "2026-09-15T19:33:22Z")

</div>

Server Version#:1.43.4.10903  
Player Version#:  
I have been running the Plex DB repair scripts on a Windows 10 machine, I do this roughly once a month, I have just started seeing this error - Parse error near line 2863626: object name reserved for internal use: sqlite\_sequence. I now cannot add anymore movies or other files, as running the scan does not bring anything new.  
Has anyone seen this before?

---

<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:** [September 16, 2026, 8:41pm UTC](https://forums.plex.tv/t/database-repair-issue/942926/2 "2026-09-16T20:41:12Z")

</div>

Try the new (beta) version: [DBRepair development - #1270 by ChuckPa](https://forums.plex.tv/t/dbrepair-development/822684/1270).

If it does not fix the problem, then post in that thread so @ChuckPa can take a look at things.

---

<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 16, 2026, 8:50pm UTC](https://forums.plex.tv/t/database-repair-issue/942926/3 "2026-09-16T20:50:53Z")

</div>

@tabssharif

What’s the issue?

I just released 0.1999.10 which fixes a lot of known things it could not fix before

---

<div class="post-metadata">

**Author:** ![tabssharif](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tabssharif](https://forums.plex.tv/u/tabssharif)\
**Post date:** [September 17, 2026, 7:40am UTC](https://forums.plex.tv/t/database-repair-issue/942926/5 "2026-09-17T07:40:41Z")

</div>

Hi guys,

Thank you so much for reaching out, it is greatly appreciated!  
I run the database cleanup monthly

Enter command # -or- command name (4 char min): 2  
Automatic Check,Repair,Index started.  
Exporting Main DB  
Exporting Blobs DB  
Successfully exported the main and blobs databases. Proceeding to import into new database.  
Importing Main DB.  
Parse error near line 2863799: object name reserved for internal use: sqlite\_sequence  
Creating Blobs DB  
Parse error near line 77370: object name reserved for internal use: sqlite\_sequence  
Successfully imported databases.  
Verifying databases integrity after importing.  
Main DB verification check is: ok  
Verification complete. PMS main database is OK.  
Verification complete. PMS blobs database is OK.  
Reindexing Main DB  
Reindexing Blobs DB  
Reindexing complete.  
Moving current DBs to DBTMP and making new databases active  
Automatic Check,Repair,Index succeeded.

When rebuilding the DB’s both library and blob I was receiving SQL lite errors, stating that there were parsing errors in line xxxxx.

Plex seemed to operate normally apart from when I added a new file, these changes were not being picked up. I followed your guide and rolled back to a backup from September 10. This resolved the issue, and all I lost was a couple of days of entries, a quick scan and issue resolved.

Again, thank you so much for reaching out!

Tabs

---

<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 17, 2026, 7:46am UTC](https://forums.plex.tv/t/database-repair-issue/942926/6 "2026-09-17T07:46:09Z")

</div>

@tabssharif

That’s the old DBRepair.sh shell script

You should now try using the DBRepair executable program for your system.  
It fixes far more and faster than the old shell script ever could.

The post containing the binaries is here:

> [@DBRepair development](https://forums.plex.tv/t/dbrepair-development/822684/1270):
>
> DBRepair v0.1999.10 DBRepair v0.1999.10 is now available for your consideration & testing. It will expire in 14 days from today. If there are no bug, failures, or anything missing, and the documentation is completed by then, we’ll advance to first production release. Each ZIP file now contains an initial Proof-of-Concept for documentation in both .md (Markdown) and HTML form. It’s mostly complete but very rough in styling. There will be a Wiki on GitHub when this is completed…

Given you’re using a backup now, I would still have it verify the dbs are undamaged.

---

<div class="post-metadata">

**Author:** ![tabssharif](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tabssharif](https://forums.plex.tv/u/tabssharif)\
**Post date:** [September 17, 2026, 8:39am UTC](https://forums.plex.tv/t/database-repair-issue/942926/7 "2026-09-17T08:39:29Z")

</div>

Awesome, I will grab that now, thank you again so much!

---

<div class="post-metadata">

**Author:** ![tabssharif](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tabssharif](https://forums.plex.tv/u/tabssharif)\
**Post date:** [September 17, 2026, 9:01am UTC](https://forums.plex.tv/t/database-repair-issue/942926/8 "2026-09-17T09:01:23Z")

</div>

Ran the latest binary, the reports are that everything is healthy!  
Thank you buddy for helping a stranger.  
Really appreciated!!
