Lightroom Classic: bulk Metadata updates fail

  • 1
  • Problem
  • Updated 3 months ago
  • (Edited)
LR Cassic CC up to date
I have roughly 280,000 photos in my catalog. I selected filter by Copyright Status unknown.  This yields 19846 photos. I then change the copyright status and update it to Copyrighted.  LR generates a background task about writing metadata.  When that task completes the copyright status is still unknown for all of the photos.   I have tried similar operations with creator and my address.  Always with the same result.

I have auto write XMP file setup.   Nothing changes even when I let LR run with no activity for 24 hours.
I have experimented with the size of the update and it will work on much smaller updates.  It is not a hard limit (worked on 1200, but failed on 800).

I have 64GB of memory on a 6 core processor running windows 10.
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes

Posted 3 months ago

  • 1
Photo of Robert Somrak

Robert Somrak, Champion

  • 310 Posts
  • 104 Reply Likes
If you have "Show Metadata for Target Photo Only" checked Lr only applies the metadata changes to the selected photo in Library Grid view unless you turn AutoSync on.


Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
Let me provide a few more details that I should have provided first time around.
In the Library module,grid view, using the filter bar at at the top I choose Metadata, then choose Copyright Status and then choose Unknown.  
This fills the grid view with 18,000 thumbnails.  Then I do CTRL A to select all.  Then in the right panel I change the status from Unknown to copyrighted.  It remains in the copyrighted state while the background task runs(couple of minutes) then reverts to Unknown.  The whole time all 18,000 items are highlighted.  It doesn't even change the first item in the grid
Photo of Chinoy Gupta

Chinoy Gupta, Employee

  • 66 Posts
  • 29 Reply Likes
Hi Patrick,

I tried to set the Copyright status on around 8K images and it worked as expected. Can you share a screen recording that will help in the investigation.

Regards,
Chinoy
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
I will tomorrow
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
Here is a link to a video that shows the problem
https://www.dropbox.com/s/meagc65ha9f...
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
Here is a link to a video that shows the problem
https://www.dropbox.com/s/meagc65ha9f...
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
Here is a link to a video that shows the problem
https://www.dropbox.com/s/meagc65ha9f...
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
What is the status of this?
Photo of Sreenivas Ramaswamy

Sreenivas Ramaswamy, Employee

  • 42 Posts
  • 17 Reply Likes
Hi Patrick,

we are trying to reproduce the issue and find the cause behind it. Will update you soon.

Thanks
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
The issue is quite reproducible for me.  If you have a diagnostic build of LR I would be happy to run it, or provide you with my catalog for you to diagnose with

Photo of Sreenivas Ramaswamy

Sreenivas Ramaswamy, Employee

  • 42 Posts
  • 17 Reply Likes
Hi Patrick,

We also need to figure out how and when it is happening to find a fix for it. When you are changing the metadata to a new value have you made sure the spinner next to the Preset control has stopped? The spinner is displayed when LR is trying to compare the metadata values of all selected photos and trying to come up with values to display in the UI.

Thanks
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
No spinner, I wait for the UI to stabilize before going to the next step. Ranges from less than a second to a long second.

I'm willing to try some experiments if that would help
(Edited)
Photo of Sreenivas Ramaswamy

Sreenivas Ramaswamy, Employee

  • 41 Posts
  • 15 Reply Likes
I am surprised if there is no spinner when you have selected such large number of photos. That itself might indicate some other problem as Tom has noted with respect to the different set of files.
Photo of Tom Mickow

Tom Mickow

  • 373 Posts
  • 137 Reply Likes
The Lr team may come back with something of their own, but I'll throw out some observations.

The selection of 19+K files that you're trying to update appears to be a real mixed bag of different stuff.  I'm guessing you're just coming across some combo of garbage that Lr isn't handling gracefully.  Some cleanup and simplification on your side may be the quickest & easiest fix.

A couple things I'd look at - 

- You have expanded cells turned on in the grid view, but there are a few images that aren't showing any info (file name, type, resolution) like the others, which seems very odd to me.  The file you used in your first example of Lr not changing the copyright status is one of those files.  I don't think I've ever seen the info not being displayed like that, so I'm not sure what you've got going on there.



- When you select the first image in the filtered grid of 19+K (the white bird), you can see that it has info in a number of metadata fields.  The second image in the grid (the one that isn't showing any info in the expanded cell), has nothing in the metadata fields, so there are obviously differences between the two.  Once you select all the images, Lr should read the metadata for all 19+K files and anywhere the data didn't match (which I'm guessing will be all of them), you should see "<mixed>" in those fields.  Since that's never coming up, it appears Lr may still be reading & processing.  You may want to wait to see if the metadata panel ever updates before trying to change anything.
For what it's worth, selecting ~23K images in my catalog took ~90 seconds to populate the metadata panel.  While it's reading, you should see a spinning wheel at the top of the top of the metadata panel in the area I circled in red below.



- I've had mixed results when trying to update metadata on videos in general.  I'd try filtering those out and doing them seperately from the image files to see if that makes a difference.

- Looks like you've got some other housekeeping issues out there too - missing folder, missing images, 700 metadata conficts, etc.  Could be something there that's causing the issue, especially since you've got the automatic XMP writes turned on.  You might want to clean up those issues first.

- In your grid view, it appears you're using stacks.  Something to remember - updates will only be applied to the top image in a collapsed stack, so in order to apply changes to all the images, you would need to expand all the stacks.

An update on 19+K files isn't trivial and I personally can't think of an instance where I've wanted to do that many in one shot, but I'm also not trying to give Lr a pass.  At the very least, it should be giving you more feedback when it fails, but doing some cleanup and simplifying your selections may help you get your stuff done and also help narrow down what's causing it to misbehave.

Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
Thanks for the comments, particularly the spinner, I was looking in the wrong place.
I started going through the catalog in smaller chunks (by year)  to see if I would do to see if it would work..   It is that cleanup that is referred  to that I have been attempting to do.

I have cleanup the metadata status by year  except for the unable to locate photo condition as that case will take some time... these update went as expected and were uneventful.

I then tried to update the copyright status in smaller chunks (by year)  it it consistently failed even though I waited for the spinner to stop.

I tried updating the copyright information and it updated correctly as well.
I then updated the copyright status to copyrighted and it wiped out the copyright info that I had previously updated.

I  then updated the copyright info (copyright 2003 by Patrick Lynch) and it stayed.
Photo of Patrick

Patrick

  • 15 Posts
  • 0 Reply Likes
Further work shows that I can update other years, just not 2003.  I will attempt to isolate a photo as the source of the issue