Bug 447888 - After OS-upgrade and moving the database to another disk, the links to the individual pictures are lost
Summary: After OS-upgrade and moving the database to another disk, the links to the in...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Migration (show other bugs)
Version: 6.4.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-03 17:46 UTC by geirg.lachenmay@t-online.de
Modified: 2022-01-04 13:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:


Attachments
properties of one foto (72.34 KB, image/png)
2022-01-03 17:46 UTC, geirg.lachenmay@t-online.de
Details
XTerm2022-01-04.14:32:01 (59.37 KB, text/plain)
2022-01-04 13:36 UTC, geirg.lachenmay@t-online.de
Details

Note You need to log in before you can comment on or make changes to this bug.
Description geirg.lachenmay@t-online.de 2022-01-03 17:46:08 UTC
Created attachment 145086 [details]
properties of one foto

SUMMARY
***
After OS-upgrade and moving the database to another disk, the links to the individual pictures are lost
***

I have upgraded to the following OS-Release some months ago:
 cat os-release 
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

My Release of DigiKam is:
digikam version 6.4.0
Bilder: 
BMP: 14
JPG: 70926
PNG: 89
RAW-ARW: 1040
RAW-MRW: 2717
RAW-RAW: 552
TIFF: 84
XCF: 2
Gesamt: 75424
: 
Videos: 
3GP: 6
AVI: 34
MOV: 231
MP4: 36
MTS: 2
Gesamt: 309
: 
Gesamtzahl der Einträge: 75733
Alben: 3799
Stichwörter: 612
: 
Datenbanktreiber: QSQLITE
Pfad der Datenbank: /datadisk/imago/Fotodatenbank/

Problem: 
I have moved the databases of DigiKam from the earlier location in /home and to an second disk; /datadisk/imago. Thera are tho directiories one /Fotodatenkank, where the databases of digiKam reside,
and /Bilder, in which the individual pictures are contained in different subdirectories.

OBSERVED RESULT
After database-migration the structure of my collection of photos and the thumbnail are correct, but the link to the "real" photo is lost, see screenshot in the appendix.

is there a chance, to repair these missing links? Or what is to do?
Comment 1 caulier.gilles 2022-01-03 17:54:48 UTC
Hi and happy new year,

If you start digiKam from a console as explained here :

https://www.digikam.org/contribute/

Can you post the debug trace at start-up ?

Best regards

Gilles Caulier
Comment 2 Maik Qualmann 2022-01-03 19:27:17 UTC
The paths and disk UUID must be adapted in the DB. This is only possible with a later digiKam version. There is also the option of updating the old path in the digiKam Settings for collections. Update to a current digiKam version, for Ubuntu our AppImage is the best option.

Maik
Comment 3 geirg.lachenmay@t-online.de 2022-01-04 13:36:17 UTC
Created attachment 145107 [details]
XTerm2022-01-04.14:32:01

see attachment

Am 03.01.22 um 18:54 schrieb bugzilla_noreply@kde.org:
> https://bugs.kde.org/show_bug.cgi?id=447888
>
> --- Comment #1 from caulier.gilles@gmail.com ---
> Hi and happy new year,
>
> If you start digiKam from a console as explained here :
>
> https://www.digikam.org/contribute/
>
> Can you post the debug trace at start-up ?
>
> Best regards
>
> Gilles Caulier
>