Please check if this bug applies to you https://bugs.kde.org/show_bug.cgi?id=323062#c22 (probably applies if you were using an old digikam with a digikam3.db file before)