If you have imported a film roll, the metadata for that film roll contains the full file system path to that film roll. If you rename that location on disk, you will see black and white "skull and ...
When darktable-cli fails, it leaves the database lock file in place. This causes a specific issue that I think is separate from this one, so I will open two separate tickets. I checked distro ...