Skip to main content
Inspiring
Nov 22, 2026 2:59 AM UTC
Open for Voting

Bulk "Save Metadata to File" crashes with catalog read error or fails to clear "Has Been Changed" status despite writing to disk

  • Lightroom Classic Version: 16.0.1
  • OS: Windows 11 (128 GB RAM)
     
     
  • Catalog Size: ~250,484 photos (stored on internal drives)
  • File Types Involved: Primarily .dng (including merged -HDR.dng files) alongside mixed .psd / .acr files
  • Plugins / Sync: Excire Search 2026 installed; Creative Cloud Sync paused during testing
Issue Summary:
When running Metadata > Save Metadata to File (Ctrl + S) across a large catalog, Lightroom Classic exhibits two related bugs:
  1. Fatal Catalog Read Crash on Large Batches: Selecting 3,900–9,000+ photos and pressing Ctrl + S repeatedly crashes Lightroom Classic mid-progress with the dialog: "Lightroom encountered an error when reading a catalog file and needs to quit." This occurs even immediately after running Test integrity of this catalog (which passes cleanly) and File > Optimize Catalog. Following the crash, Previews.lrdata frequently becomes desynchronized, showing mismatched Navigator/grid thumbnails until manually rebuilt.
  2. "Has Been Changed" Flag Fails to Clear After Successful Disk Write: On smaller batches (~153 DNG files in a single folder), pressing Ctrl + S successfully writes the updated XMP metadata into the .dng files on disk (verified in Windows File Explorer by an updated Date modified timestamp and visible embedded keywords/ratings), yet Lightroom Classic fails to update its internal catalog Metadata Status flag. The files remain permanently stuck under Metadata Status > Has Been Changed, even after switching folders or restarting Lightroom.
Steps to Reproduce:
  1. Open a large catalog (~250k photos) after bulk keywording/metadata edits have been applied.
  2. Filter Library by Metadata Status > Has Been Changed.
  3. Select a large batch (e.g., 3,900+ DNGs in a single folder) and press Ctrl + S -> Lightroom crashes partway through with "Lightroom encountered an error when reading a catalog file and needs to quit."
  4. Reduce selection to a smaller batch (~153 DNGs) and press Ctrl + S -> The files on disk update their Date modified timestamp and embedded XMP tags, but the Has Been Changed filter count in Lightroom never decreases.
Expected Behavior:
  1. Lightroom Classic should handle bulk metadata saves safely without throwing a fatal SQLite read crash or corrupting Previews.lrdata (and should gracefully skip or flag any individual unreadable file rather than crashing the application).
  2. Once XMP metadata is successfully written to a .dng file on disk, Lightroom Classic should reliably commit the Up to date status flag to the catalog database and clear the file from the Has Been Changed filter.

    2 replies

    Inspiring
    Nov 26, 2026 9:19 AM UTC

    I did that and found one file which i deleted before i read your reply. Thank you for your thoughtful reply.

    i had a couple of other crashes but the update number was ok. i found if i scrolled through all the photos in a selection to get it to update the previews before saving the metadata it did not crash. i was doing groups of photos up to about 5000 at a time.

    Translate
    johnrellis
    Legend
    Nov 22, 2026 5:38 PM UTC

    [View this post in your web browser. It contains formatting and images that don't appear in email.]

     

    "Has Been Changed" Flag Fails to Clear After Successful Disk Write

     

    There’s an open two-year-old bug report about these symptoms:

     

    I retested the bug recipe and it still occurs in LR 16.0.1.

     

    Fatal Catalog Read Crash on Large Batches

     

    I don’t recall seeing previous reports about this in the last couple of years. I recently did a batch Save Metadata To File on about 40K photos (perhaps in LR 15.5 or so) and didn’t observe a crash.

     

    There might be one or more poisoned DNGs in that batch of 3900 that repeatedly provoke the crash. If you have the patience, do binary search (divide and conquer) to see:

     

    1. Put all 3900 into the Quick Collection and verify that LR crashes doing Save Metadata To File on all of them.

     

    2. Select the first half of them and do Metadata Save To File. (Setting the option View > View Options > Compact Cell Extras > Index Number is a handy way for counting thumbnails.)

     

    3. If LR crashes, restart, select the first half of the photos, do the menu command Edit > Invert Selection and remove the selected photos from the Quick Collection. Go back to step 2.

     

    4. If LR doesn’t crash, remove the selected photos and go back to step 2.

     

    After about 12 iterations, you’ll be down to one photo. If it reliably crashes LR, then you’ve identified a poisoned photo. Upload it here so Adobe can reproduce the crash. If that last photo doesn’t reliably crash LR, then the problem isn’t being caused by a poisoned photo and lies elsewhere.

    Translate