Not all photos are backed up from S22 Ultra
Any photos taken using the Pro mode are .dng files on the S22 Ultra. They are not backed up, what is the reason for this?
57 Replies
Is what you're seeing similar to this? https://github.com/immich-app/immich/issues/1466
GitHub
[BUG] Doesn't show DNG file when duplicately-named JPG exists despi...
Describe the bug When you take photos in pro mode on Samsung phones you're unable to avoid a low res .jpg copy of the DNG file. Immich then uploads both files, compares them and then only shows...
cc @Kryptonian since they made the PR that (maybe?) fixed that issue
hmm I just saw that some jpg files are not backed up either.
How are you confirming "not backed up" status?


Immich, Samsung Gallery
Web
'

and that is a JPG file.
Hmm, I don't think I did anything to the .dng things...

No, that was my bad. I thought it was related to dng only but seems like normal photos are affected aswell
Web UI not including it and the icon in the app
Let me take a look in the filesystem.
Hmm

So it does exist on the FS?
I havent opened it
but file name matches
Dont know why there are two uploades.
Only have 1 file on phone with that name.
Try rerunning "generate thumbnails" from the webui and see if it appears
If it doesn't, check the microservices log after
Running it on all files now
Whats the reason for the +1 image?
It generates the +1 filename if a file with the same name already exists
The timestamps in those filenames from your device are down to the second, so just taking two pictures in one second would cause that
Yes, but looking at the phones gallery there is only one image.
This implies the files are slightly different, which could be caused by a few different things, local file edits on the phone, uploading with and without gps data, uploading "the same" file from the CLI, etc.
Your best bet is to compare the exif of the two and see what is different.
Got it!
Found the other file
In the Lightroom export folder.
I did indeed edit that photo.

So then it makes sense.
That did fix all Jpg uploads.
Still no change for all .dng files
The phone takes two identical photos but one in RAW. The JPG files is stated as uploaded, but not the DNG file.
I can see both on the FS

What do you mean the dng is stated as not uploaded?

I dont see them in the Web UI
but they are there in the FS.
All are .dng files.
Check the microservices log, I expect it'll have thumbnail generation errors
Correct.

There are some know sync/display issues after some recent mobile work related to offline support which may incorrectly display the upload status
The dng files are backed up and not showing in the web UI because we couldn't generate a thumbnail for them
Generating raw thumbs is semi complicated. If you can share one that doesn't work and we can troubleshoot it
Sure thing. I'd gladly help out see if I can learn the tech stack aswell but I'll share a photo to begin with
Are you familiar with docker, nodejs/JavaScript?
Yes
My daily workstack π
3 .dng files
Great. We can take at look at them.
https://github.com/lovell/sharp/issues/2359#issuecomment-689036235 sounds potentially rough
GitHub
DNG support Β· Issue #2359 Β· lovell/sharp
What are you trying to achieve? Reading DNG images. They are a pretty common lossless format in the world of semipro photography. They are produced by many point-and-shoot cameras, and some phones,...
That sounds like a similar issue than with .arw support?
Yeah I'm just looking to see how they relate
@jrasm91 since you put together that .arw PR, you might now?
Sharp failed and the fallback also failed
Does sharp work for some dng files?
I think it has used to work.
Or does it always fail and only "works" when it can extract a thumb from exif? Which failed in this case.
Ie sharp always fails on dng files
Would be interesting to test these files with my PR that uses dark table
If we can have some generic fallback for all these raw/weird formats that'd be awesome
That's what dark table should do
darktable
camera support
This is an auto-generated list of the state of support of different camera models. Cameras that produce DNG files should be supported even if they are not on the list but samples are still appreciated.
If your particular camera is not on the list or is missing some form of support please check for an open bug report and if one doesnβt exist crea...
What me to create a github issue related to this to easier keep track?
This is an auto-generated list of the state of support of different camera models. Cameras that produce DNG files should be supported even if they are not on the list but samples are still appreciatedThat's fine.
Sorry not native speaking, is that a "yes please do" or "you dont need to" π ?
Yes you're welcome to do that π
You English is good for it being a second language π
Thanks π
Here is the github issue:
https://github.com/immich-app/immich/issues/2202
GitHub
[BUG] .dng files do not succussed in creating thumbnails Β· Issue #2...
The bug .dng files taken on Samsung S21 Ultra "Pro mode" fail in creating thumbnails. 3 examples can be found here that are not successfully generated thumbnails: https://data.myhrmans.co...
Thanks for rasing this issue, I have just noticed some (not a lot) of my .dng files are also having the same issue. Happening on Pixel 6 and 6 Pro.
Good to know its affecting more then S22 .dng files.
Just want to update my findings:
The app shows the icon of "not uploaded", the image is not on webUI. But when I drilled down to the folders on the server, the actual .dng files were uploaded.