| Summary: | Unable to recover digiKam data on ubuntu 20.04 with Mysql server 8.0.27 | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Gerry Matte <gerry> |
| Component: | Bundle-AppImage | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 7.3.0 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 8.0.0 | |
| Sentry Crash Report: | |||
| Attachments: | digiKam Error Message trying to access MySql gatabase | ||
|
Description
Gerry Matte
2021-11-11 02:37:56 UTC
You can delete your digiKam configuration file in order to restart with a First Run Wizard. This is probably under "~/.config/digikamrc". Otherwise, of course, a log from the terminal with an active debug variable would be helpful to isolate the problem first. How the log is created can be found here: https://www.digikam.org/contribute/ Maik Created attachment 143470 [details]
digiKam Error Message trying to access MySql gatabase
Thank you Maik for your suggestions. I was able to generate a startup log and during the process the original error window displayed again. See attachment. That error suggested I try again "with an empty database." So I deleted the 33 MySql tables in my "Pictures" database, rebooted so the active debug variable was dropped, and then ran digiKam again - it successfully rebuilt the tables and then queried me for my pictures collection. After processing my pictures, digiKam was fully operational. I did however lose the three hours of facial recognition data ..... but I can redo that process some other time. It bothers me however that a MySql backup file could not be used to successfully restore digiKam's database. Since the MySql server resides on my Linux root partition and I keep my user data on a different "home" partition (where my backups reside) perhaps digiKam should be given the ability to save and restore database backups itself. Can you consider this as a feature request for a future version ? Gerry, Important not : digiKam 7.9.0 (and later 8.0.0) AppImage bundle are now build under Ubuntu 18.04 to support a better binary compatibility with all Linux system. As you use Ubuntu 20.04, and if your problem is due to a binary incompatibility with previous AppImage generated from Mageia7, this problem must be fixed now. Best Gilles Caulier For a database backup feature, i file is already open in bugzilla : https://bugs.kde.org/show_bug.cgi?id=224312 Following the comment #3 I can close this file now Gilles Caulier |