[digiKam-users] Moved entire collection and database. How to point digiKam to new location?

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

[digiKam-users] Moved entire collection and database. How to point digiKam to new location?

Mike Morrison
Hi all,
Using 7.2.0-beta1 on Ubuntu 20.10.
Up to now, I've kept my entire collection, and the digiKam database files, at the root level of an external hard drive.
Just now, I'm starting with a new Ubuntu install, and I've copied the entire drive to a directory on the internal SSD, so the image folders and db files are now at ~/Pictures/digiKam_Photos.
I do not write digiKam metadata to the image files.
I told the digiKam startup wizard this new location for my collection, and digiKam found the database and most thumbnails with no problem. However, it seems to have lost track of the full-size images. In the People view, there are no face thumbnails, only blank gray "JPG" icons. When I double-click on those icons, a tooltip says "The storage location of this image is currently not available". How can I tell digiKam that the images are still all there, but now with relative paths rooted at /home/mike/Pictures/digiKam_Photos instead of /media/mike/PHOTOS ?
Reply | Threaded
Open this post in threaded view
|

Re: Moved entire collection and database. How to point digiKam to new location?

Mike Morrison
I have found the solution; I was able to update the identifier and specificPath in the AlbumRoots table using sqlite3 as described at https://mail.kde.org/pipermail/digikam-users/2016-January/021903.html and http://www.grulic.org.ar/~mdione/glob/posts/moving-digikam-collections/ after first dumping the database to plain text as mentioned at https://mail.kde.org/pipermail/digikam-users/2012-July/016632.html to get a sense of the structure.

On Sat, Nov 14, 2020 at 12:55 PM Mike Morrison <[hidden email]> wrote:
Hi all,
Using 7.2.0-beta1 on Ubuntu 20.10.
Up to now, I've kept my entire collection, and the digiKam database files, at the root level of an external hard drive.
Just now, I'm starting with a new Ubuntu install, and I've copied the entire drive to a directory on the internal SSD, so the image folders and db files are now at ~/Pictures/digiKam_Photos.
I do not write digiKam metadata to the image files.
I told the digiKam startup wizard this new location for my collection, and digiKam found the database and most thumbnails with no problem. However, it seems to have lost track of the full-size images. In the People view, there are no face thumbnails, only blank gray "JPG" icons. When I double-click on those icons, a tooltip says "The storage location of this image is currently not available". How can I tell digiKam that the images are still all there, but now with relative paths rooted at /home/mike/Pictures/digiKam_Photos instead of /media/mike/PHOTOS ?
Reply | Threaded
Open this post in threaded view
|

Re: Moved entire collection and database. How to point digiKam to new location?

Maik Qualmann
Updating is now also easily possible in digiKam. In the digiKam collection
setup, click on the "refresh" icon next to the collection and follow the
dialogs.

Maik

Am Sonntag, 15. November 2020, 05:23:47 CET schrieb Mike Morrison:

> I have found the solution; I was able to update the identifier and
> specificPath in the AlbumRoots table using sqlite3 as described at
> https://mail.kde.org/pipermail/digikam-users/2016-January/021903.html and
> http://www.grulic.org.ar/~mdione/glob/posts/moving-digikam-collections/
> after first dumping the database to plain text as mentioned at
> https://mail.kde.org/pipermail/digikam-users/2012-July/016632.html to get a
> sense of the structure.
>
> On Sat, Nov 14, 2020 at 12:55 PM Mike Morrison <[hidden email]> wrote:
> > Hi all,
> > Using 7.2.0-beta1 on Ubuntu 20.10.
> > Up to now, I've kept my entire collection, and the digiKam database files,
> > at the root level of an external hard drive.
> > Just now, I'm starting with a new Ubuntu install, and I've copied the
> > entire drive to a directory on the internal SSD, so the image folders and
> > db files are now at ~/Pictures/digiKam_Photos.
> > I do not write digiKam metadata to the image files.
> > I told the digiKam startup wizard this new location for my collection, and
> > digiKam found the database and most thumbnails with no problem. However,
> > it
> > seems to have lost track of the full-size images. In the People view,
> > there
> > are no face thumbnails, only blank gray "JPG" icons. When I double-click
> > on
> > those icons, a tooltip says "The storage location of this image is
> > currently not available". How can I tell digiKam that the images are still
> > all there, but now with relative paths rooted at
> > /home/mike/Pictures/digiKam_Photos instead of /media/mike/PHOTOS ?