Bug 315494 - error on startup: Failed to update the database schema from version 6 to version 7.
Summary: error on startup: Failed to update the database schema from version 6 to vers...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Database-Schema (show other bugs)
Version: 3.1.0
Platform: Compiled Sources Linux
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 06:04 UTC by Jana Baran
Modified: 2022-01-14 14:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Baran 2013-02-20 06:04:19 UTC
I get this error on startup:
Failed to update the database schema from version 6 to version 7. Please read the error messages printed on the console and report this error as a bug at bugs.kde.org.

console logs:
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(2689)/digikam (core): No DB action defined for "UpdateSchemaFromV6ToV7" ! Implementation missing for this database type. 
digikam(2689)/digikam (core): Attempt to execute null action 
digikam(2689)/digikam (core): Schema update to V 7 failed! 
_______________
After closing the error window, I get the following logs:
"/org/freedesktop/UDisks2/drives/WDC_WD5000AADS_00L4B1_WD_WCAUH1354910" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/WDC_WD5000AADS_00L4B1_WD_WCAUH1354910" : property "Device" does not exist 
digikam(2689)/kdecore (services) KServicePrivate::property: Request for unknown property ' "X-KIPI-BinaryVersion" '
digikam(2689)/KIPI (loading) KIPI::PluginLoader::init: Plugin had an empty name or library file - this should not happen. 

the last two repeat multiple times. I do not see any albums in the digikam and cannot open any picture at all. 

Reproducible: Always

Steps to Reproduce:
1. build kdcraw and kipi from github
2. build digikam from github
3. start digikam
Comment 1 Marcel Wiesweg 2013-02-23 10:32:38 UTC
Indicates an improper installation - the file containing the SQL commands is not found or comes from an older version. Upgrading happens to be the first command that fails. Check your installation.