My database/library became corrupt last week, no idea why. I have 50,000+ photos in it. What was happening was that thumbnails were not representing the actual photo, and that image tags were either missing or the wrong tags for the image.
After a bit of work I have an old snapshot working that now gives me my images with correct thumbnails, but I have lost many of my tags from the main master list in the tagging module, and I can’t create any new ones to re-populate my images. I create a new tag, apply it to an image, close darktable, re-open it and the tag has disappeared from the list and the image. I have been using darktable to manage my library since 2.8 and never had any problems with this before.
Darktable seems to be reluctant to unlock it’s files when closed now as well.
I have uninstalled and reinstalled, cleared out and nothing seems to help.
darktable 5.6.2 on Windows 11 v10.0.26200 build 26200, NVidia GeForce RTX 3070 laptop GPU,
As an addition to the above - many of the tags formerly assigned to images are no longer there, either in darktable or present in the xmp files.
My gut instinct would be that maybe your storage device (SSD?) may be on the way out? Backups/SMART readout sounds a good idea.
How quickly are you re-launching dt when you are getting the “db lockfile present” error?
Try generating a log file (instructions).
Thanks Mino. I created the log file (an interesting read in itself) and have now created a new issue on GitHub.
1 Like