I’m using dt 3.4.1 on macOS Catalina 10.15.7. I use Rapid Photo Downloader to transfer files from camera SD cards to folders on a NAS share, and I import them into dt from there. I’ve been doing this routinely for ages, without issue.
Today, when I imported a folder of image files (504 files comprising pairs of RAW and JPG) into dt, many of the thumbnails were normal, but a random selection showed as black rectangles.
Some of these black thumbnails would open as full previews, showing the appropriate picture; but many opened previews that were just black.
When I tried to open files with black thumbnails in darkroom, they appeard as black on the editing screen. But if I zoomed the screen, the correct picture would show momentarily and zoom appropriately, but then return to black.
I’ve created new folders and reimported the same 504 files. An apparently random selection of different thumbnails appears black each time.
(I’m guessing a database has got corrupted, but I’ve no idea which, or how to fix it with least impact on my collection of 35,000+ image files.)
I’d be very grateful for any suggestions about how I might go about fixing this problem safely.
archie
PS I should say that I have weekly backups of my .cache/darktable folders, and Time Machine backups of dt itself.
If you select it, loading the lighttable will involve raw processing, and will thus be slower. I don’t use it; I was only asking because you’d written that both the thumbnails and the editor in the darkroom had the problem of black images.
@paperdigits@kofa
Many thanks to you both for your speedy and helpful replies. I decided to use the ‘nuclear’ option: I just restored darktable.app and ~/.cache/darktable from known-good copies with the same datestamp. All is now working well again.
Thanks again for generously giving your time to help.
~/.cache/darktable will be fully rebuilt if you remove it; in fact, deleting the cached_kernels_... directory (or directories, if there are more of them) is recommended after upgrades; the mipmaps-... can also be safely removed.