I was working on Geolocating photos from January 2022. While saving after doing a reverse geocoding the central main display went empty. All efforts to get it back have failed. Is my database corrupt? If so what are my rescue options?
There are over 2000 photos for January 2022. The photos are still on the computer, I checked the directory where they are stored and they all appear to be there. If I go to Album view in the left side bar and select TBE\2022\Jan the thumbnails all display as normal. However the count shown next to Album names all say (0). Not only for 2022\January but for all Albums. At least for the TBE album and subalbums. Some, but not all, of other Albums on that drive have counts.
More symptoms: Going back to Date on the left sidebar, the counts shown incorrect. Example select 2023. It shows 180. The Calendar below show February 2025 and is grayed out, indicating no files. Below that in the lower left corner its say …(5075 item). Five thousand is what I expect. For the individual months some counts are good others are low. 2024 will not open and 2025 does not show. But I know there 2025 photos.
To be clear the main display in thumbnail mode is only messed up when left side bar Dates is selected, And then only for 2022 and later. Completely empty for Jan 2022 (should be over 2000). Missing items for all other months and later years.
On the Timeline tab the counts are all wrong. At least for years I have Geolocated (2025, 2024, 2023, and 2022).
I am running Digikam 8.5 from the AppImage download from Digikam site. The OS is Ubuntu 24.04. ITB SSD, 14TB hard drive, 32Gig RAM. Previously I had the Digikam Snap for Ubuntu running but it was only 8.2. I am not sure if it was a clean migration. There are approximate 180,000 items in the database
The database is SQLite and is located on an SSD. The photos are on a network share.
So far I have done the usual reboots and restarts with no luck. I have done the maintenance in Tools->Maintenance both Scan for new items and Perform database cleaning, no luck. I have not done rebuild Thumbnails because the thumbnails are there in Album view and Tags view.
I don’t know the internal structure of the Digikam databases. But if I had to guess I would say the table that maintains the counts is messed up. I don’t see anyway to reset those counts.
I have some tools for browsing SQLite databases on my Windows machine, so I can poke around if needed.
Any guidance would be appreciated.
Herb