schema update to V 14 failed

jdd at dodin.org jdd at dodin.org
Sun May 14 11:11:35 BST 2023


Hello,

I recently moved to openSUSE Tumbleweed (from openSUSE 15.3) and digikam 
don't works anymore.

my computer is an asus tuf 706iu amd+nvidia gaming one

to make things simpler, I will speak of digikam appimage 8.0.0, but I 
have the same result with my distribution version or any 7.7, 7.8 or 7.9 
appimage version.

I can open a bug on kde bugtracker, but I'm not familiar with it and 
maybe here the problem may seems easy to fix.

in short, digikam don't start. I get a message (in french, tranlated 
approx) "can't update shema from 13 to 14"

on the terminal I have among other things:

"Digikam::CoreDbAccess::checkReadyForUse: Core database: cannot process 
schema initialization"

and with:
export QT_LOGGING_RULES="digikam*=true"

I get a long error log (in the text file below)

any hint?
thanks
jdd

-- 
c'est quoi, usenet? http://www.dodin.org/wiki/pmwiki.php?n=Usenet.Usenet
-------------- next part --------------
jdd at localhost:~/Telechargements/digikam> export QT_LOGGING_RULES="digikam*=true"
jdd at localhost:~/Telechargements/digikam> ./digiKam-8.0.0-x86-64.appimage 
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option '--appimage-extract' on the command line.
-- Detected host Linux -64-
-- AppImage mounted directory: /tmp/.mount_digiKaZ7PW9v
Check library libudev.so.0
Check library libxcb-dri3.so.0
Check library libcrypto.so.1.1
Check library libssl.so.1.1
Check library libnss3.so
Check library libnssutil3.so
Check library libsmime3.so
Check library libgmodule-2.0.so.0
-- Preloading shared libs: :/tmp/.mount_digiKaZ7PW9v/usr/lib/libavif.so.13:/usr/lib64/libxcb-dri3.so.0:/usr/lib64/libnss3.so:/usr/lib64/libnssutil3.so:/usr/lib64/libsmime3.so:/usr/lib64/libgmodule-2.0.so.0
QtAV::Widgets::registerRenderers: Register QtAV Renderers:
QtAV::Widgets::registerRenderers:    Qt have no OpenGL support.
QtAV::Widgets::registerRenderers:    register QtAV::OpenGLWidget Renderer: true
QtAV::Widgets::registerRenderers:    QtAV have OpenGL support.
QtAV::Widgets::registerRenderers:    register QtAV::QGLWidget Renderer: true
QtAV::Widgets::registerRenderers:    register QtAV::QGLWidget2 Renderer: true
QtAV::Widgets::registerRenderers:    register QtAV::Widget Renderer: true
QtAV::Widgets::registerRenderers:    QtAV have X11 support.
QtAV::Widgets::registerRenderers:    register QtAV::X11 Renderer: true
QtAV::Widgets::registerRenderers:    register QtAV::GraphicsItem Renderer: true
Digikam::DXmlGuiWindow::setupIconTheme: Breeze icons resource file found
Digikam::DXmlGuiWindow::setupIconTheme: Breeze-dark icons resource file found
Digikam::setupKSycocaDatabaseFile: Current KSycoca file: "/home/jdd/.cache/ksycoca5_fr_t+fhAdU0NrVZUiYhvAOx9GBpWPE="
Digikam::unloadQtTranslationFiles: Qt standard translations removed: 18
Digikam::loadStdQtTranslationFiles: Qt standard translations path: "/tmp/.mount_digiKaZ7PW9v/usr/share/digikam/translations"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "fr_FR" from catalog "qt"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "fr_FR" from catalog "qtbase"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "fr_FR" from catalog "qt_help"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "fr_FR" from catalog "qtdeclarative"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "fr_FR" from catalog "qtquickcontrols"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "fr_FR" from catalog "qtmultimedia"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "fr_FR" from catalog "qtxmlpatterns"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "en" from catalog "kcoreaddons5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "en" from catalog "kwidgetsaddons5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "en" from catalog "marble_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kauth5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kbookmarks5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kcodecs5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kcompletion5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kconfig5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kcoreaddons5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kdbusaddons5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kglobalaccel5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kitemviews5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kwidgetsaddons5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "kwindowsystem5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "solid5_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "fr" from catalog "marble_qt"
Digikam::ApplicationSettings::setApplicationFont: Switch to application font:  QFont(Noto Sans,10,-1,5,50,0,0,0,0,0)
Digikam::AlbumWatch::AlbumWatch: AlbumWatch is disabled
Digikam::AlbumManager::setDatabase: Database Parameters:
   Type:                      "QSQLITE"
   DB Core Name:              "/data/multimedia/digikam-20230514/digikam4.db"
   DB Thumbs Name:            "/data/multimedia/digikam-20230514/thumbnails-digikam.db"
   DB Face Name:              "/data/multimedia/digikam-20230514/recognition.db"
   DB Similarity Name:        "/data/multimedia/digikam-20230514/similarity.db"
   Connect Options:           ""
   Host Name:                 ""
   Host Port:                 -1
   WAL Mode:                  false
   Internal Server:           false
   Internal Server Path:      ""
   Internal Server Admin Cmd: ""
   Internal Server Serv Cmd:  ""
   Internal Server Init Cmd:  ""
   Username:                  ""
   Password:                  ""

Digikam::DbEngineConfigSettingsLoader::readConfig: Loading SQL code from config file "/tmp/.mount_digiKaZ7PW9v/usr/share/digikam/database/dbconfig.xml"
Digikam::DbEngineConfigSettingsLoader::readConfig: Checking XML version ID => expected:  3  found:  3
Digikam::BdEngineBackend::checkOrSetWALMode: WAL mode is disabled for "digikam4.db"
Digikam::CoreDbSchemaUpdater::update: Core database: running schema update
Digikam::CoreDbSchemaUpdater::startUpdates: Core database: have a structure version  13
Digikam::CoreDbSchemaUpdater::makeUpdates: Core database: makeUpdates  13  to  16
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "" 
Error messages: "Impossible d'exécuter l'instruction" "duplicate column name: modificationDate" "1" 2 
Bound values:  ()
Digikam::BdEngineBackend::execDBAction: Error while executing DBAction [ "UpdateSchemaFromV13ToV14" ] Statement [ "ALTER TABLE Albums ADD modificationDate DATETIME;" ]
Digikam::CoreDbSchemaUpdater::performUpdateToVersion: Core database: schema update to V 14 failed!
Digikam::CoreDbAccess::checkReadyForUse: Core database: cannot process schema initialization
Digikam::LoadingCache::setCacheSize: Allowing a cache size of 400 MB
jdd at localhost:~/Telechargements/digikam> 
 


More information about the Digikam-users mailing list