Bug 461504

Summary: Make it possible to create new database without having to delete digikam.rc
Product: [Applications] digikam Reporter: susanneabt
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.7.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:

Description susanneabt 2022-11-06 16:00:48 UTC
It would be nice to have a feature to just create a new database to start over again without having to delete all my other settings.

After hard disk replacement I'll have to reread all my albums which takes an awful amount of time.
(BTW: why does digikam not recognize my old thumbnails, even though the mount paths are the same?).

Ok I then decided to start over again (hoping it's a bit faster), deleted the old database and started digikam. It told me to delete digikam.rc in order to make a new database. Unfortunately, all my settings are now gone, too.

I would like to have a way to make a fresh database without loosing my settings.
And it would be nice not to have to rescan everything, just because a hard disk had to be replaced.

Thanks for reading.
Comment 1 Maik Qualmann 2022-11-06 17:26:20 UTC
You don't have to start with a new database if the hard drive is swapped or the image collection is in a different path. Just start digiKam, ignore the message about the nonexistent collection. Then simply click on the update symbol (round circle icon) in the collection settings and set the new path - done.

Maik
Comment 2 Maik Qualmann 2022-11-06 21:59:43 UTC
Git commit 23506503fbfd743062ebd9c22004811f60a248e1 by Maik Qualmann.
Committed on 06/11/2022 at 21:58.
Pushed by mqualmann into branch 'master'.

add create new database option to the database conflict dialog
FIXED-IN: 8.0.0

M  +1    -1    NEWS
M  +28   -1    core/libs/album/manager/albummanager_database.cpp

https://invent.kde.org/graphics/digikam/commit/23506503fbfd743062ebd9c22004811f60a248e1