I
Immich2y ago
r3ps4J

Incorrect photo date in Immich but gallery shows correct

Hi there. First of all, thanks for this great project! I've been using it for some time now and it works great as an alternative to google photos/icloud. I've recently done a new install of Immich and switched to a new phone as well. I let my phone upload the same images I had before, only transferred to my new one. Oddly, a handful of pictures don't show up in the timeline at the correct date, but at the date when I transferred them to my new phone. These happen to be pictures that I also transferred to my previous phone from the phone I had before that one, and then they did show up correctly in Immich. It already happens without uploading them as well. The "Date taken" property is set correctly when I look at the photos on my Windows computer, and in the Samsung gallery app they show up correctly as well. Does anyone know how I might fix this? My previous phone where these images did show up correctly in the timeline was an iPhone, in case that makes a difference. Weird thing is is that the images around it (from the same day as one that is shown incorrectly for example) do showup correctly. Let me know if you need any files in order to help me. I did not check the server logs (or know which ones to look at) since it already happens in the android app without backing the photo's up to the server.
10 Replies
Alex Tran
Alex Tran2y ago
so you transferred photos from your old phone to new phone and then upload them to Immich again?
r3ps4J
r3ps4JOP2y ago
Yes, but I reset my immich instance completely to prevent getting duplicates as the file names changed between ios and android. Actually now that I think about it, I transferred the photos from the phone before my iPhone from my pc to my new phone and the new photos from the iPhone directly from iPhone to new phone. The problem doesn't seem to appear with any of the iPhone photos.
Alex Tran
Alex Tran2y ago
I suspect when you transfer photos to your pc, it might not be the original files so when you send it to your current phone and upload them to Immich, it results in incorrect date
r3ps4J
r3ps4JOP2y ago
Hmm it does show them correctly in the native gallery app, the date taken property is also correct when I look at the file details from my pc. Weirdly enough all the other photos are correct, it’s just a handful that are set to the date of copying within the timeline
jrasm91
jrasm912y ago
The file should have date time fields in the exif data, but if for some reason it doesn't, it would use the file accessed date instead. It sounds like this is happening for some reason and using the date from the latest copying. Can you confirm for these photos they do not have any exif date fields?
r3ps4J
r3ps4JOP2y ago
The files do have the correct exif data fields, the native gallery also has them placed correctly in that timeline. I'll try to delete all my images and transfer them again to see what happens, perhaps some data got lost somehow.
jrasm91
jrasm912y ago
I meant, you could get the original from immich (download), then run exiftool to inspect the date fields. The other thing could be exif parsing is failing and then the database isn't getting updated with the correct timestamp, but you should see microservice error logs in that case.
r3ps4J
r3ps4JOP2y ago
It's happening in the android app without having backup enabled yet I just did a new transfer to my phone, the same couple of pictures show up in immich with today as the date. On my pc the exif data is correct and in the gallery it is also correct.
jrasm91
jrasm912y ago
Can you send me a DM (a zip) of one of the problematic pictures?
r3ps4J
r3ps4JOP2y ago
Sure! Thanks for taking the time to help me

Did you find this page helpful?