Library does not update anymore, whether adding or deleting files

Server Version#: 1.21.1.3830
Player Version#: 8.12.2.22756

Plex Media Server Logs_2021-02-02_11-05-44.zip (1.9 MB)

Hi –

It’s been weeks that I cannot update my library anymore. If I add new files (all named correctly) or remove existing ones, and then do a library scan, nothing changes: nex files are not added and removed files are still present.

I have checked folder paths, added them again, clicked on “optimize library”, emptied trash. Nothing happens. When launching a new library update, it is super quick and nothing happens.

Please help.

thanks!

Your database is unfortunately damaged.

Dec 30, 2020 07:42:11.344 [7636] ERROR - SQLITE3:0x7fffffff, 11, database corruption at line 64757 of [bf8c1b2b7a]
Dec 30, 2020 07:42:11.344 [7636] ERROR - SQLITE3:0x7fffffff, 11, database corruption at line 64798 of [bf8c1b2b7a]

You will have to either

  • uninstall the server and delete everything, then reinstall and create all your libraries again
  • move your plex data to an external drive which can be unplugged and then accessed with a PC. On this PC, you can repair the database, then put it back to the external drive.

Thanks for the quick reply!

I have a backup that I did prior this happened (I added a few new files since my last update and it worked, so I guess this backup is not corrupted yet). Should/could I just replace the current version of the database with my backup, by just switching off the server, deleting the old files, and replacing them with the new files, then updating again the database to search for new files?

If you have a backup, yes by all means, try that first.

will do and come back here with results.

It was veryyyyy long to copy back all the files form the backup but seems to work now. Many thanks!

Do we know what can corrupt the files of the database? I’d love to avoid to go through all this once more.

cheers

Never remove power from the console without shutting it off via its menu. Plex server is running even if the console appears to be off (i.e. the green lights are off)

Keep an eye on the free storage capacity. The storage must never run full, or Plex data will be corrupted.
Move plex data to an external drive (preferably an USB-connected SSD) before the capacity even comes close to being full.

yes, I never do that already.

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