Few issues with Plex

Server Version#: Version 4.8.3

Hi guys, was adding some new content to my TV Series yesterday and one show seems to have got stuck since I can’t even delete it from Plex, when I try to remove the item it gives me the error “There was a problem deleting this item.”.

I did remove it from the hard drive but still there and scan fails.

Looking at the console I can see the following errors repeating:

SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a]
Thread: Uncaught exception running async task which was spawned by thread 0x14ddac521700: sqlite3_statement_backend::loadOne: database disk image is malformed
SQLITE3:(nil), 11, statement aborts at 9: [select statistics_bandwidth.id as ‘statistics_bandwidth_id’, statistics_bandwidth.account_id as ‘statistics_bandwidth_account_id’, statistics_bandwidth.device_id as 'statistics_bandwidt

I am running this on a docker container on UnRaid, is there anyway I can repair this?? Did not want to redo the whole thing again!

Many thanks

I would try one of the backed up databases before repair. Unraid has a problem in versions higher that 6.7.0(2) that corrupt the Plex database.

Many thanks, I did have a look at the backup files and I see it was backing up the com.plexapp.plugins.library.db until June, which might be when I upgraded Unraid or Plex!

The latest backups are of file com.plexapp.plugins.library.blobs.db instead!

I did try and restore a previous backup of com.plexapp.plugins.library.blobs.db but that makes no difference.

What is the two files for? and why is it only backing up the blobs.db file?

Cheers

That would mean you have had corruption since the last backup. The primary database is com.plexapp.plugins.library.db ,blob is for holding image data. If you can’t repair the current db then you would have to roll back to the June copy.

Many thanks, I will try and perform the recovery, if that fails it’s going to suck big time :frowning:

How do I prevent this happening in the future? Since I was not aware it was not being backed up, is there a warning feature in Plex?

Push notifications , there is also Tautilli scripts.
https://www.plex.tv/blog/plex-knows-notifications/

Lime has some release candidates but the recommended is to roll back to 6.6.7.
https://forums.unraid.net/bug-reports/stable-releases/downgraded-back-to-667-due-to-sqlite-corruption-r576/

Quick edit!!

Managed to recover the June backup and now scanning file system again :frowning:

Many thanks for your help, much appreciated

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