I have! the ten-year cost of tagged photos managed with digikam, and my stable / test debian suite has recently been updated to digikam 5. *.
Now I am faced with the problem that the database (mysql) in which the labor of love works seems to create problems when trying to switch to a new database schema (v.8).
When starting digikam v5. * is indicated on the backend of database 4 .. * -, I get the following:
digikam.dbengine: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected: 3 found: 3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version 7
digikam.coredb: Core database: makeUpdates 7 to 8
digikam.dbengine: Failure executing query:
""
Error messages: "QMYSQL: Unable to execute query" "Can't DROP 'Albums_AlbumRoots'; check that column/key exists" 1091 2
Bound values: ()
digikam.dbengine: Error while executing DBAction [ "UpdateSchemaFromV7ToV8" ] Statement [ "ALTER TABLE Albums\n DROP FOREIGN KEY Albums_AlbumRoots;" ]
digikam.coredb: Core database: schema update to V 8 failed!
digikam.coredb: Core database: cannot process schema initialization
When I explicitly try to use the db migration tool included in 5. * As a result, I get the error shown in the following image:

Can someone help with decrypting what is happening here, respectively, how to fix it?
Joh