Bug 444757 - albums empty
Summary: albums empty
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-TreeView (show other bugs)
Version: 7.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-01 08:17 UTC by Nadine
Modified: 2022-08-26 21:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0


Attachments
screen shot of empty albums (21.24 KB, image/png)
2021-11-01 08:17 UTC, Nadine
Details
Debug log file (75.59 KB, text/plain)
2021-11-01 12:14 UTC, Nadine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nadine 2021-11-01 08:17:02 UTC
Created attachment 143083 [details]
screen shot of empty albums

SUMMARY
Most (not all) of the albums exist, but indicate that there are no images

STEPS TO REPRODUCE
1. I have no idea, over 104K images are not visible
2. 
3. 

OBSERVED RESULT
No images in the albums

EXPECTED RESULT
To see my images

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I was working on organizing and annotating my images.
I exited and restarted the application.
I performed a soft reboot of the computer.
I copied the database files (4 of them) to another file location.
I performed a full shut down of the computer.
I uninstalled and reinstalled digiKam 7.4.0.
I uninstalled and installed digiKam 7.4.0 debug.
I have verified with file explorer that all of the images still exist in all of the folders.
I am still not able to view my images in digiKam (except for 1).

I need to know how to correct this situation
Comment 1 Maik Qualmann 2021-11-01 08:41:25 UTC
Without a DebugView log and further information (collection type, database type, etc.) we cannot help. Create a DebugView log with active debug environment variable as described here for Windows: 

https://www.digikam.org/contribute/

Also keep in mind that digiKam-7.4.0 is a development version for which there have been no updates for 2 months due to problems with the build computer.

Maik
Comment 2 Nadine 2021-11-01 12:14:34 UTC
Created attachment 143097 [details]
Debug log file

I installed 7.4.0 on your recommendation when I had an issue with metadata edits not being persistent with 7.3.0. That solved my problem.

I hope that I have properly performed the instructions that you gave me to create the necessary log file for you. I have attached the log file.
Comment 3 Maik Qualmann 2021-11-01 12:45:14 UTC
I'm sorry, your core database under "I:/photos/digikam4.db" is defective and can probably not be repaired. Check your drive for errors. Delete the database or rename them to start with a new database. 

Error messages: "Unable to fetch row" "database disk image is malformed" "11" 1

Maik
Comment 4 Nadine 2021-11-01 20:25:09 UTC
I have saved a copy of each of the database files from early September. Can I use the previous copy of digikam4.db instead of creating a new database? Can I just reclaim digikam4.db or must I reclaim all 4 files? How much data will I lose by creating a new database?

Thank you so much for your quick responses.
Comment 5 Maik Qualmann 2021-11-01 21:26:19 UTC
You can simply copy only back the digikam4.db from the backup. All images that have been changed / deleted or added in the meantime will be updated again.

Maik
Comment 6 Maik Qualmann 2021-11-08 12:16:16 UTC
Has there been any progress, has the problem been resolved?

Maik
Comment 7 caulier.gilles 2022-01-09 14:51:40 UTC
Nadine,

Please, we needs feedback here.

I recommend to install the 7.5.0 pre-release windows installer available here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 8 Maik Qualmann 2022-08-26 21:27:30 UTC
Git commit 87ccab055cd17cae73075c8b3d5907c48d38c3a4 by Maik Qualmann.
Committed on 26/08/2022 at 21:24.
Pushed by mqualmann into branch 'master'.

additionally check for a local/external collection whether the full path is available.
This prevents data loss in the database.
Related: bug 458344, bug 371535
FIXED-IN: 8.0.0

M  +4    -3    NEWS
M  +1    -1    core/libs/database/collection/collectionmanager_location.cpp

https://invent.kde.org/graphics/digikam/commit/87ccab055cd17cae73075c8b3d5907c48d38c3a4