Copy link to clipboard
Copied
Hello,
I use Lightroom Classic under Windows 11. All my images are located on a Synology Diskstation with DSM 7.1.1. The image Folder is mounted as a networkdrive via SMB with a user that has read and write permissions on that share and all folders within it.
Until now everything worked well. I don't now exactly when it started but the day before tomorrow i realized, that Lightroom renames jpg files to name.tmp and does not recognize the images anymore. I have 10000 files renamed that way now! 😞
I can reproduce this behavior like that:
* rename the images to name.jpg
* sync folder ib Lightroom -> images are back again
* save metadata
When save metatadate I sometimes get the message that there was an error saving the metadata. Errorcode is 29. "Unknown File I/O errror" is the messge translated from German.
Afterwards the images are renamed to *.tmp again.
Can someone tell me, what happened? I didn't change permissions or something nlike that.
Only Lightroom and the Nas wher updated frequently. Lightroom recently but not before I saw this problem.
Thanks for helping me.
I just renamed the images with a counter before the name and the problem disapeared! Strange!
Perharps i was caused by the fact, that LR recognized them as douplicate because the where exported from CR2 files, that are stored in a compltely different storage location?
Copy link to clipboard
Copied
@Marcel25258739v697: "When save metatadate I sometimes get the message that there was an error saving the metadata. Errorcode is 29. "Unknown File I/O errror" is the messge translated from German."
It sounds like there's some kind of disagreement between LR and the NAS over file permissions. When LR saves metadata to a JPEG, instead of modifying the existing file, it often writes a temporary file containing the new version of the JPEG and then renames that file on top of the existing file. From your description, it sounds like the rename is failing.
It also sounds like you have enabled the option Catalog Settings > Metadata > Automatically Write Changes Into XMP. I recommend disabling that immediately until you resolve the problem.
Copy link to clipboard
Copied
Hello @johnrellis,
thanks for your quick reply!
In my case there are only jpgs. For those images there are no RAW files.
What I do not understand is, why LR touches the original files at all. Perhaps because it handles jpgs other than raw files when they ar stand alone images?
For raw files I have no such problems. The xmp files could be written without problems.
But for jpgs there are no xmp files and the jpg itself is overridden to *.jpg.tmp.
Hence raw and jpg images live in the same folder structure with the same permission, I'm not sure if permissions are the problem.
For some jpg images there are name.jpg and name.jpg.tmp at the same time. So it seems that this ist the correct way. And the *.jpg.tmp was not deleted yet.
In the other cases it seems to be a problem of renaming back the tempfile to the original one.
Copy link to clipboard
Copied
One more thing I realised is, that during the meta write process there are also name.swp files in the folder. But only for a short time.
Copy link to clipboard
Copied
And one more thing is, that for older jpg images there are also name.tmp files without jpg in the ending (many of them!!!). For those images everything seems to be fine ande the corresponding name.jpg file is exists in the same folder.
It seems as if LR startet to rename name.jpg to name.jpg.tmp instead of name.tmp for some images.
However the problem doesnot apear on ever jpg on every meta save.
Some files in the same folder are renamed wrong / overridden some are not. The have identical permissions.
Copy link to clipboard
Copied
... and it seems to happen randomly for the same images.
I suspect it to happen when many files are processed by LR or when LR is busy determining adresses, cordinates or other batchstuff.
Copy link to clipboard
Copied
@Marcel25258739v697: "In my case there are only jpgs. For those images there are no RAW files. What I do not understand is, why LR touches the original files at all."
Have you enabled the setting Catalog Settings > Metadata > Automatically Write Changes Into XMP? That setting is confusingly named. When enabled, it writes any changes to a photo's metadata (including Develop settings) back into the photo's file (if it's not a proprietary raw file) or a .xmp sidecar file (if it's a proprietary raw).
So with that setting enabled, LR will be writing any changes to metadata back into the JPEG files. As I recommended above, disable that setting immediately and see if the misbehavior stops.
Copy link to clipboard
Copied
@johnrellis THX!
Yes I deactivated this setting immediately but the files are still renamed.
I also have the option "Include develop settings in metadata inside JPGs.." deactivated.
But the problem resists.
Copy link to clipboard
Copied
I just renamed the images with a counter before the name and the problem disapeared! Strange!
Perharps i was caused by the fact, that LR recognized them as douplicate because the where exported from CR2 files, that are stored in a compltely different storage location?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now