[Digikam-devel] [digikam] [Bug 364258] New: Upgrade to 5.0 (beta6) and "Migrate Database" destroys tags and location data of ALL photos

Jens B. Benecke via KDE Bugzilla bugzilla_noreply at kde.org
Sun Jun 12 21:07:16 BST 2016


https://bugs.kde.org/show_bug.cgi?id=364258

            Bug ID: 364258
           Summary: Upgrade to 5.0  (beta6) and "Migrate Database"
                    destroys tags and location data of ALL photos
           Product: digikam
           Version: 5.0.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: Database-Migration
          Assignee: digikam-devel at kde.org
          Reporter: jens-bugs.kde.org at spamfreemail.de

So I upgraded to Ubuntu 16.04 to be able to test Digikam 5beta6. After the
upgrade, I started Digikam 5 and was a little surprised that it did not offer
to import / migrate / update the Digikam 4 database I already had, but behaved
like a new installation.

(Is this intentional during the beta phase so that production (Digikam 4.14)
and testing (Digikam 5) can be kept separate?)

Since digikam did not detect my Digikam4 library I went to Settings > Database
Migration and clicked "Migrate" with the default settings (SQlite format and
the same path on both sides, after all, Digikam 5 did not find my library, so
it probably uses another file name!) But it didn't work, even afterwards
Digikam did not find my library.

What's more, after closing and reopening Digikam 4.14, it did not display any
photos - and all my locations, tags, album comments and so on were gone!!! It
seems they were deleted from digikam4.db; the "Tags" table was empty, so was
the "Settings" table and some others. 

IMHO there should be no way of doing this. Digikam should warn before
overwriting data or modifying it so that an old version cannot read it any
more. (Was this even the right procedure to get Digikam 5 set up?)



Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list