Database Command to remove folder?

I have a LARGE library of mainly random tv shows and home movies I had hosted on google drive with rclone, at various times the drives became unmounted and then remounted and plex re scanned the items and loaded them back on BUT left the old item and marked is as unavailable. Now it’s done this Multiple times and some items have 30+ copies marked as unavailable.

I’ve tried removing the folder and scanning it empty then emptying the trash, items are still there if not more.

Remove library entirely…server crashes
Remove directory from library…Server crashes

Basically I’ve tried any weird idea I or others could think of, I tried editting the DB with dbbrowser and removing the directory but I just made a mess.

So does anyone know how to remove the directory or library from the DB?

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