Maybe I didn’t explain what I mean very well. Let me try again.
I’m suggesting changing “user accounts” to “plex accounts” in that summary of the expunge function because maybe not all server admins running Plex will associate “user accounts” in Plex’s terms as it relates to the DB label. I understand what you’re saying about how the tool works is accurate of course, but that context of “Plex’s terms” may not be the same perspective as a regular Plex admin picking up this tool to help with their local server.
Based on the initial discussion of the feature, I thought it would clean up the stale records from the user accounts I had removed from my server. You explained that it doesn’t do that because they still have Plex accounts. That distinction was my misunderstanding of the functionality because “user account” didn’t equate to “Plex account” for me. I am suggesting that by using “Plex accounts”, it may provide clearer context for other Plex server admins who don’t associate “non-existent user accounts” to mean “non-existent Plex accounts” like I did.
No biggie and no offense meant. It’s a minor thing. Just thought it might add some clarification for future “users” of the tool.
Enter command # -or- command name (4 char min) : 5
-– Processing Main DB —
Rebuilding Main DB
Transferring schema.
Building FTS tables.
Generating triggers.
Transferring data records.
Generating indexes.
Populating FTS tables.
Warning: Main DB: 2 track/album/episode row(s) missing parent context.
There is a small issue with the DB. Functionality is not impaired but should be
addressed by PMS as soon as convenient. In each section, listed below, do a
‘Scan Files’ and ‘Refresh All Metadata’. PMS will make the repair.
Library ‘(unknown)’: 2 item(s)
Checking Main DB after rebuild.
Database is damaged: malformed inverted index for FTS4 table main.fts4_metadata_titles
ERROR: Main DB final integrity check failed.
-– Processing Blobs DB —
Rebuilding Blobs DB
Transferring schema.
Building FTS tables.
Generating triggers.
Transferring data records.
Generating indexes.
Populating FTS tables.
Checking Blobs DB after rebuild.
Blobs DB rebuild and verification complete.
ERROR: Repair failed for one or both databases. Discarding output
Suggestions other than nuke, start over and rescan everything?
Edit to add the plex log error:
Error: Unable to set up server: sqlite3_statement_backend::prepare: table fts4_metadata_titles_icu already exists for SQL: CREATE VIRTUAL TABLE fts4_metadata_titles_icu USING fts4(title, title_sort, original_title, tokenize=collating ‘root@colStrength=primary;colAlternate=shifted’) (N4soci10soci_errorE)