Darktable has lost my masks after upgrade

I’ve upgraded from 3.0.0 to 3.0.2
On first run darktable said I needed to update the database.
Images look ok apart from those using a mask. They’ve all disappeared.
I’m seeing an error in the log saying
[_dev_read_masks_history] followed by my image name then mask version mismatch: history is 5, dt 4

Is this thinking I’ve gone back a version, not forward 2?
Rebuilt the image cache.

Googling doesn’t seem to show anyone else with a similar error :frowning:

Any ideas? Can the .db files be edited to update the version back to 4? Or is it in the sidecar file?

Its probably in both. Did you ever run the development version?

1 Like

Always official releases from download.opensuse.org.

Any idea how I edit the database? I thought it was sqlite but trying to open library or data says its encrypted or not a database.

Where does it get the version from and what does it mean?

The database is sqlite and it is not encrypted. It should be in/~/.config/darktable.

Cheers, I realised I was trying to open it with sqlite and not sqlite3.
Fix seems to have worked for the images I hadn’t already opened.
Intrigued why this happened.

It is your system, so you’ll have to tell us what happened :slight_smile: