immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
44.66k stars 2.17k forks source link

[BUG] Photos listed under the incorrect date section #4901

Closed ghost closed 1 week ago

ghost commented 10 months ago

The bug

the iOS shows the photos correctly for 8th Nov, 1st Nov and 31 Aug

but the web shows 8th Nov and all others in the 31 Aug (including the 1st Nov photo)

web

Screenshot 2023-11-08 at 10 32 02 pm

web photo info showing date

Screenshot 2023-11-08 at 10 41 37 pm

iOS view correct

IMG_3450

The OS that Immich Server is running on

ubuntu 22

Version of Immich Server

1.85

Version of Immich Mobile App

1.85

Platform with the issue

Your docker-compose.yml content

default

Your .env content

default

Reproduction steps

1.
2.
3.
...

Additional information

No response

atlas-shrugged08 commented 10 months ago

fwiw, I am (on v1.84) seeing the same issues. (just do not have the bandwidth to anonymize screenshot).

I additionally see the sequence of dates wrong on web. e.g. Oct 22 shows before Oct 25. (for which i can show a non anonymized screenshot below) image

andyxpert commented 10 months ago

There is somewhat a problematic area when dealing with dates... Normally a date can be taken from multiple areas:

I have a big photo collection (around 100k files) taken throughout 10+ years with different devices (phones, cameras, DSLR, downloads from FB/WA, etc.), some processed by other 3rd party software (each causing changes to the EXIF data), moved from folder to folder, HDD backups, etc.... Long-story-short, the dates may not be that accurate for all of them, obviously :)

I do not blame Immich for these issues, though a view of filtered photos (based on date ranges or location) where we can batch-update dates would be God-sent :) (maybe I'll create a feature-request with this...)

What I suggest (my approach that works 100% and it's fully controlled by me) is you create some bash scripts that correct the dates for the chunks of your library that have problems... Something like this:

I'm currently in the process of cleaning by library - I'm already 1 week into this process... last 3 days it kept on generating thumbnails... but I don't see any wrongly placed photos in the timeline, so I guess my logic is good :)

TL;DR: try to isolate the files that are misplaced (as the dates aren't accurate) and deal with them manually before re-importing them into Immich and this should fix your problem.

Immich guys, anything you can do to help in this situation ? I would LOVE to ditch my scripts and have Immich do it by default :)

ghost commented 10 months ago

@andyxpert shown in my issue post, it clearly shows the info pane of the photo within immich itself, with the date 1st Nov.. but it is listing it under August in web viewer

This seems to be a immich ordering problem.. it orders correctly in iOS but not correctly in the web, again as shown in the images in the post

batch scripts is not a solution for this..

andyxpert commented 10 months ago

Well, each with their own scenarios, what works for one may not be applicable to others... If iOS app shows something and web app shows something else, then indeed it's a Bug.

Tyree commented 9 months ago

Mine is the opposite. Images shown on the correct date (Nov 18) on the web app, but on the Android app, photos are randomly spread out from Nov 4-18

AngelPone commented 8 months ago

In my case, some photos shown on some future dates on iOS app, but show in Chrome correctly. One interesting point is that I use the "change date" functionality on the Web app. I changed the date to 2017-02-25, but they shown on 2024-02-25, so weird.