I
Immich•2mo ago
green

Immich sorts after modifiedDate and not creationDate

Hey all, first of all, thank you for your effort creating such app. I am ecountering a rather frustrating issue. What I do?: - connect via iOS-App to ip of server to sync my photos What I expect?: - i expect the sort order in immich to be the same as my ApplePhotos-app (from old to new) - for example in screenshot: CreationDate (Aufnahmedatum) was 19.09.2024, so I expect picture in this timeline What actually happens?: - sorting order in immich iOS app / web-gui is not the same as in ApplePhotos - sorting is out of order - my beginner analysis showed that modifiedDate in ApplePhotos has been used as creationDate in immich (check screenshots) - for example in screenshot: modifiedDate (Bearbeitungsdatum) is 11.06.2025 and picture will be sorted in immich on this day. Additional info: - server build: v.1.139.3 - ios build: newest
No description
No description
19 Replies
Immich
Immich•2mo ago
:wave: Hey @green, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
green
greenOP•2mo ago
TZ=Europe/Berlin NODE_ENV=production POSTGRES_USER=immichuser POSTGRES_PASSWORD=imusr123 POSTGRES_DB=immichuser DB_HOST=db DB_PORT=5432 DB_USERNAME=immichuser DB_PASSWORD=imusr123 DB_DATABASE=immichuser REDIS_HOST=redis REDIS_PORT=6379
Immich
Immich•2mo ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Mraedis
Mraedis•2mo ago
Currently the sorting is:
const EXIF_DATE_TAGS: Array<keyof ImmichTags> = [
'SubSecDateTimeOriginal',
'SubSecCreateDate',
'SubSecMediaCreateDate',
'DateTimeOriginal',
'CreateDate',
'MediaCreateDate',
'CreationDate',
'DateTimeCreated',
'GPSDateTime',
'DateTimeUTC',
'SonyDateTime2',
// Undocumented, non-standard tag from insta360 in xmp.GPano namespace
'SourceImageCreateTime' as keyof ImmichTags,
];
const EXIF_DATE_TAGS: Array<keyof ImmichTags> = [
'SubSecDateTimeOriginal',
'SubSecCreateDate',
'SubSecMediaCreateDate',
'DateTimeOriginal',
'CreateDate',
'MediaCreateDate',
'CreationDate',
'DateTimeCreated',
'GPSDateTime',
'DateTimeUTC',
'SonyDateTime2',
// Undocumented, non-standard tag from insta360 in xmp.GPano namespace
'SourceImageCreateTime' as keyof ImmichTags,
];
green
greenOP•2mo ago
i have this issue for lots of photos. my photo timeline is really out of place
Mraedis
Mraedis•2mo ago
It says "keine EXIF-Daten verfugbar" which to means any metadata is on iOS itself, not in the image If it's not in the image then we can't get it
green
greenOP•2mo ago
ah i see..
Mraedis
Mraedis•2mo ago
We are trying to make this work, it should be possible somehow (Google does it on iOS) , but no success so far. 🙂
green
greenOP•2mo ago
okay, thats frustrating for me as it affects so many pictures, but I understand that there is not much you can do right now on your side. Ive read of a workaround by downloading all icloud photos on your device and then upload them to immich. not sure if that works but one thing is strange for me: the issue only occured to me, when i need to update the server. I think when it said that new server number is 1.139.2 or 1.139.1 (just recently). I somehow crashed my server, i set up everything again and since then i have this issue. before all that, it seemed to me just fine. but maybe i havent noticed it by that point
Mraedis
Mraedis•2mo ago
The latest versions have a bug that affects some people #21189
Immich
Immich•2mo ago
[Issue] v1.139.2 Docker Container Restart Loop (immich-app/immich#21189)
Mraedis
Mraedis•2mo ago
Current fix is to downgrade to 1.138
green
greenOP•2mo ago
thank you for your quick support. I will look into this 🙂 so far it really seem to solve the issue. not sure what changed from 1.138 to 1.139.x I will give feedback tomorrow if all pictures are synced
smileBeda
smileBeda•2mo ago
You might want to look at how osxphotos exports to side car because that one gets the dates right iCloud (from what I found) does weird stuff with the dates but osxphotos fixed that for me. But only if exports to sidecar are active.
Mraedis
Mraedis•2mo ago
It's an internal library used for image generation that's killing the containers.
green
greenOP•2mo ago
update 1: after the full sync it seems like downgrading to 1.138 hasnt helped. altough the logs show server build is 1.138.1 i wouldnt rule out that i did something wrong @smileBeda thank you for your suggestion. i will look into it. not sure, maybe the app version is messing something up
smileBeda
smileBeda•2mo ago
@green - I actually meant it as a suggestion to immich dev's due to the difficulties mentioned above to extract data from iOS photos/iCloud
green
greenOP•2mo ago
oh i see 🙂 many ppl discussing here https://github.com/immich-app/immich/discussions/17708
Immich
Immich•2mo ago
[Discussion] Wrong date from iPhone (immich-app/immich#17708)

Did you find this page helpful?