[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 [email protected] changed: What|Removed |Added CC||[email protected] --- Comment #16 from [email protected] --- Ok, After running into the same issue, I've got v9.1.0 installed on my Windows box. It reads the database, but Finding new items is stuck at 0%. Is this a by-product of the bug, or something else? -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #15 from Maik Qualmann --- Albums with a "1-" path are marked as deleted. Due to a bug in digiKam-9.0.0, all albums in the T: drive were marked as no longer present. You will have to rescan your collection – unfortunately. Please also provide an updated DebugView log. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #14 from Robin --- (In reply to Maik Qualmann from comment #13) > Use the current pre-release version of digiKam-9.1.0. It currently only > contains bug fixes. > > https://files.kde.org/digikam/ > > Maik Thanks, but version digiKam-9.1.0-20260317T180154-Qt6-Win64 still only shows the 2 folders with albumRoot 1 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #13 from Maik Qualmann --- Use the current pre-release version of digiKam-9.1.0. It currently only contains bug fixes. https://files.kde.org/digikam/ Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #12 from Robin --- (In reply to Maik Qualmann from comment #11) > Git commit e032d28fcf6d871f616fd9da1960c8c0b70b425f by Maik Qualmann. > Committed on 14/03/2026 at 12:11. > Pushed by mqualmann into branch 'master'. > > remove test debug for Windows > Problem is fixed when using only one drive letter as the collection path. > With QDir, the slash in the path is now handled correctly. > FIXED-IN: 9.1.0 > > M +1-1NEWS > M +0-9core/libs/database/collection/collectionscanner_scan.cpp > M +0-10 core/libs/database/collection/collectionscanner_utils.cpp > > https://invent.kde.org/graphics/digikam/-/commit/ > e032d28fcf6d871f616fd9da1960c8c0b70b425f So for now do you recommend I wait for a few months until 9.1.0 release or do you recommend me deleting the last 3 entries and setting albumRoot to 1 for all that is 0, as well as replacing the relativePath 1-% to %? As in how do I fix this now? -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 Maik Qualmann changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|--- |FIXED Version||9.1.0 Fixed/Implemented|| In|| Latest Commit||https://invent.kde.org/grap ||hics/digikam/-/commit/e032d ||28fcf6d871f616fd9da1960c8c0 ||b70b425f --- Comment #11 from Maik Qualmann --- Git commit e032d28fcf6d871f616fd9da1960c8c0b70b425f by Maik Qualmann. Committed on 14/03/2026 at 12:11. Pushed by mqualmann into branch 'master'. remove test debug for Windows Problem is fixed when using only one drive letter as the collection path. With QDir, the slash in the path is now handled correctly. FIXED-IN: 9.1.0 M +1-1NEWS M +0-9core/libs/database/collection/collectionscanner_scan.cpp M +0-10 core/libs/database/collection/collectionscanner_utils.cpp https://invent.kde.org/graphics/digikam/-/commit/e032d28fcf6d871f616fd9da1960c8c0b70b425f -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #10 from Maik Qualmann --- Git commit 622d611d0315116f68aa4245fad7b3a31afd6fd8 by Maik Qualmann. Committed on 13/03/2026 at 19:50. Pushed by mqualmann into branch 'master'. add test debug for Windows M +13 -6core/libs/database/collection/collectionscanner_scan.cpp M +11 -1core/libs/database/collection/collectionscanner_utils.cpp https://invent.kde.org/graphics/digikam/-/commit/622d611d0315116f68aa4245fad7b3a31afd6fd8 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #9 from Maik Qualmann --- The cause is the network path, which only points to "T:". This cannot be resolved and found in our Collection Location code. I will fix it this weekend. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #8 from [email protected] --- Created attachment 190570 --> https://bugs.kde.org/attachment.cgi?id=190570&action=edit Changed face database name face database name was incorrect. Changed the name in settings, which led to digikam hanging / becoming unresponsive. Closed and re-opened. Same results as previously: only 2 albums visible. MariaDB [digikam]> select * from Albums; returns 32722 rows in set (0.035 sec) Rows look very similar to MariaDB [digikam]> select * from Albums limit 0,3; ++---+--++-++--+-+ | id | albumRoot | relativePath | date | caption | collection | icon | modificationDate| ++---+--++-++--+-+ | 1 | 0 | 1-/ | 2003-04-19 | NULL| NULL | NULL | 2025-06-26 07:51:00 | | 2 | 0 | 1-/3d scans | 2022-04-05 | NULL| NULL | NULL | 2022-04-05 10:10:48 | | 3 | 0 | 1-/4chan | 2026-01-24 | NULL| NULL | NULL | 2026-01-27 21:34:17 | ++---+--++-++--+-+ but found some seeming doubles MariaDB [digikam]> select * from Albums where "id" < 32720 and id > 32718; +---+---+++-++--+-+ | id| albumRoot | relativePath | date | caption | collection | icon | modificationDate| +---+---+++-++--+-+ | 32719 | 0 | 1-/Events/Sinterklaas 2025 | 2026-01-30 | NULL| NULL | NULL | 2026-01-30 16:19:00 | | 32720 | 1 | / | 2025-06-26 | NULL| NULL | NULL | NULL| | 32721 | 1 | /3d scans | 2022-04-05 | NULL| NULL | NULL | 2022-04-05 10:10:48 | | 32722 | 1 | /4chan | 2026-02-06 | NULL| NULL | NULL | NULL| +---+---+++-++--+-+ 4 rows in set, 1 warning (0.000 sec) MariaDB [digikam]> select * from Albums where relativePath like "1-/%"; results in 32719 rows in set (0.038 sec) and MariaDB [digikam]> select * from Albums where relativePath like "/%"; +---+---+--++-++--+-+ | id| albumRoot | relativePath | date | caption | collection | icon | modificationDate| +---+---+--++-++--+-+ | 32720 | 1 | /| 2025-06-26 | NULL| NULL | NULL | NULL| | 32721 | 1 | /3d scans| 2022-04-05 | NULL| NULL | NULL | 2022-04-05 10:10:48 | | 32722 | 1 | /4chan | 2026-02-06 | NULL| NULL | NULL | NULL| +---+---+--++-++--+-+ 3 rows in set (0.018 sec) are also the only albums that show up in my Albums list. Considering: - When I restarted digikam the second time after installation of 9.0.0 it asked me to enter a collection again - I added the same network share - I have scan for new files on startup set (which I cancel pretty much as soon as I started up the last few times) it looks like somehow digikam set albumRoot to 0 and relativePath to 1-/% and found the 3 with albumRoot 1 and relativePath /% entries whilst scanning. Do you recommend me deleting the last 3 entries and setting albumRoot to 1 for all that is 0, as well as replacing the relativePath 1-% to %? It won't solve the mystery of why that was changed though - there were no network outages with the NAS whilst I upgraded (.exe installer) from 8.8.0. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354
Maik Qualmann changed:
What|Removed |Added
Resolution|WAITINGFORINFO |---
Status|NEEDSINFO |REPORTED
--- Comment #7 from Maik Qualmann ---
In Comment 4, they switch databases, and unfortunately, due to a race
condition, digiKam can freeze. I will fix that.
Otherwise, there is an access problem to the face database that needs to be
resolved:
digikam.dbengine: Error while opening the database. Error was QSqlError("1044",
"QMYSQL: Unable to connect", "Access denied for user 'digikam'@'%' to database
'digikam_faces'")
Maik
--
You are receiving this mail because:
You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #6 from [email protected] --- Hi, the scanning process is complete. I have attached 3 logs: - TJX Internal Database.LOG - after scanning the collection again, no people thumbnails are visible - TJX.LOG set to database.LOG - started the debugger after changing database settings back to the NAS database server. This resulted in digikam not responding. Waited for ~30 minutes before killing the process - TJX database on NAS after restart.LOG - Started up digikam. Only 2 folders are visible in Albums view. The names of the people are visible in People view, but no thumbnails. Clicking on them shows no images. Thanks! -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #5 from [email protected] --- Created attachment 190558 --> https://bugs.kde.org/attachment.cgi?id=190558&action=edit Restarted digikam with mariadb on NAS set but only shows 2 folders in Albums view, people is empty After restarting digikam from the not responding state. The list of people is present on the left, but when clicking on a person there are no images visible. The thumbnail image for the person is also not visible -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #4 from [email protected] --- Created attachment 190557 --> https://bugs.kde.org/attachment.cgi?id=190557&action=edit Changed settings back to mariadb on NAS but digikam not responding Left digikam to run for around 1/2 an hour, but digikam was not responding -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #3 from [email protected] --- Created attachment 190556 --> https://bugs.kde.org/attachment.cgi?id=190556&action=edit Startup after scanning collection to internal database People view shows no faces in the left side, but does show the content when I click on a person, album, etc. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 --- Comment #2 from [email protected] --- (In reply to Maik Qualmann from comment #1) > There is no database update between digiKam versions 8.8.0 and 9.0.0. > > Albums disappear because the collection is not online, but the People never > disappear. > > Without a complete DebugView log from startup, as described here, we will > not be able to help: > > https://www.digikam.org/contribute/#windows-host > > Maik OK. I will revert in about 3 days time, when I hope my collection has rescanned (now at 28%, started around 16 hours ago) -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 517354] Images seem to be gone when upgrading from 8.8.0 with mariadb on NAS (but are still in DB)
https://bugs.kde.org/show_bug.cgi?id=517354 Maik Qualmann changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED|NEEDSINFO CC||[email protected] --- Comment #1 from Maik Qualmann --- There is no database update between digiKam versions 8.8.0 and 9.0.0. Albums disappear because the collection is not online, but the People never disappear. Without a complete DebugView log from startup, as described here, we will not be able to help: https://www.digikam.org/contribute/#windows-host Maik -- You are receiving this mail because: You are watching all bug changes.
