Summary: | Cannot start digiKam. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Jan Steinman <jan.steinman> |
Component: | Database-Schema | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 7.6.0 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | 7.7.0 | |
Sentry Crash Report: | |||
Attachments: | Two dialogs left on the screen upon startup of digikam. |
Description
Jan Steinman
2022-03-07 04:55:30 UTC
Which digiKam version did you use exactly ? Run digiKam from a terminal as explained here : https://www.digikam.org/contribute/ ... report the console trace here... Gilles Caulier @Gilles, which Qt version are we using for MacOS? Are the patches for MariaDB-10.6.x included? A change from MariaDB-10.4 to 10.6 is a major update. Did you run "mariadb-upgrade"? Without this upgrade, changes to the table structure will no longer work. Maik Hi, It's always 5.15.2. I create an issue in Macport to use 5.15 patches collection without favorable feedback, but now, as 5.15.3 is out, it will be upgraded. officially. https://trac.macports.org/ticket/64518#comment:5 Else, in digiKam PKG, Mariadb version 10.5 is used with Qt5 sql plugin : https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/macports/01-build-macports.sh#L304 Gilles Ok, Jan writes that he updated MariaDB himself, so he will use an external MySQL server. Then the reason is clear, MariaDB-10.6 will not work with the current MacOS digiKam version. Maik And of course if i force an upper version of Mariadb with Qt5.15.2, it will not work too... Right ? Gilles No, that won't work, a clean Qt-5.15.2 does not contain the necessary changes to the SQL driver. We have to wait for Qt-5.15.3 for MacOS and Jan has to go back to maximum MariaDB-10.5.x. Maik (In reply to Maik Qualmann from comment #2) > A change from MariaDB-10.4 to 10.6 is a major update. Did you run > "mariadb-upgrade"? Without this upgrade, changes to the table structure will > no longer work. I used "brew upgrade mariadb", so I can only assume that Homebrew ran the post-upgrade script. I did notice in my mariadb error log that one field (definer) in both mysql.event and mysql.proc was supposed to be varchar, but was char(141). I manually changed it to varchar, which stopped it from throwing errors, but made no change in digikam's operation. So for grins, I manually ran mariadb-upgrade, and digikam now reports it has updated to schema version 14, and is now downloading the face engine and red-eye removal engines. So I think we can mark this as closed! Thank you for your help! On Maik Qualmann's suggestion, I manually ran "mariadb-upgrade", and I no longer have this error. Thanks, Maik! |