New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] iOS live photos which have been rotateed or an effect are shown as separate images and videos in immich #5473
Comments
@philw07 Can you please check if the live photo is linked properly in the web version? And, if it does, can you swipe down twice in the main timeline of the mobile app to trigger a force refresh of the asset state and check if that fixes your issue? |
@shenlong-tanwen It’s also not linked in the web interface. |
Odd. Does this happen only for live photo with edits? Also, is it possible to share such live photo as a file to reproduce the issue? You can also check the following things:
|
Yes, I've uploaded dozens of live photos and only edited ones are displayed separately.
Sorry, I can't share any at the moment, but if you have access to an iOS device it's literally as easy as taking a live photo and rotating it via Edit → Crop → Rotate → Save.
I think it ran, as the non-edited live photos are recognized as such and also other metadata like location and camera are available.
Where can I check this? I found a similar issue in #4209 with the |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
So after some reading, I took a live photo and uploaded it to immich and checked the exif using exiftool afterwards.
Afterwards, I deleted the photo and rotated it in iOS, then uploaded it again.
This seems to explain why immich can't link them. |
I'm seeing this without having edited the photo. Re-running metadata extraction fixes it. |
I'm seeing this without editing the photos, and re-running metadata extraction does not fix it for me |
Are your assets not linked in the web app as well? If so, Can you share the original photo and video asset that are supposed to be linked together? If they have sensitive or personal info, Can you try reproducing it with a new Live photo and share it with us for troubleshooting? |
Hello, yes it is happening in web, I have older photos where this happens too, starting December 1st (which is weird I don't think it happened around a release). This is from today and here they are downloaded from immich web:
and the original photo: This is coming from an iPhone 14 Pro, and I just checked the app version is up to date, v1.89.0, server on same version Let me know if you need anything else, happy to help! |
@philw07 / @ChristopherFunk Both of your issues should be fixed in the next version of the app. We'll keep this issue open until the next release. |
Fantastic, thanks so much. |
Woohoo! Thanks so much! I'm assuming we'll need to do another metadata refresh to fix existing photos? |
Sadly, The live photos has to be removed and re-uploaded again for them to be properly linked. This shouldn't hopefully be required again in the future. Apologies for the trouble caused. We'll get this added to the release notes as well, asking users to re-upload their unlinked live photos from the iOS app. |
@shenlong-tanwen In which commit was this fixed? I'm curious how this was solved. |
I updated my server and app and re-uploaded several live photos as well as taking and editing some new photos. @shenlong-tanwen Thanks again. |
Interesting. I'm wondering if that change lead to the other issue I'm seeing. My app version is The following image shows The live photo is matched fine since the update. If switching off the live photo effect, the same photo is displayed like this. @philw07 Did you notice something similar for recent live photos with effects? If not, I'm going to have to open up a new issue to figure this out. |
@smndtrl hello, do you know if those LivePhotos get edited anyway after being taken? |
The only thing I did was to
All looks good on the server No cropping, painting, rotating or anything else. I didn't even use the |
I didn’t notice it before, but I can confirm it also happens on my side. |
How can we identify photos that need to be deleted and re-uploaded? |
There are two ways in which assets are linked together as live photos. i) both the video and photo asset are uploaded together in the same upload request 2) matching "Content Identifier" metadata We thought of removing i) and use ii) for linking live photos always and released the mobile app changes as such. But looks like not all livePhoto's still and motion part have matching metadata, like from the few examples above, which resulted in them not getting linked together since we started relying on only the metadata. The fix was to actually revert it and go back to uploading both the assets together in the same request and the server would link them without going through the metadata. This was also why we requested the existing un-linked livephotos to be removed and re uploaded again. |
Can you raise this as a separate issue? |
You can check the comment by Christopher - #5473 (comment) The still and motion photos are getting displayed as two different assets in the timeline, which means that the live photo is not properly linked |
Hi sorry! It's all working on my end! Been uploading photo's like crazy and no issue on my end! 😄 Ahh I kept reading, I haven't tried any of these other effects in my photo's, but the simple snap and upload is working for me. |
Still an issue for me on 1.102.3 I have the exact same symptoms as this. This has not been fixed? :
|
@CarterMoody if a LivePhotos is modified, it will lose the information that we need to link the two files together... and this is due to how Apple handles file editing, unfortunately |
@alextran1502 I have not modified any of these photos yet they still show up this way. I have run the metadata extraction job on my entire library and they still show up as both a still and a live photo separately. What do I need to do to fix this? |
The bug
When uploading a live photo from iOS which has either been rotated or an effect (bounce, loop, etc.), it will be displayed as separate photo and video in immich.
In case of rotated photos, the video has the original orientation.
I would expect it to show as a regular live photo in immich (without any effect, but ideally rotated correctly).
The OS that Immich Server is running on
Debian
Version of Immich Server
v1.89.0
Version of Immich Mobile App
v1.89.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response
The text was updated successfully, but these errors were encountered: