Bug 467505 - When launching the latest version of digiKam, the old internal MySql database cannot be started.
Summary: When launching the latest version of digiKam, the old internal MySql database...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Mysql (show other bugs)
Version: 7.10.0
Platform: macOS (DMG) macOS
: NOR critical
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-17 20:16 UTC by ustuerzlinger
Modified: 2024-09-20 02:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of error message (150.77 KB, image/png)
2023-03-17 20:16 UTC, ustuerzlinger
Details
digikam 7.10 error message after upgrade (114.24 KB, image/png)
2023-03-17 20:43 UTC, Hackintosh HD
Details
mysql error log (2.69 MB, text/plain)
2023-03-21 13:38 UTC, ustuerzlinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ustuerzlinger 2023-03-17 20:16:11 UTC
Created attachment 157370 [details]
Screenshot of error message

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Install digikam 7.10 over 7.9
2. launch the application
3. Receive error message "An error occurred during the internal server start"

OBSERVED RESULT
Unable to start application

EXPECTED RESULT
Start application with old database

SOFTWARE/OS VERSIONS 
macOS: Ventura 13.2.1


ADDITIONAL INFORMATION
MacBook Pro M1 Max
Comment 1 caulier.gilles 2023-03-17 20:34:29 UTC
Hi,

i already responded in the user mailing list about this problem few days ago. Look this thread:

https://mail.kde.org/pipermail/digikam-users/2023-March/034674.html

See also this bugzilla entry for the story: https://bugs.kde.org/show_bug.cgi?id=462736

Best

Gilles Caulier
Comment 2 Hackintosh HD 2023-03-17 20:43:14 UTC
Created attachment 157372 [details]
digikam 7.10 error message after upgrade
Comment 3 Hackintosh HD 2023-03-17 20:44:34 UTC
Same here on a MacBook Pro mid-2012 (MacBookPro9,1) with Ventura 13.2.1 after an upgrade of digikam 7.9/internal mysql to digikam 7.10, cf. attached screenshot.
Comment 4 Hackintosh HD 2023-03-17 20:49:43 UTC
Sorry for my screenshot and comment after Gilles explanation of the problem - as you may notice from our comments' timestamps, we commented pretty much simultaneously, so I didn't have any knowledge about the problem's cause at the time of writing.
Comment 5 Maik Qualmann 2023-03-21 12:37:53 UTC
Can you please post the MySQL error log from the database directory ".../.mysql.digikam/db_data/mysql.err"?

Maik
Comment 6 ustuerzlinger 2023-03-21 13:38:31 UTC
Created attachment 157494 [details]
mysql error log

As requested the error log
Comment 7 caulier.gilles 2024-09-18 09:17:31 UTC
@ustuerzlinger

As you use a M1 macbook pro like me, i recommend to try the Silicon PKG installer build for 8.5.0 pre-release. It's use MariaDB 10.1 provided by Macports :

https://ports.macports.org/port/mariadb-10.11/

Files can be download here :

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

Please try and reports...

Gilles Caulier
Comment 8 caulier.gilles 2024-09-18 09:19:31 UTC
A screenshot from my MacBook pro M1 running digiKam 8.5.0 arm64 with the internal mysql database (here mariadb):

https://i.imgur.com/A3CTp2Y.png

Gilles Caulier
Comment 9 Michael Miller 2024-09-18 10:37:15 UTC
Sorry, but the latest 8.5.0-arm package still doesn't work for me.  My environment is a Mac arm64 VM.  I removed previous SQLlite DBs and MariaDM files and dirs.  I removed ~/Library/Preferences/digikamrc.  This screenshot is the inital run of digiKam.

https://bugs.kde.org/attachment.cgi?id=173822

If you try to run mariadbd from the command line using the parameters shown in the error message, you'll see what I mean in https://bugs.kde.org/show_bug.cgi?id=491042 about MariaDB files missing.
Comment 10 caulier.gilles 2024-09-20 02:34:51 UTC
Michael,

I found a severe (and stupid) bug in the PKG installer that i just fixed : the previous install was not removed from the /Applications.

Re-installing the application will mix different versions with all possible side effects that you can imagine.

I will rebuild arm64 pkg asap.

Gilles