I keep my pictures on a network drive, about 6,000 total. Because of this I sometimes update my local thumbnail cache so I can scroll through without waiting 10 seconds for a preview to download.
I run the darktable-generate-cache script, it’s returning some SQL errors during the process. I didn’t think much of it though.
Upon opening Darktable, it says that the database is corrupt and I can either close DT, rebuild the database or delete it. I clicked on all three multiple times and kept getting the error.
So I moved the DB and library files out of the folder, renames the “snapshot” DB and library files to data.db and library.db, and restarted Darktable. It opened, but every image is a skull now, and I can’t delete any thumbnails or import any images. I am now stuck.
I’m relatively new to dt, and had similar issues recently. My database’s would get corrupted because of unexpected crashes, so I’ve had to start doing regular backups.
Can you or someone point me to the script you are referring to? And what exactly it does and when to use it?