Sqlite3: Sleeping for 200ms to retry busy DB

What is this supposed to mean ?

okkkkkkkkkkk

PMS might have stray data / records in it which I won’t be able to know if they should be gone.

How long have you had this DB?

like ok, so should i give a try to the new steps ?

Please do retry the new steps.

The next thing we’ll do is to have you get back into PMS and go to each library section and “Empty Trash” & “Clean Bundles”

You shouldn’t have 2GB for 100K items

dont i lose the matadata if i do “Empty Trash” & “Clean Bundles” ?

No. EMptry trash cleans out old records from the DB which PMS doesnt need anymore.

It marks them as “deleted”

Clean Bundles tells it it can free up any unused metadata files (Files which aren’t attached to actual indexed media items)

ok let me do some more work

To give you an idea of how things are here


[chuck@glockner Databases.2009]$ ll
total 7275480
drwxr-xr-x 3 plex plex       4096 Feb 28 22:17 ./
drwxr-xr-x 7 plex plex        120 Jan 31 19:45 ../
-rw-r--r-- 1 plex plex    1040384 Feb 28 22:17 com.plexapp.plugins.library.blobs.db
-rw-r--r-- 1 plex plex    1036288 Feb 19 02:41 com.plexapp.plugins.library.blobs.db-2023-02-19
-rw-r--r-- 1 plex plex    1036288 Feb 22 02:25 com.plexapp.plugins.library.blobs.db-2023-02-22
-rw-r--r-- 1 plex plex    1040384 Feb 25 02:22 com.plexapp.plugins.library.blobs.db-2023-02-25
-rw-r--r-- 1 plex plex    1040384 Feb 28 02:03 com.plexapp.plugins.library.blobs.db-2023-02-28
-rw-r--r-- 1 plex plex 1814740992 Feb 19 02:41 com.plexapp.plugins.library.db
-rw-r--r-- 1 plex plex 1814740992 Feb 19 02:41 com.plexapp.plugins.library.db-2023-02-19
-rw-r--r-- 1 plex plex 1845972992 Feb 22 02:25 com.plexapp.plugins.library.db-2023-02-22
-rw-r--r-- 1 plex plex 1827225600 Feb 25 02:22 com.plexapp.plugins.library.db-2023-02-25
-rw-r--r-- 1 plex plex  142131200 Feb 28 02:03 com.plexapp.plugins.library.db-2023-02-28
-rw-r--r-- 1 plex plex      88294 Feb 28 22:23 DBRepair.log
drwxr-xr-x 2 root root       4096 Feb 28 22:17 dbtmp/
[chuck@glockner Databases.2010]$ /usr/lib/plexmediaserver/Plex\ SQLite com.plexapp.plugins.library.db
SQLite version 3.39.4 2022-09-29 15:55:41
Enter ".help" for usage hints.
sqlite> select count(*) from media_parts;
Parse error: attempt to write a readonly database (8)
sqlite> 
sqlite> 
[chuck@glockner Databases.2011]$ sudo /usr/lib/plexmediaserver/Plex\ SQLite com.plexapp.plugins.library.db
SQLite version 3.39.4 2022-09-29 15:55:41
Enter ".help" for usage hints.
sqlite> select count(*) from media_parts; 
616867
sqlite>

That’s 616867 pieces of media indexed into my DB.

were u got this number from and where can i find how much items i have on mine ?

Look at my console output. I showed every step

okkkkkkkkkk sir, stand by

Don’t forget to have PMS do those “Empty Trash” and “Clean Bundles” for each section.

dont this will remove the movie, etc entry from the gui itself if the files happen to not be there at the moment?

Do you have a whole bunch of red trash cans?

yes, but am not ready to clean the trash as dont wanna plex deleting the ui entry itsellf as am working on building everying backup. now if u tell me this is cause of my issues then i will be in a loop

Mind if I send you a quick PM

not at all

Upper right corner – Green dot (here in the web browser)

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