Copy link to clipboard
Copied
I'm having some issues with LR classic and I can't tell if it's a bug or an issue with my catalog. I suspect the catalog but wanted to check here.
I'm running LR classic 14.3 on Windows 11 Home v24H2 on a one year old Lenovo Legion 5 Pro. My catalog has about 139K images in it; the catalog file is about 2.5 GB. I back up the catalog regularly, including testing integrity and optimizing - no recent integrity issues found.
Here are the issues I'm noticing:
I exported the entire catalog to a new catalog and the new catalog did not seem to experience these issues, so I assume that means the catalog has gotten corrupted. I would just move forward with this, but I use a publish service (Jordy Meow's WP/LR sync plugin) to sync files with my website and, of course, publish service data doesn't get exported.
So it seems my options are:
Any other possibilities?
Anyone have insight into the problem or other suggestions of things to try?
"Within a couple of minutes after finishing that process, there were 831 images in the collection saying the metadata has been changed in Lightroom. If I save the metadata to the file for all these images, as soon as it finishes the collection repopulates immediately with the same 831 images"
This is a known bug that's been occurring for perhaps a couple years, though I was first able to file a reproducible bug report a year ago:
...Copy link to clipboard
Copied
I would start by not automatically writing changes to XMP. There is no compelling need to do that.
Copy link to clipboard
Copied
Could be but it's only become a problem recently. Why would it suddenly think there are so many changes to write when I only touch a few images?
Copy link to clipboard
Copied
I don't know, but the point is that writing to XMP, especially on a NAS, will definitely slow Lightroom Classic down.
Copy link to clipboard
Copied
This thread (Writing Metatdata Changes into XMP on exit takes f... - Adobe Community - 14148414) suggests that it shouldn't impact performance significantly unless you're making a lot of changes - which I'm not. And the few images that I am touching are on my local SSD drive, not on the NAS. Sometimes I don't make any changes at all and it still takes a long time.
Following a suggestion from that thread, I made a Smart Collection identifying any images whose Metadata Status is "Has Been Changed" - it found zero images. I made another Smart Collection to identify all images whose Metadata Status is not "Up to date." It found about 7500 images, most appear to be status "Conflict detected" due to editing in an external app. I have just told it to overwrite the metadata for all those files, which took 15-20 minutes.
Within a couple of minutes after finishing that process, there were 831 images in the collection saying the metadata has been changed in Lightroom. If I save the metadata to the file for all these images, as soon as it finishes the collection repopulates immediately with the same 831 images (I made a regular collection with these images so I could compare to the smart collection - it's the same images). I've tried doing the same again several times, including after optimizing the catalog, and the same thing happens again. So it looks like there's a metadata issue with these files that may be causing it to write the metadata over and over and over again.
Copy link to clipboard
Copied
Now it's added a few (28) more images that supposedly have metadata changes. Very weird!
Copy link to clipboard
Copied
"Within a couple of minutes after finishing that process, there were 831 images in the collection saying the metadata has been changed in Lightroom. If I save the metadata to the file for all these images, as soon as it finishes the collection repopulates immediately with the same 831 images"
This is a known bug that's been occurring for perhaps a couple years, though I was first able to file a reproducible bug report a year ago:
Metadata Status and saving to XMP has been getting flakier the last several years, and it's self-evidently not a priority for Adobe to fix. Whether saving to XMP is important is a matter of religion in the forums -- I prefer it as my last line of defense for failing backups (after Time Machine and Backblaze), and it protects against accidental deletion of edited photos (something I do about once a year even though I religiously use the delete-rejected-photos workflow).
Copy link to clipboard
Copied
Thank you, John. Yes, this combined with Automatically write metadata changes to xmp files seems to be causing an infinite loop. I agree with your thinking about a last line of defense but it's not workable to keep that setting on until Adobe fixes the bug. Turning it off seems to solve my problem for now.
Copy link to clipboard
Copied
Honestly, none of these symptoms sounds to me like a corrupted catalog. There have been threads about catalogs taking a long time to close (which I didn't read), perhaps you should search for them.
Copy link to clipboard
Copied
Hmm, ok, I will take a look. Question though: if it's not an issue with the catalog file, how do you explain the fact that, if I export all the images to a new catalog, the new catalog doesn't have these issues?
Copy link to clipboard
Copied
I didn't do an exhaustive search but the main thread I found about catalogs taking a long time to close described the same problem I am having.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now