[digikam] [Bug 440212] Digikam 7.3.0 fails to update the database schema from version 12 to version 13

2022-01-03 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=440212

--- Comment #3 from Maik Qualmann  ---
Yes, you need at least digiKam-7.4.0 to solve the problem. The version reads
the MySQL Error Log if the update fails and will start upgrading the database
to the new MySQL Server version at the next start.
To understand it, MariaDB has made major changes to the table structure in the
database. As long as no changes are made to the database, there is no problem.
In the case of a change to the tables, it will fail. For the system MySQL
database, a Cron Job is executed which executes the upgrade. In the case of the
MYSQL database managed by Digikam, this must either be done manually (not quite
simple) or automatically from digiKam-7.4.0 or newer.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 440212] Digikam 7.3.0 fails to update the database schema from version 12 to version 13

2021-07-25 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=440212

Maik Qualmann  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/grap
   ||hics/digikam/commit/49ee18f
   ||bf2220baedbc015f51b74f67930
   ||115287
 Status|REPORTED|RESOLVED
   Version Fixed In||7.4.0
 Resolution|--- |FIXED

--- Comment #2 from Maik Qualmann  ---
Git commit 49ee18fbf2220baedbc015f51b74f67930115287 by Maik Qualmann.
Committed on 25/07/2021 at 13:44.
Pushed by mqualmann into branch 'master'.

perform a database upgrade if the server / database version is different
Related: bug 440030
FIXED-IN: 7.4.0

M  +2-0NEWS
M  +126  -3core/libs/database/server/databaseserver.cpp
M  +5-0core/libs/database/server/databaseserver.h

https://invent.kde.org/graphics/digikam/commit/49ee18fbf2220baedbc015f51b74f67930115287

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 440212] Digikam 7.3.0 fails to update the database schema from version 12 to version 13

2021-07-23 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=440212

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #1 from Maik Qualmann  ---
Current Archlinux MariaDB package is broken. Or you have to upgrade the
database because MariaDB has changed the internal structure.

Read these threads:

Bug 440132 - Digikam crashes scanning for new items
Bug 440030 - Database migration 7.2 -> 7.3 fails

https://bugs.archlinux.org/task/71582?project=1=mariadb

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.