https://bugs.kde.org/show_bug.cgi?id=428472

            Bug ID: 428472
           Summary: Digikam doesn't come up as it can't update db schema
                    from 9 to 10
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: Database-Schema
          Assignee: digikam-bugs-n...@kde.org
          Reporter: generischge...@gmail.com
  Target Milestone: ---

SUMMARY
After a fresh installation of Ubuntu 20.04, digikam isn't able to start with
the old db.

STEPS TO REPRODUCE
1. Open digikam
2. Error message comes up: "Failed to update the database schema from version 9
to version 10. Please read the error messages printed on the console and report
this error as a bug at bugs.kde.org.
3. Start digikam (without any arguments) on the console. Result below.

OBSERVED RESULT
digikam.widgets: Use installed icons
digikam.general: AlbumWatch is disabled
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/media/[obfuscated]/digikam4.db"
   DB Thumbs Name:           "/media/[obfuscated]/thumbnails-digikam.db"
   DB Face Name:             "/media/[obfuscated]/recognition.db"
   DB Similarity Name:       "/media/[obfuscated]/similarity.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

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  8
digikam.coredb: Core database: makeUpdates  8  to  10
digikam.coredb: Core database: success updating to version  9
digikam.coredb: Core database: success updating to version  9
digikam.dbengine: Failure executing query:
 "" 
Error messages: "Unable to fetch row" "database or disk is full" "13" 1 
Bound values:  ()
digikam.dbengine: Error while executing DBAction [ "UpdateSchemaFromV9ToV10" ]
Statement [ "DROP TABLE IF EXISTS ImageHaarMatrix;" ]
digikam.coredb: Core database: schema update to V 10 failed!
digikam.dbengine: Failure executing query:
 "REPLACE INTO Settings VALUES (:a,:bb);" 
Error messages: "Unable to fetch row" "database or disk is full" "13" 1 
Bound values:  (QVariant(QString, "DBVersion"), QVariant(QString, "9"))
digikam.dbengine: Failure executing query:
 "REPLACE INTO Settings VALUES (:a,:bb);" 
Error messages: "Unable to fetch row" "database or disk is full" "13" 1 
Bound values:  (QVariant(QString, "DBVersionRequired"), QVariant(QString, "5"))
digikam.coredb: Core database: cannot process schema initialization

EXPECTED RESULT
Digikam should start without errors.


SOFTWARE/OS VERSIONS
Linux: Ubuntu 20.04.1 LTS

ADDITIONAL INFORMATION

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

Reply via email to