https://bugs.kde.org/show_bug.cgi?id=388867
--- Comment #4 from mlr...@cs.com --- (In reply to caulier.gilles from comment #1) > Please install DebugView program from Microsoft and run it while digiKam > starting. > > https://docs.microsoft.com/en-us/sysinternals/downloads/debugview > > You will see all debug traces generated internally by digiKam. This will be > interesting to investigate. > > Gilles Caulier The logfile during migrating 5.7.0 to 5.8.0: 00000001 0.00000000 [6072] InitSideBySide failed create an activation context. Error: 1814 00000002 11.33147907 [10604] digikam.widgets: Breeze icons ressource file found 00000003 11.33652115 [10604] digikam.general: AlbumWatch use QFileSystemWatcher 00000004 11.36268330 [10604] digikam.general: Database Parameters: 00000005 11.36268330 [10604] Type: "QMYSQL" 00000006 11.36268330 [10604] DB Core Name: "digikam" 00000007 11.36268330 [10604] DB Thumbs Name: "digikam" 00000008 11.36268330 [10604] DB Face Name: "digikam" 00000009 11.36268330 [10604] Connect Options: "" 00000010 11.36268330 [10604] Host Name: "localhost" 00000011 11.36268330 [10604] Host port: 3307 00000012 11.36268330 [10604] Internal Server: true 00000013 11.36268330 [10604] Internal Server Path: "C:/Users/mlrvt/digikam" 00000014 11.36268330 [10604] Internal Server Serv Cmd: "C:/Program Files/MariaDB 10.2/bin//mysqld.exe" 00000015 11.36268330 [10604] Internal Server Init Cmd: "C:/Program Files/MariaDB 10.2/bin//mysql_install_db.exe" 00000016 11.36268330 [10604] Username: "root" 00000017 11.36268330 [10604] Password: "" 00000018 11.36268330 [10604] 00000019 11.36393261 [10604] digikam.databaseserver: Database Parameters: 00000020 11.36393261 [10604] Type: "QMYSQL" 00000021 11.36393261 [10604] DB Core Name: "digikam" 00000022 11.36393261 [10604] DB Thumbs Name: "digikam" 00000023 11.36393261 [10604] DB Face Name: "digikam" 00000024 11.36393261 [10604] Connect Options: "" 00000025 11.36393261 [10604] Host Name: "localhost" 00000026 11.36393261 [10604] Host port: 3307 00000027 11.36393261 [10604] Internal Server: true 00000028 11.36393261 [10604] Internal Server Path: "C:/Users/mlrvt/digikam" 00000029 11.36393261 [10604] Internal Server Serv Cmd: "C:/Program Files/MariaDB 10.2/bin//mysqld.exe" 00000030 11.36393261 [10604] Internal Server Init Cmd: "C:/Program Files/MariaDB 10.2/bin//mysql_install_db.exe" 00000031 11.36393261 [10604] Username: "root" 00000032 11.36393261 [10604] Password: "" 00000033 11.36393261 [10604] 00000034 11.36401176 [10604] digikam.databaseserver: Internal Server data path: "C:/Users/mlrvt/digikam/.mysql.digikam/db_data" 00000035 11.36451340 [10604] digikam.databaseserver: The mysql configuration was already up-to-date: "C:/Users/mlrvt/AppData/Local/digikam/mysql.conf" 00000036 11.36466312 [10604] digikam.databaseserver: Failed to open MySQL error log. 00000037 11.77182961 [10604] digikam.databaseserver: Database server: "C:/Program Files/MariaDB 10.2/bin//mysqld.exe" ("--defaults-file=C:\\Users\\mlrvt\\AppData\\Local\\digikam\\mysql.conf", "--datadir=C:\\Users\\mlrvt\\digikam\\.mysql.digikam\\db_data", "--skip-networking=0", "--port=3307") 00000038 11.78020382 [10604] digikam.databaseserver: Internal database server started 00000039 11.78075218 [10604] digikam.databaseserver: Running 0 seconds... 00000040 12.11741829 [10604] digikam.dbengine: Loading SQL code from config file "C:/Program Files/digiKam/data/digikam/database/dbconfig.xml" 00000041 12.12179470 [10604] digikam.dbengine: Checking XML version ID => expected: 3 found: 3 00000042 12.12433529 [10604] digikam.coredb: Core database: running schema update 00000043 12.21508312 [10604] digikam.coredb: Core database: have a structure version 8 00000044 12.21511459 [10604] digikam.coredb: Core database: makeUpdates 8 to 9 00000045 26.46192360 [10604] digikam.dbengine: Failure executing query: 00000046 26.46192360 [10604] "" 00000047 26.46192360 [10604] Error messages: "QMYSQL: Unable to execute query" "Can't create table `digikam`.`#sql-28dc_50` (errno: 121 \"Duplicate key on write or update\")" 1005 2 00000048 26.46192360 [10604] Bound values: () 00000049 26.46204376 [10604] digikam.dbengine: Error while executing DBAction [ "UpdateSchemaFromV7ToV9" ] Statement [ "ALTER IGNORE TABLE Albums\n ADD CONSTRAINT Albums_AlbumRoots FOREIGN KEY (albumRoot) REFERENCES AlbumRoots (id) ON DELETE CASCADE ON UPDATE CASCADE,\n ADD UNIQUE (albumRoot, relativePath(255)),\n ENGINE InnoDB;" ] 00000050 26.46210861 [10604] digikam.coredb: Core database: schema update to V 9 failed! 00000051 26.46483231 [10604] digikam.coredb: Core database: cannot process schema initialization 00000052 40.35442734 [10604] KMemoryInfo: Platform identified : "WINDOWS" 00000053 40.35445404 [10604] KMemoryInfo: TotalRam: 12713754624 00000054 40.35453415 [10604] digikam.general: Allowing a cache size of 200 MB 00000055 40.36982346 [10604] QThreadStorage: Thread 0x230dbaf0 exited after QThreadStorage 7 destroyed 00000056 40.37002563 [10604] QWaitCondition: Destroyed while threads are still waiting 00000057 40.37097931 [10604] QThread: Destroyed while thread is still running -- You are receiving this mail because: You are watching all bug changes.