<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Patrick,
<div>Good news! Your database is fine.</div>
<div><br>
</div>
<div>Export this variable and start digiKam from the command line.</div>
<div><br>
</div>
<div> QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu --disable-software-rasterizer”</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Mike<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On May 20, 2025, at 5:43 AM, Patrick Gerlier <page74010-dgkm@yahoo.com> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>
<p>Hi all,</p>
<p>Using Digikam 8.6.0 under Fedora 42 with KDE Plasma desktop</p>
<p>I revived a photo archive put on sleep several years ago. Therefore my computer underwent several major upgrades in the mean time, i.e. last time I opened this archive was done under an older release. Digikam crashes in segfault after "Loading albums" step.
When launched from the terminal, I get:</p>
<p><span style="font-family:monospace"><span style="background-color: rgb(255, 255, 255);">digikam.dnnmodelmanager: Cannot find DNN models path</span><span style="background-color: rgb(255, 255, 255);">
</span><br>
<span style="background-color: rgb(255, 255, 255);">digikam.dnnmodelmanager: Cannot find DNN models path</span><span style="background-color: rgb(255, 255, 255);">
</span><br>
<span style="background-color: rgb(255, 255, 255);">qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.1 GPL version
</span>3 or later<span style="background-color: rgb(255, 255, 255);"> </span><br>
<span style="background-color: rgb(255, 255, 255);">digikam.dnnmodelmanager: Cannot find DNN models path</span><span style="background-color: rgb(255, 255, 255);">
</span><br>
<span style="background-color: rgb(255, 255, 255);">digikam.dnnmodelmanager: Cannot find DNN models path</span><span style="background-color: rgb(255, 255, 255);">
</span><br>
<span style="background-color: rgb(255, 255, 255);">digikam.dnnmodelmanager: Cannot find DNN models path</span><span style="background-color: rgb(255, 255, 255);">
</span><br>
<span style="background-color: rgb(255, 255, 255);">kf.xmlgui: Unhandled container to remove : Digikam::DigikamApp</span><span style="background-color: rgb(255, 255, 255);">
</span><br>
<span style="background-color: rgb(255, 255, 255);">Segmentation fault (core dumped)</span><br>
<span style="background-color: rgb(255, 255, 255);"></span><br>
It is very likely that I manipulated the photo directory outside Digikam, because I reconfigured my computer several times.</span></p>
<p><span style="font-family:monospace">When I peek into the database, I see many NULL fields in the 'album' column of 'images' table. Some of them correspond to albums I decided to make an independent collection under a separate database (though the images
should have also disappeared because the files are no longer present).</span></p>
<p><span style="font-family:monospace">I first suspected an issue with removable media which were indexed by Digikam, but this does not seem to be the case. I also questioned the use of UUID in 'albumroots' table because my disks were reformatted and data reloaded
"as is" without activating Digikam. I change 'uuid=…' to 'path=…' without effect (I worked on a copy of the DB).<br>
</span></p>
<p><span style="font-family:monospace">Digikam operates as expected on other databases. I started a separate collection and everything works fine though there are also NULL 'album' columns (in relatively low numbers) despite the fact that the photos where all
managed inside Digikam.</span></p>
<p><span style="font-family:monospace">I have written a small quick'n'dirty Django-based database browser to see the extent of the damage (within my limited understanding of the DB schema, ignoring tags presently). Surprisingly, my browser displays pictures
and data without problem. Note that this browser is purely "passive". It does not try to reconstruct a structure; it only queries the DB in read-only mode, ignoring NULL columns (thus ignoring possible duplicates resulting from external manipulation).</span></p>
<p><span style="font-family:monospace">All data seem to be there.<br>
</span></p>
<p><span style="font-family:monospace">Since the collection holds 10k+ images (and a very sophisticated tree-like tag structure), I'd like to recover the database because it is quite impossible to re-enter data, some of them being the result of time-consuming
historical research (XIX century photos) without backup outside Digikam DBs.</span></p>
<p><span style="font-family:monospace">Since Digikam segfaults, I can't access the Tools>Maintenance menu command.<br>
</span></p>
<p><span style="font-family:monospace">How can I proceed?<br>
</span></p>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>