I installed DT 5.0 (Linux Mint 21.3 Virginia; ppa), created a new database as I had restructured my photos anyway and then imported them.
Now I wanted to create a new tag for new pictures, but this does not seem to be possible. I create the new tag and click on New. The entry disappears, but the tag I entered does not appear in the list.
What am I doing wrong?
Addendum: On my other PC in DT 4.8.0 the procedure works without any problems.
Greetings
Thomas
Hi, you say you âcreated a new database as I had restructured my photos anywayâ, are you sure your user has write access to ~/.config/darktable and also to the folder(s) where your photos are stored?
That was already my assumption. Yes, I have read and write permissions with my user in the directories mentioned.
Do you get any errors on the console?
which ppa are we talking about here?
Iâve installed from ppa:ubuntuhandbook1/darktable.
I get these errors when I start DT from the console. I then looked at the access rights of the DB files and not just the directories as before. I realized that I only had read access to the data.db. I adjusted these and now it works.
So far, but not so good for me. Because I would like to know what I did wrong in my process.
I have a suspicion: I previously had V.4.8.1, where everything worked so far. Then I installed V.5.0.0, but did not call it, but renamed the library.db before, because I wanted to start with an empty db. However, I didnât think about the data.db, i.e. it was still from the previous version. Should I have renamed it as well?
-
sqlite3 error: ./src/gui/presets.c:89, function dt_gui_presets_init(), query âDELETE FROM data.presets WHERE writeprotect = 1â: attempt to write a readonly database
-
sqlite3 error: ./src/libs/modulegroups.c:1325, function _preset_retrieve_old_presets(), query âDELETE FROM data.presets WHERE operation = âmodulelistâ AND op_version = 1â: attempt to write a readonly database
⌠and why do the access rights change, just because I install a new version?
Thank you for your efforts to help! For me this is a great forum where people really try to help. I appreciate your efforts.
I wish everyone a happy and healthy 2025!
They donât, or at least shouldnât. I see two possible causes:
- somethingâs wrong with the deb file you got from the PPA. Itâs not provided by the development team, but by a third party.
- you may have made a mistake.
My local installation (built from source) creates the following files if I start with a clean config:
kofa@eagle:~/.config$ ls -l darktable
total 4148
-rw-rw-r-- 1 kofa kofa 26875 Jan 1 11:32 darktablerc
-rw-r--r-- 1 kofa kofa 2428928 Jan 1 11:32 data.db
-r-------- 1 kofa kofa 0 Jan 1 11:32 data.db-pre-5.1.0
-rw-r--r-- 1 kofa kofa 1769472 Jan 1 11:32 library.db
-r-------- 1 kofa kofa 0 Jan 1 11:32 library.db-pre-5.1.0
-rw-rw-r-- 1 kofa kofa 6877 Jan 1 11:32 shortcutsrc
-rw-rw-r-- 1 kofa kofa 6877 Jan 1 11:32 shortcutsrc.defaults
The only read-only files are the âpre-upgradeâ backups (0 bytes, as there was nothing to back up).