Closed andi-gashi closed 3 months ago
What task are you trying to perform?
Which version of PMS ?
What you're showing makes no sense. It's as if your DB is importing itself twice
Error 1 from Plex SQLite while importing from './dbtmp/library.plexapp.sql-2024-08-11_20.22.21'
Did you suffer a major PMS crash? (You did say broken main DB).
If I am understanding correctly, and it's that badly broken.
If that isn't good enough, you can use the REPLACE command to find the best backup DB you have and let it install that as the DB.
Hello,
I had the same issue as original poster, the error messages was the same and my library stopped being updated with new item. It was solved by :
It took just a few minutes of downtime. According to the script there is no error anymore.
Thanks for your script ! It definitly saved me from zeroed my db and start from scratch.
I currently have a stalled Plex Database where nothing new is getting recognised. This is the error message I get when I run the tool:
Runtime error near line 1384463: UNIQUE constraint failed: fts4_metadata_titles_icu_segdir.level, fts4_metadata_titles_icu_segdir.idx (19) Runtime error near line 1384464: UNIQUE constraint failed: fts4_metadata_titles_icu_segdir.level, fts4_metadata_titles_icu_segdir.idx (19) Runtime error near line 1384465: UNIQUE constraint failed: fts4_metadata_titles_icu_segdir.level, fts4_metadata_titles_icu_segdir.idx (19) Error 1 from Plex SQLite while importing from './dbtmp/library.plexapp.sql-2024-08-11_20.22.21'