SUMMARY I have multiple collections of photos that I want to completeley seperate from antother. That's why I want also to separate Digikam databases for these colletions. So I use the "digikam --database-directory ." command to create "local" databases which can also be shared over multiple computers since the photo collections are on a external drive. My experience is that the "digikam4.db" file will successfully be created and used but the 3 missing database files "recognition.db" "similarity.db" and "thumbnails-digikam.db" will not. They will only be created when I don't use the --database-directory option, but that's not an option. STEPS TO REPRODUCE 1. Create new directory with pictures 2. Start digikam there with "digikam --database-directory ." 3. "digikam4.db" will be created but not the 3 missing databases OBSERVED RESULT Only "digikam4.db" EXPECTED RESULT "digikam4.db" "recognition.db" "similarity.db" and "thumbnails-digikam.db" Operating System: openSUSE Tumbleweed 20201229 KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 Kernel Version: 5.10.1-1-default OS Type: 64-bit
I cannot reproduce the problem. All databases are created in the location specified by the parameter "--database-directory". Activate the debug output as described here: https://www.digikam.org/contribute/ and give us the full log from the start including the digiKam start line. Maik
Created attachment 134433 [details] Logs Hello Maik, thank you for the fast reply and happy new year! It seems like specifying "--database-directory" works flawlessly when using an absolute path but only creates "digikam4.db" when using relative paths. In my case I always referenced the current directory with the "." I uploaded my logs into the attachment.
Git commit 5d8830b2b7bfb2bae51fc31363a5ef9b7149f4e8 by Maik Qualmann. Committed on 01/01/2021 at 12:05. Pushed by mqualmann into branch 'master'. get absolute Path from the database-directory parameter FIXED-IN: 7.2.0 M +2 -1 NEWS M +1 -1 core/app/main/main.cpp https://invent.kde.org/graphics/digikam/commit/5d8830b2b7bfb2bae51fc31363a5ef9b7149f4e8