Bug 327880

Summary: Schema update to V 7 failed
Product: [Applications] digikam Reporter: Soti Gergely <soti.gergely>
Component: Database-SchemaAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: major CC: caulier.gilles
Priority: NOR    
Version First Reported In: 3.5.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:

Description Soti Gergely 2013-11-20 20:54:03 UTC
When I upgraded my openSUSE distro from 12.2 to 13.1 digikam reports the following error:

QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(1165)/digikam (core): Schema update to V 7 failed! 

After confirming the error digikam starts, but the albums don't load.

Information for package digikam:
--------------------------------
Repository: openSUSE_13.1_OSS
Name: digikam
Version: 3.5.0-4.1
Arch: x86_64
Vendor: openSUSE
Comment 1 Soti Gergely 2013-11-23 11:19:08 UTC
I think I solved the problem. During reinstall, I somehow messed up the permissions and as a result I didn't have write permission for the digikam database. Once I fixed that digikam started normally, all albums and tags were loaded. 
Maybe the error reporting can be improved?