<div dir="ltr"><div>Hello,</div><div><br></div><div>I have a python script pulling my own statistics from digikam's DB file and I've noticed I have many Images missing Album (field images.album is null) and many more images contained in Albums in non-existing Root Albums (field albums.albumRoot is informed to a number that doesn't exist in field albumsRoot.id).</div><div><br></div><div>I randomly checked the hash for those images and it seems that they were re-scanned in any case and actual files are now contained also either in any existing Album (for the first case), or those Albums are already in any Root Album (for the second).</div><div><br></div><div>How would you recommend me to get this fixed?</div><div><br></div><div>Also, speaking of the DB, as I said, I run digikam with a local .db file. I have more than 150k real images in the DB. What is the best and fastest approach in terms of DB set-up? Should I have a local DB file or I better install any local DB Server and get run digikam with it?</div><div> </div><div>Thanks for your help with these issues and hesitations!</div><div><br></div><div><br></div><div>Happy Sunday,</div><div><br></div><div>h.</div><div><br></div><div><br></div><div><br></div></div>