[digiKam-users] how to move to new disk?

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

[digiKam-users] how to move to new disk?

Daniel Bauer-2
Hi,

I replaced my hard disks and copied all of digikam, including the db's,
to that new hard disk.

Now digikam doesn't like that. It feels annoyed by the wrong UUID, but
it doesn't tell me where I could give it the new UUID...

Can you help?
--
Daniel Bauer photographer Basel Málaga
https://www.patreon.com/danielbauer
https://www.daniel-bauer.com
Reply | Threaded
Open this post in threaded view
|

Re: how to move to new disk?

Maik Qualmann
From digiKam-6.0.0 there is a "refresh" button in the setup-> collections next to the corresponding collections path.

Maik

Am Di., 23. Juli 2019 um 10:27 Uhr schrieb Daniel Bauer <[hidden email]>:
Hi,

I replaced my hard disks and copied all of digikam, including the db's,
to that new hard disk.

Now digikam doesn't like that. It feels annoyed by the wrong UUID, but
it doesn't tell me where I could give it the new UUID...

Can you help?
--
Daniel Bauer photographer Basel Málaga
https://www.patreon.com/danielbauer
https://www.daniel-bauer.com
Reply | Threaded
Open this post in threaded view
|

Re: how to move to new disk?

ghe2019
The problem of this method is that it is essentially re-creating a new
collection at the new path.  All album captions in the old collection would
be lost.

I'm still looking for an easier way to handle this without losing album
captions.



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: how to move to new disk?

Daniel Bauer-2


Am 12.08.19 um 21:51 schrieb ghe2019:
> The problem of this method is that it is essentially re-creating a new
> collection at the new path.  All album captions in the old collection would
> be lost.
>
> I'm still looking for an easier way to handle this without losing album
> captions.

I just did that and it was easier than thought:

I copied all files (the complete folder/album tree) to the new disk, and
also copied
- digikam4.db and
- thumbnails-digikam.db
to a new location on the new disk

Then opened digikam (the old files were already not accessible anymore)
and entered the path where I saved digikam4.db in settings->database
(only the path, in my case  /home/daniel/digikam/ )

and went to settings->collections (here: "Sammlungen"), and added the
path to the photo files top folder.

... first I thought nothing happens (even wrote a help message to this
list...), but in fact digikam was reading through all the albums
obviously comparing to the database. In my case this took a bit more
than 9 hours... but then everything was as before.

Of course: backup a copy of the database files before you start, just in
case...
--
Daniel Bauer photographer Basel Málaga
https://www.patreon.com/danielbauer
https://www.daniel-bauer.com
Reply | Threaded
Open this post in threaded view
|

Re: how to move to new disk?

Rafael Linux
Thanks for sharing!

El mié., 14 ago. 2019 a las 10:01, Daniel Bauer (<[hidden email]>) escribió:


Am 12.08.19 um 21:51 schrieb ghe2019:
> The problem of this method is that it is essentially re-creating a new
> collection at the new path.  All album captions in the old collection would
> be lost.
>
> I'm still looking for an easier way to handle this without losing album
> captions.

I just did that and it was easier than thought:

I copied all files (the complete folder/album tree) to the new disk, and
also copied
- digikam4.db and
- thumbnails-digikam.db
to a new location on the new disk

Then opened digikam (the old files were already not accessible anymore)
and entered the path where I saved digikam4.db in settings->database
(only the path, in my case  /home/daniel/digikam/ )

and went to settings->collections (here: "Sammlungen"), and added the
path to the photo files top folder.

... first I thought nothing happens (even wrote a help message to this
list...), but in fact digikam was reading through all the albums
obviously comparing to the database. In my case this took a bit more
than 9 hours... but then everything was as before.

Of course: backup a copy of the database files before you start, just in
case...
--
Daniel Bauer photographer Basel Málaga
https://www.patreon.com/danielbauer
https://www.daniel-bauer.com