I
Immich2y ago
Nich

Immich is pulling the incorrect time and date from images

I just bulk uploaded a Google Photos Takeout to Library to Immich and noticed that a bunch of images and videos are incorrectly dated in Immich. Before uploaded, I made sure to run EXIFtool the EXIF date taken as well as the file creation date were correct (pulled from the json files Google Photos uses). I double checked the originals and the dates where correct, but noticed that Immich was actually using the file modification date instead of the EXIF date or creation date. I'm not sure why it did this for random images and videos but I assume it isn't supposed to work this way. I re-ran the EXIF data extract and the issue wasn't fixed. Any idea what is going on or how to fix it?
9 Replies
bo0tzz
bo0tzz2y ago
Immich sometimes takes a bit to process all the assets you upload in the background, make sure all the jobs have finished running
Nich
NichOP2y ago
Yurp, all jobs are done running. Tried rerunning metadata extract and Sidecar Metadata again. nothing. Even figured id reboot and run again. still nothing.
Alex Tran
Alex Tran2y ago
Have you matched the takeout json metadata with the photos/videos?
Nich
NichOP2y ago
Not sure what you mean by "matched" but I did run EXIFtool to update each individual images EXIF taken date and the files creation date to the date in the images matching json file prior to uploading them to Immich.
Alex Tran
Alex Tran2y ago
Immich looks for some specific exif properties to use as date. Have you had a chance to look at this https://github.com/immich-app/immich/discussions/1340
GitHub
gphotos import + albums migration · immich-app immich · Discussion ...
gphotos import + albums With this guide, you STILL have to add images that are in multiple albums manually (except for the first instance of that image, so hopefully this isn’t too many) can get al...
Nich
NichOP2y ago
I didn't read it prior, but skimming it I get the general issue that people are having. All in all, none of it applies here as everything was updated correctly with the corresponding dates is the correct fields of the EXIF as noted in this FAQ https://immich.app/docs/FAQ#why-does-my-uploaded-photo-show-up-with-the-wrong-date-or-time-in-immich. DateTimeOriginal (EXIF), CreateDate (EXIF) and Date Created (File Info) were all updated using EXIFtool to the same date; the date the photo was taken according to the corresponding JSON file. I can verify prior to Bulk Upload via Immich CLI that the dates are set correctly. After importing Immich ignores the DateTimeOriginal, CreateDate and Date Created of some of the files and instead and the files Modified Date is used. If I downloaded the incorrectly dated image directly from Immich, open it up and check the DateTimeOriginal, the correct date is there. So for some reason Immich is ignoring a date that the file clearly has.
FAQ | Immich
What is the difference between the cloud icon on the mobile app?
Simulot
Simulot2y ago
May i suggest to give a try to https://github.com/simulot/immich-go
GitHub
GitHub - simulot/immich-go
Contribute to simulot/immich-go development by creating an account on GitHub.
Nich
NichOP2y ago
Update: nope still the same issue with immich-go. plus it fails a few thousand uploads in lol
Simulot
Simulot2y ago
Feel free to open an issue with details

Did you find this page helpful?