<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le sam. 30 août 2025 à 16:12, Thomas <<a href="mailto:sdktda@gmail.com">sdktda@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  

    
  
  <div>
    <p>Hi,</p>
    <p><br>
    </p>
    <p>I had to reinstall my mac and recover from backup.</p>
    <p>So on a fresh MacOS install, I did this:</p>
    <p class="MsoNormal">1: Restore Pictures folder from backup - for my
      local photo collection, and this is also where all the digikam
      *.db files are located.</p>
    <p class="MsoNormal"></p></div></blockquote><div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p class="MsoNormal">2: Restore these files from backup:</p>
    <p class="MsoNormal"> </p>
    <div style="border:1pt solid rgb(242,242,242);padding:5pt;background:rgb(242,242,242)">
      <p><span lang="DA" style="color:black">~/Library/Application Support/digikam</span><span lang="DA"></span></p>
      <p><span lang="DA" style="color:black">~/Library/Preferences/digikamrc</span><span lang="DA"></span></p>
      <p><span lang="DA" style="color:black">~/Library/Preferences/digikam_systemrc</span><span lang="DA"></span></p>
      <p><span lang="DA" style="color:black">~/Library/Preferences/org.digiKam.plist</span><span lang="DA"></span></p>
    </div>
    <p class="MsoNormal"> </p></div></blockquote><div>See the list of config files from the documentation: </div><div><br></div><div><a href="https://docs.digikam.org/en/getting_started/installation.html#configuration-files">https://docs.digikam.org/en/getting_started/installation.html#configuration-files</a></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <p class="MsoNormal">3: Install digikam.</p>
    <p class="MsoNormal"> </p>
    <p class="MsoNormal">4: Start digikam.</p>
    <p class="MsoNormal">Collection IDs have changed. So I set it to:
      "collection is still available but ID changed"</p>
    <p class="MsoNormal"><br></p></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p class="MsoNormal">
    </p>
    <p class="MsoNormal">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: <img src="cid:ii_19903cdac2cbd3e031d1" alt=""></p>
    <p>
      </p>
    <p><br>
    </p>
    <p>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?</p>
    <p><br>
    </p>
    <p>Did I miss something in my recovery procedure?</p>
    <p><br></p></div></blockquote><div>Double check the Collection type used in The setup collections dialog page, using the update button on the right side :</div><div><br></div><div><a href="https://docs.digikam.org/en/setup_application/collections_settings.html#setup-root-album-folders">https://docs.digikam.org/en/setup_application/collections_settings.html#setup-root-album-folders</a></div><div><br></div><div>Best regards</div><div><br></div><div>Gilles Caulier</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p>
    </p>
    <p>BR</p>
    <p>Thomas</p>
    <p><br>
    </p>
  </div>
</blockquote></div></div>