Upgrading DK DB 4.12 to 5.5 - paths and tags are lost

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

Upgrading DK DB 4.12 to 5.5 - paths and tags are lost

Peter Lavender
Hi Everyone,

I have a 4.12 sqlite DB that has tags etc against all the images.

On installing 5.5 from the PPA I've been trying to work out a few
things.

Firstly, when I use the old 4.12 DB, the albumroots table has the text
encoding the for forward slashes. 

Two things here.  I can edit the albumroots table directly and dk 5.5
is OK that with the changes.  If I don't and then configure the new
collection I can't see any images.  

Secondly, I'm losing the tags from the images when I do a migration of
the database.  Now this could be something I don't need to do?

I wasn't sure if there was a schema upgrade, so I've tried a couple of
times to migrate the digikam4 db, however losing the tags is a bit of a
pain.

Peter.
Reply | Threaded
Open this post in threaded view
|

Re: Upgrading DK DB 4.12 to 5.5 - paths and tags are lost

Peter Lavender
On Sat, 2017-03-18 at 16:29 +1100, Peter Lavender wrote:
>  
>
> Secondly, I'm losing the tags from the images when I do a migration
> of
> the database.  Now this could be something I don't need to do?

OK, I've realised my mistake here and corrected it.  In the database
migration tool I wasn't saving the new db to a different folder, and it
may have been trying to overwrite the same DB files name.

I've now set it to write to a new folder and it appears to be working
now..