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 ...
With the new feature to support multiple databases, if you create a new database while leaving the workspace name in the creation dialog empty, you can inadvertently modify your standard darktablerc.