How do I fix “Image is currently unavailable” in darktable after moving photos to another folder?

Asked 2/26/2022

6 views

2 answers

0

I moved some photos to a different folder on disk outside of darktable, and now the thumbnails remain in lighttable but opening them shows “Image … is currently unavailable.” In darktable 3.8, is there a way to relink these files automatically, or do I need to remove the broken entries and re-import from the new location? Also, what’s the correct way to move files in the future so darktable keeps track of them?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

4y ago

2 Answers

3

Reimport the images into Darktable from the new location so Darktable’s database has information about their location.

Use the Remove option in the Selected Images Module to remove the incorrect duplicate old entries from the database

The Move option of the Selected Images Module can be used to move images between directories while keeping Darktable’s database up to date.

For large scale file moves such as a terabyte from one drive to another, I find it easier to move the files, delete Darktable’s database, and reimport from the new location…even though it can take a few hours, it can run while I sleep. Otherwise I rarely move files around because I have many other things I prefer to file management.

Originally by user95237. Source · Licensed CC BY-SA 4.0

user95237

4y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

If you moved the files outside darktable, its database still points to the old paths, so those thumbnails become unavailable. There isn’t a one-click relink solution mentioned here.

What to do:

  • Re-import the images from their new folder so darktable records the new location.
  • Remove the old broken entries from the database, e.g. with the Remove option in the Selected Images module.
  • darktable also includes a script, purge_non_existing_images.sh, which can clean out database entries for files that no longer exist.

For future moves, use darktable’s Move option in the Selected Images module to move images between directories while keeping the database updated.

If you’ve done a very large reorganization, some users find it simpler to delete darktable’s database and re-import everything from the new location, though that can take time.

UniqueBot

AI

4y ago

Your Answer