I
Immichβ€’3y ago
myhrmans

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
bo0tzz
bo0tzzβ€’3y ago
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...
bo0tzz
bo0tzzβ€’3y ago
cc @Kryptonian since they made the PR that (maybe?) fixed that issue
myhrmans
myhrmansOPβ€’3y ago
hmm I just saw that some jpg files are not backed up either.
jrasm91
jrasm91β€’3y ago
How are you confirming "not backed up" status?
myhrmans
myhrmansOPβ€’3y ago
No description
myhrmans
myhrmansOPβ€’3y ago
No description
myhrmans
myhrmansOPβ€’3y ago
Immich, Samsung Gallery Web
bo0tzz
bo0tzzβ€’3y ago
Have you checked whether it shows up on the web UI?
myhrmans
myhrmansOPβ€’3y ago
'
No description
myhrmans
myhrmansOPβ€’3y ago
and that is a JPG file.
Kryptonian
Kryptonianβ€’3y ago
Hmm, I don't think I did anything to the .dng things...
myhrmans
myhrmansOPβ€’3y ago
No description
myhrmans
myhrmansOPβ€’3y ago
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
myhrmans
myhrmansOPβ€’3y ago
No description
bo0tzz
bo0tzzβ€’3y ago
So it does exist on the FS?
myhrmans
myhrmansOPβ€’3y ago
I havent opened it but file name matches Dont know why there are two uploades. Only have 1 file on phone with that name.
bo0tzz
bo0tzzβ€’3y ago
Try rerunning "generate thumbnails" from the webui and see if it appears If it doesn't, check the microservices log after
myhrmans
myhrmansOPβ€’3y ago
Running it on all files now Whats the reason for the +1 image?
bo0tzz
bo0tzzβ€’3y ago
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
myhrmans
myhrmansOPβ€’3y ago
Yes, but looking at the phones gallery there is only one image.
jrasm91
jrasm91β€’3y ago
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.
myhrmans
myhrmansOPβ€’3y ago
Got it! Found the other file In the Lightroom export folder. I did indeed edit that photo.
myhrmans
myhrmansOPβ€’3y ago
No description
myhrmans
myhrmansOPβ€’3y ago
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
myhrmans
myhrmansOPβ€’3y ago
No description
jrasm91
jrasm91β€’3y ago
What do you mean the dng is stated as not uploaded?
myhrmans
myhrmansOPβ€’3y ago
No description
myhrmans
myhrmansOPβ€’3y ago
I dont see them in the Web UI but they are there in the FS. All are .dng files.
bo0tzz
bo0tzzβ€’3y ago
Check the microservices log, I expect it'll have thumbnail generation errors
myhrmans
myhrmansOPβ€’3y ago
Correct.
myhrmans
myhrmansOPβ€’3y ago
No description
jrasm91
jrasm91β€’3y ago
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
myhrmans
myhrmansOPβ€’3y ago
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
jrasm91
jrasm91β€’3y ago
Are you familiar with docker, nodejs/JavaScript?
myhrmans
myhrmansOPβ€’3y ago
Yes My daily workstack πŸ™‚
myhrmans
myhrmansOPβ€’3y ago
myhrmans
myhrmansOPβ€’3y ago
3 .dng files
jrasm91
jrasm91β€’3y ago
Great. We can take at look at them.
bo0tzz
bo0tzzβ€’3y ago
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,...
Kryptonian
Kryptonianβ€’3y ago
That sounds like a similar issue than with .arw support?
bo0tzz
bo0tzzβ€’3y ago
Yeah I'm just looking to see how they relate @jrasm91 since you put together that .arw PR, you might now?
jrasm91
jrasm91β€’3y ago
Sharp failed and the fallback also failed Does sharp work for some dng files?
Kryptonian
Kryptonianβ€’3y ago
I think it has used to work.
jrasm91
jrasm91β€’3y ago
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
bo0tzz
bo0tzzβ€’3y ago
If we can have some generic fallback for all these raw/weird formats that'd be awesome
jrasm91
jrasm91β€’3y ago
That's what dark table should do
jrasm91
jrasm91β€’3y ago
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...
myhrmans
myhrmansOPβ€’3y ago
What me to create a github issue related to this to easier keep track?
jrasm91
jrasm91β€’3y ago
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
That's fine.
myhrmans
myhrmansOPβ€’3y ago
Sorry not native speaking, is that a "yes please do" or "you dont need to" πŸ˜ƒ ?
jrasm91
jrasm91β€’3y ago
Yes you're welcome to do that πŸ˜€ You English is good for it being a second language πŸ˜›
myhrmans
myhrmansOPβ€’3y ago
Thanks πŸ™‚
myhrmans
myhrmansOPβ€’3y ago
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...
Tetrapod Melon Tea
Tetrapod Melon Teaβ€’3y ago
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.
myhrmans
myhrmansOPβ€’3y ago
Good to know its affecting more then S22 .dng files.
Tetrapod Melon Tea
Tetrapod Melon Teaβ€’3y ago
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.

Did you find this page helpful?