[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=420978

Maik Qualmann  changed:

   What|Removed |Added

   Version Fixed In||7.0.0
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #9 from Maik Qualmann  ---
Look at Comment 6, it's the same cause. Database was created with a beta
version. Replace the dbconfig.xml and everything will be fine. There will be no
problem in the future if you install new versions of digiKam. I now close the
bug.

Maik

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=420978

Maik Qualmann  changed:

   What|Removed |Added

 Attachment #128142|1   |0
is obsolete||

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=420978

Maik Qualmann  changed:

   What|Removed |Added

   Platform|Other   |MS Windows
 OS|Linux   |MS Windows

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread tami mize
https://bugs.kde.org/show_bug.cgi?id=420978

tami mize  changed:

   What|Removed |Added

 Attachment #128124|0   |1
is obsolete||
 Attachment #128142|0   |1
is obsolete||

--- Comment #8 from tami mize  ---
Created attachment 128150
  --> https://bugs.kde.org/attachment.cgi?id=128150=edit
debug file when trying to open DigiKam (windows 10)

thanks for your help.

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread Dave Irwin
https://bugs.kde.org/show_bug.cgi?id=420978

--- Comment #7 from Dave Irwin  ---
Perfect solution Maik, now works perfectly.  Hope this fixes Tami's issue as
well.

Many thanks for the speedy response.
Dave

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=420978

--- Comment #6 from Maik Qualmann  ---
Created attachment 128142
  --> https://bugs.kde.org/attachment.cgi?id=128142=edit
dbconfig.zip

The reason is clear, you started with a beta version with digiKam and the
database. Now the update fails. Unzip the attached file and replace the
existing dbconfig.xml with this file:
In Windows mostly here:

C:\Program Files\digiKam\data\digikam\database

On Linux mostly here:

/usr/share/digikam/database/

Maik

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread Dave Irwin
https://bugs.kde.org/show_bug.cgi?id=420978

--- Comment #5 from Dave Irwin  ---
Not sure if I'm allowed to append to this issue but I have exactly the same
symptoms since since loading v 6.4 today to Windows 10.  So, on the assumption
that the fault is the same I've started the program under Debugview.

There is no crash log in the location mentioned.

Please advise if you want me to open a seperate issue.

Error log appended here:

[9564] digikam.general: Loading DrMinGw run-time...
[9564] digikam.general: DrMinGw run-time loaded.
[9564] digikam.general: DrMinGw crash-file will be located at: 
"C:\\Users\\davej\\AppData\\Local\\digikam_crash.log"
[9564] digikam.widgets: Breeze icons resource file found
[9564] digikam.widgets: Breeze-dark icons resource file found
[9564] digikam.general: Switch to widget style:  "Windows"
[9564] digikam.general: AlbumWatch is disabled
[9564] digikam.general: Database Parameters:
[9564]Type: "QSQLITE"
[9564]DB Core Name: "C:/Users/davej/Pictures/digikam4.db"
[9564]DB Thumbs Name:  
"C:/Users/davej/Pictures/thumbnails-digikam.db"
[9564]DB Face Name: "C:/Users/davej/Pictures/recognition.db"
[9564]DB Similarity Name:   "C:/Users/davej/Pictures/similarity.db"
[9564]Connect Options:  ""
[9564]Host Name:""
[9564]Host port:-1
[9564]Internal Server:  false
[9564]Internal Server Path: ""
[9564]Internal Server Serv Cmd: ""
[9564]Internal Server Init Cmd: ""
[9564]Username: ""
[9564]Password: ""
[9564] 
[9564] digikam.dbengine: Loading SQL code from config file "C:/Program
Files/digiKam/data/digikam/database/dbconfig.xml"
[9564] digikam.dbengine: Checking XML version ID => expected:  3  found:  3
[9564] digikam.coredb: Core database: running schema update
[9564] digikam.coredb: Core database: have a structure version  9
[9564] digikam.coredb: Core database: makeUpdates  9  to  10
[9564] digikam.dbengine: Failure executing query:
[9564]  "" 
[9564] Error messages: "Unable to execute statement" "duplicate column name:
manualOrder" "1" 2 
[9564] Bound values:  ()
[9564] digikam.dbengine: Error while executing DBAction [
"UpdateSchemaFromV9ToV10" ] Statement [ "ALTER TABLE Images ADD manualOrder
INTEGER;" ]
[9564] digikam.coredb: Core database: schema update to V 10 failed!
[9564] digikam.coredb: Core database: cannot process schema initialization
[9564] KMemoryInfo: Platform identified :  "WINDOWS"
[9564] KMemoryInfo: TotalRam:  8534626304
[9564] digikam.general: Allowing a cache size of 200 MB
[9564] QThreadStorage: Thread 0x26ba7d1bfb0 exited after QThreadStorage 7
destroyed
[9564] QWaitCondition: Destroyed while threads are still waiting
[30864] 19360  ENTER: DllCanUnloadNow
[30864] 35576  ENTER: DllCanUnloadNow
[30864] 4028  ENTER: DllCanUnloadNow
[30864] 29340  ENTER: DllCanUnloadNow
[30864] 26384  ENTER: DllCanUnloadNow
[30864] 35576  ENTER: DllCanUnloadNow

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-04 Thread Dave Irwin
https://bugs.kde.org/show_bug.cgi?id=420978

Dave Irwin  changed:

   What|Removed |Added

 CC||dave.j.ir...@gmail.com

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-03 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=420978

--- Comment #4 from Maik Qualmann  ---
If I read through your description with "Install" and ends normally, I assume
you are on Windows and not on Linux.
On Windows, download and start DebugView from Microsoft. Start digiKam and post
the messages from DebugView.

Maik

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=420978

--- Comment #3 from caulier.gil...@gmail.com ---
Open a Linux terminal ( a text console) and start digiKam from the command line
interface:

https://www.howtogeek.com/140679/beginner-geek-how-to-start-using-the-linux-terminal/

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-03 Thread tami mize
https://bugs.kde.org/show_bug.cgi?id=420978

--- Comment #2 from tami mize  ---
I dont understand what "start in the console" means. When I try to run the
program, it gives me the error and will not open the Digikam program at all. 

tami
On 5/4/2020 12:30:07 AM, Maik Qualmann  wrote:
https://bugs.kde.org/show_bug.cgi?id=420978

Maik Qualmann changed:

What |Removed |Added

CC| |metzping...@gmail.com

--- Comment #1 from Maik Qualmann ---
Start digiKam in the console and post the messages that are output.

Maik

--
You are receiving this mail because:
You reported the bug.

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-03 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=420978

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #1 from Maik Qualmann  ---
Start digiKam in the console and post the messages that are output.

Maik

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

[digikam] [Bug 420978] Error on new install Failed to update the database schema from version 9 to version 10

2020-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=420978

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|Versioning  |Database-Schema
 CC||caulier.gil...@gmail.com
Version|unspecified |6.4.0

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