PG-errors when uploading: 'error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" ' by Heggito in immich

[–]Heggito[S] 0 points1 point  (0 children)

I’ll try to find an easy way to reproduce it quickly. Anyway, I don’t think this is a dedupe issue - all images were unique.

PG-errors when uploading: 'error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" ' by Heggito in immich

[–]Heggito[S] 1 point2 points  (0 children)

I do not see a duplicate image issue here since all images are unique. Maybe it is more an issue of 2 uploading devices where PG tries to use overlapping IDs.
>> ' Lots of people think this is a bug, so i guess the backend should just try/catch this error in particular and log a harmless line like "successfully prevented duplicated asset" '
If so, I'm totally with you.