Problems after reinstalling digikam and recovering DK database from backup

Gilles Caulier caulier.gilles at gmail.com
Mon Sep 1 06:50:30 BST 2025


Le sam. 30 août 2025 à 16:12, Thomas <sdktda at gmail.com> a écrit :

> Hi,
>
>
> I had to reinstall my mac and recover from backup.
>
> So on a fresh MacOS install, I did this:
>
> 1: Restore Pictures folder from backup - for my local photo collection,
> and this is also where all the digikam *.db files are located.
>
>
Reinstalling macOS on the same disk will reset the media UUID. The database
use the UUID to recognize the collection hosted on the media to know if
items have been scanned or not.


> 2: Restore these files from backup:
>
>
>
> ~/Library/Application Support/digikam
>
> ~/Library/Preferences/digikamrc
>
> ~/Library/Preferences/digikam_systemrc
>
> ~/Library/Preferences/org.digiKam.plist
>
>
>
See the list of config files from the documentation:

https://docs.digikam.org/en/getting_started/installation.html#configuration-files



> 3: Install digikam.
>
>
>
> 4: Start digikam.
>
> Collection IDs have changed. So I set it to: "collection is still
> available but ID changed"
>
>
> Then DK started to "Scan for new items". That is expected. It always does
> this when starting up. But this time it takes hours and hours. It is still
> going for several hours and progress is like this:
>
>
> I would expect DK to not have to reindex everything because it should use
> the existing *.db files that are present because they were restored from
> backup. And the digikamrc should tell DK to use them ,right?
>
>
> Did I miss something in my recovery procedure?
>
>
> Double check the Collection type used in The setup collections dialog
page, using the update button on the right side :

https://docs.digikam.org/en/setup_application/collections_settings.html#setup-root-album-folders

Best regards

Gilles Caulier



> BR
>
> Thomas
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20250901/b8e3dc17/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xef9Cipc4FelYdq6.png
Type: image/png
Size: 9664 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20250901/b8e3dc17/attachment.png>


More information about the Digikam-users mailing list