Thumbnail database issues after upgrading to V2.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Thumbnail database issues after upgrading to V2.1

Gys van Zyl
Hi all,
After an upgrade from 2.0 to 2.1 I get the following error message:

Failed to initialize thumbnail database
Error message: The database is not valid: the "DBThumbnailsVersion"
setting does not exist. The current database schema version cannot be
verified. Try to start with an empty database.

I use MySQL for the digikam databases. My thumbnails database is
called digikam_thumbs. It contains a Settings table with the
following:

DBThumbnailsVersionRequired   1
DBThumbnailsVersion         2

I had to manually create these entries when I started to use mysql
with digikam 2.0 and before the upgrade it worked fine. In an attempt
to solve the problem I also inserted the same entries into the digikam
pictures database (called digikam_db in my case):

mysql> insert into digikam_db.Settings(keyword,value)
mysql> VALUES('DBThumbnailsVersionRequired','1');
mysql> insert into digikam_db.Settings(keyword,value)
mysql> VALUES('DBThumbnailsVersion','2');


After this, digikam starts without an error message, but the generated
thumbnails don't "stick". They are re-generated every time digikam
restarts and I go back to an album for which thumbnails have been
generated during a previous run.

Any ideas what the problem might be and how to solve it?

-------
Gys
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Thumbnail database issues after upgrading to V2.1

Anders Lund

On Onsdag den 14. september 2011, Gys van Zyl wrote:

> Hi all,

> After an upgrade from 2.0 to 2.1 I get the following error message:

 

You are not the only one: https://bugs.kde.org/show_bug.cgi?id=281767

 

As you can read from the bug report, it is nearly fixed, though :)

 

>

> Failed to initialize thumbnail database

> Error message: The database is not valid: the "DBThumbnailsVersion"

> setting does not exist. The current database schema version cannot be

> verified. Try to start with an empty database.

>

> I use MySQL for the digikam databases. My thumbnails database is

> called digikam_thumbs. It contains a Settings table with the

> following:

>

> DBThumbnailsVersionRequired 1

> DBThumbnailsVersion         2

>

> I had to manually create these entries when I started to use mysql

> with digikam 2.0 and before the upgrade it worked fine. In an attempt

> to solve the problem I also inserted the same entries into the digikam

> pictures database (called digikam_db in my case):

>

> mysql> insert into digikam_db.Settings(keyword,value)

> mysql> VALUES('DBThumbnailsVersionRequired','1');

> mysql> insert into digikam_db.Settings(keyword,value)

> mysql> VALUES('DBThumbnailsVersion','2');

>

>

> After this, digikam starts without an error message, but the generated

> thumbnails don't "stick". They are re-generated every time digikam

> restarts and I go back to an album for which thumbnails have been

> generated during a previous run.

>

> Any ideas what the problem might be and how to solve it?

>

> -------

> Gys

> _______________________________________________

> Digikam-users mailing list

> [hidden email]

> https://mail.kde.org/mailman/listinfo/digikam-users

 

 

--

Anders


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users