Strange Sorting Problem

I have about 2,000 images located in a special projects tag, of those a few are classed as 5 star. My final selection of 40 images is through a RED color label.
This has worked just fine (correctly) until now but suddenly the 40 final images are showing-up as skulls.
The skulls images open correctly but revert to skulls when closed again.
Any ideas?

So at least we know that the RAW are there and accessible.

Maybe some corruption in the cache? Or the cache is not read/write anymore?

What’s your OS?

You may want to look into ~/.cache/darktable/ if using GNU/Linux.

Hi Pascal;
Looks like you were correct. I am running Manjaro/Arch and have the current git installed.
Here is the image of the cache directory and one entry looks very suspect.
What would be your recommendation for a fix … I do not want to lose these files!

No all those look good.

The “cached_v3…” are for compiled OpenCL code.

The mipmaps-2…d is the directory to store the thumbs. Again looks good.

You can safely remove the mipmaps…d directory it will get recreated anyway. This will just take some time depending on the number of image in your collection.

Another idea, it would be good to check if you still have the cache enabled for the mipmaps in the dt preferences.

What do you think of the idea of deleting the images (library.db) and simply re-importing again?

If you would point me to the specific option in the preferences, I will make sure that it is correctly enabled.

enable disk backend for thumbnail cache
If activated, darktable stores all thumbnails on disk as a secondary cache, and thereby keeps thumbnails accessible if they are dropped from the primary cache. This needs more disk space but speeds up the lighttable view as it avoids the reprocessing of thumbnails (default on).

enable disk backend for full preview cache
If enabled, darktable writes full preview images to disk (.cache/darktable/) when evicted from the memory cache. Note that this can take a lot of storage (several gigabytes for 20k images) and darktable will never delete cached images. It’s safe to delete these manually if you want. Enabling this option will greatly improve lighttable performance when zooming an image in full preview mode (default off).
(darktable 4.9 user manual - lighttable)