People main photo has been reset after update to v1.125.x #5241

Closed
opened 2026-02-05 11:16:16 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @waclaw66 on GitHub (Jan 26, 2025).

The bug

I have noticed that featured photo of people on recent photos (e.g. last year) has been reset to some random asset. Including those that the main photo has been set explicitly. The rest of people stayed untouched.

The OS that Immich Server is running on

Fedora 41

Version of Immich Server

v1.125.2

Version of Immich Mobile App

not relevant

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

Just update to v1.125.x

Relevant log output


Additional information

No response

Originally created by @waclaw66 on GitHub (Jan 26, 2025). ### The bug I have noticed that featured photo of people on recent photos (e.g. last year) has been reset to some random asset. Including those that the main photo has been set explicitly. The rest of people stayed untouched. ### The OS that Immich Server is running on Fedora 41 ### Version of Immich Server v1.125.2 ### Version of Immich Mobile App not relevant ### Platform with the issue - [x] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML not relevant ``` ### Your .env content ```Shell not relevant ``` ### Reproduction steps Just update to v1.125.x ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@Hixxey commented on GitHub (Jan 26, 2025):

This has also been raised on the Discord.
https://discord.com/channels/979116623879368755/1332616118086406154

@Hixxey commented on GitHub (Jan 26, 2025): This has also been raised on the Discord. [https://discord.com/channels/979116623879368755/1332616118086406154](https://discord.com/channels/979116623879368755/1332616118086406154)
Author
Owner

@waclaw66 commented on GitHub (Jan 26, 2025):

I've compared persons table with the backup and thumbnailPath are still the same, however content of those thumbnail files was changed tonight (26.1.) at 1am.

@waclaw66 commented on GitHub (Jan 26, 2025): I've compared `persons` table with the backup and `thumbnailPath` are still the same, however content of those thumbnail files was changed tonight (26.1.) at 1am.
Author
Owner

@Hixxey commented on GitHub (Jan 26, 2025):

I've compared persons table with the backup and thumbnailPath are still the same, however content of those thumbnail files was changed tonight (26.1.) at 1am.

I noticed the same. The thumbnail path is unchanged but the actual thumbnail file is different.

@Hixxey commented on GitHub (Jan 26, 2025): > I've compared `persons` table with the backup and `thumbnailPath` are still the same, however content of those thumbnail files was changed tonight (26.1.) at 1am. I noticed the same. The thumbnail path is unchanged but the actual thumbnail file is different.
Author
Owner

@alextran1502 commented on GitHub (Jan 26, 2025):

Can you pick one person, change the face thumbnail and monitor if the face change to a different one tonight?

@alextran1502 commented on GitHub (Jan 26, 2025): Can you pick one person, change the face thumbnail and monitor if the face change to a different one tonight?
Author
Owner

@waclaw66 commented on GitHub (Jan 26, 2025):

Can you pick one person, change the face thumbnail and monitor if the face change to a different one tonight?

Sure, did it. I will inform you tomorrow.

@waclaw66 commented on GitHub (Jan 26, 2025): > Can you pick one person, change the face thumbnail and monitor if the face change to a different one tonight? Sure, did it. I will inform you tomorrow.
Author
Owner

@Hixxey commented on GitHub (Jan 26, 2025):

Can you pick one person, change the face thumbnail and monitor if the face change to a different one tonight?

I did exactly that yesterday and can confirm it hasn't changed overnight.

@Hixxey commented on GitHub (Jan 26, 2025): > Can you pick one person, change the face thumbnail and monitor if the face change to a different one tonight? I did exactly that yesterday and can confirm it hasn't changed overnight.
Author
Owner

@waclaw66 commented on GitHub (Jan 27, 2025):

Seems the issue affects all feature photos set to people before v1.78.0 that are missing faceAssetId having only thumbnailPath.
The question is whether it happens again. The workaround is to set feature photo for those people again using current version of Immich.
I think there is no way how to revert the original feature photo thumbnail because of missing faceAssetId, right?

@waclaw66 commented on GitHub (Jan 27, 2025): Seems the issue affects all feature photos set to people before v1.78.0 that are missing `faceAssetId` having only `thumbnailPath`. The question is whether it happens again. The workaround is to set feature photo for those people again using current version of Immich. I think there is no way how to revert the original feature photo thumbnail because of missing `faceAssetId`, right?
Author
Owner

@waclaw66 commented on GitHub (Jan 27, 2025):

@alextran1502 No change tonight, I can confirm same as @Hixxey. It makes sense, newly set feature photo put faceAssetId to the persons table thus a thumbnail shouldn't automatically regenerate with different asset. The question is what was the trigger for persons without faceAssetId when this issue happened.

@waclaw66 commented on GitHub (Jan 27, 2025): @alextran1502 No change tonight, I can confirm same as @Hixxey. It makes sense, newly set feature photo put `faceAssetId` to the `persons` table thus a thumbnail shouldn't automatically regenerate with different asset. The question is what was the trigger for persons without `faceAssetId` when this issue happened.
Author
Owner

@alextran1502 commented on GitHub (Jan 28, 2025):

Fixed in #15734

@alextran1502 commented on GitHub (Jan 28, 2025): Fixed in #15734
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#5241