Lightroom Classic: Sync metadata keeps going out of sync

  • 2
  • Question
  • Updated 10 months ago
  • (Edited)
Hi, I am trying to sync (write to disk) my LR metadata with the image files on disk.
I enabled auto sync, I created a smart collection that will show all files that are not up to date.
I select the files and press ctrl-s to sync, sync completes, but the file count does not go down.

I find a photo that is listed as metadata was changed externally, I select just that photos and press ctrl-s, the state changes to up to date.
I select a different picture, and immediately that previous photo changes back to metadata externally modified.
Repeat, same thing, I can ctrl-s, it is up to date, select a different image, and that image will go back out of sync.

If I exit LR it says it is still syncing EXIF data, that is after I already did a Ctrl-S on all the unsynced files.
If I restart LR the unsynced file count will not go down, it may sit there and go e.g 4332, 4331, 4332, 4331

Win10, catalog is on a SSD, my images are on NAS.

How do I get LR to keep the metadata synced.
Photo of Pieter Viljoen

Pieter Viljoen

  • 12 Posts
  • 3 Reply Likes

Posted 10 months ago

  • 2
Photo of dmeephd

dmeephd

  • 300 Posts
  • 78 Reply Likes
On Mac Mojave I to have seen this "metadata changed by external program"' message come up on images in the Library view.  Yet no external program was ever called forth to perform ANY changes to the images.  Syncing with data on disk usually clears this up, but the root cause for the error is unknown.

This error most often occurs in folders where the duplicate .dng file errors occur.  (Reported to Adobe months ago; no solution yet.)
Photo of Pieter Viljoen

Pieter Viljoen

  • 12 Posts
  • 3 Reply Likes
I don't know.
I tried with auto write XMP on, with it off.
No matter what I do, I can ctrl-s all images, and then sit and wait and I can see the count of modified on disk go back up.
I even ran processmonitor and LR is the only app touching the files.
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5967 Posts
  • 1312 Reply Likes
Pieter, 

Do you have any non-nas images? If so do they exhibit the same behavior? 
If you do not have any, could you create a test folder on local storage and see if they behave the same or as expected?
Photo of Pieter Viljoen

Pieter Viljoen

  • 12 Posts
  • 3 Reply Likes
I tested with a new catalog with a few test images on local SSD, and it seems to work ok.

I then exported my entire catalog to a new catalog (in case it is the catalog), minus "negatives" (I wish they would call them images, as it confused me with DNG), and that catalog, that points to the same pictures on NAS.

At first it looked good, my smart collection of "not up to date metadata" images got the ctrl-s treatment, count went down, and then it started going up again, same as before.
So not the catalog.

The images that exhibit this behavior seem to be either video files, or image files that have been star rated.

Once the file count (of not up to date) stabilized, I exported the catalog, and those images, as a new catalog to my SSD.
In this catalog I again did ctrl-s, and this time all the non-video files updated, and the remaining files were all video files.
Weird thing is that the smart collection will list the videos as not up to date, but when I click each individual file, it is listed as up to date.

So very weird, when the files are on NAS mostly DNG and rated JPG/DNG revert to not up to date, on SSD those same files stay up to date, but video files list as not up to date in the filter, but individually they are up to date.

I suspect multiple bugs here?

Photo of Pieter Viljoen

Pieter Viljoen

  • 12 Posts
  • 3 Reply Likes
I narrowed the status count + - to some MP4 video files.
If I use a metadata filter, I see some unknown status files, with auto write XMP enabled, this filter will add remove add remove videos.
The metadata status panel lists the images as up to date, the filter lists them as unknown, when I click the status button in the metadata panel, I get an error dialog.

Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5967 Posts
  • 1312 Reply Likes
Keep in mind that Video metadata lives in the catalog only and cannot be saved to the file directly or as a side car.  Please see: https://helpx.adobe.com/lightroom/help/video-lightroom.html  (note at the bottom of the page). 
Photo of Pieter Viljoen

Pieter Viljoen

  • 12 Posts
  • 3 Reply Likes
thank you for the link.
That may be true, when published in Oct 2017, but it does not explain the bugs and behavior I observe, and if still accurate, LR should not attempt something that is known to fail.

In summary my findings:

1) Some TIFF, JPG, and DNG files fail to sync when they live on NAS, when they live on SSD, the same files sync fine. I do not know what is special about the files, and the file server is Windows Server 2016, so nothing weird there either.

2) LR displays the status of some video files as synced in the metadata panel, but in the metadata filter they are listed as unknown. Unknown is not synced.

3) LR allows syncing metadata to video files when clicking the metadata sync button, and then fails with an error. If not supported, don't try to do something that is known to fail.

4) When auto sync EXIF is on, LR tries to sync metadata to video files, that fails over and over and over and over, making the synced file count go up and down and up and down. If not supported, don't repeat doing something over and over when it will continue to fail.