immich_server | Query failed : { immich_server | durationMs: 1.9064459999790415, immich_server | error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" immich_server | at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:794:26) immich_server | at handle (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:480:6) immich_server | at Socket.data (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:315:9) immich_postgres | 2025-09-26 17:27:24.784 UTC [103] ERROR: duplicate key value violates unique constraint "UQ_assets_owner_checksum" immich_postgres | 2025-09-26 17:27:24.784 UTC [103] DETAIL: Key ("ownerId", checksum)=(ad4be11d-84d1-40f8-94d5-5940948e32bb, \x73eb301225085970ec960648a03ec9513eda698a) already exists. immich_postgres | 2025-09-26 17:27:24.784 UTC [103] STATEMENT: insert into "asset" ("ownerId", "libraryId", "checksum", "originalPath", "deviceAssetId", "deviceId", "fileCreatedAt", "fileModifiedAt", "localDateTime", "type", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning * immich_server | at Socket.emit (node:events:518:28) immich_server | at addChunk (node:internal/streams/readable:561:12) immich_server | at readableAddChunkPushByteMode (node:internal/streams/readable:512:3) immich_server | at Readable.push (node:internal/streams/readable:392:5) immich_server | at TCP.onStreamRead (node:internal/stream_base_commons:189:23) immich_server | at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { immich_server | severity_local: 'ERROR', immich_server | severity: 'ERROR', immich_server | code: '23505', immich_server | detail: 'Key ("ownerId", checksum)=(ad4be11d-84d1-40f8-94d5-5940948e32bb, \\x73eb301225085970ec960648a03ec9513eda698a) already exists.', immich_server | schema_name: 'public', immich_server | table_name: 'asset', immich_server | constraint_name: 'UQ_assets_owner_checksum', immich_server | file: 'nbtinsert.c', immich_server | line: '663', immich_server | routine: '_bt_check_unique' immich_server | }, immich_server | sql: 'insert into "asset" ("ownerId", "libraryId", "checksum", "originalPath", "deviceAssetId", "deviceId", "fileCreatedAt", "fileModifiedAt", "localDateTime", "type", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning *', immich_server | params: [ immich_server | 'ad4be11d-84d1-40f8-94d5-5940948e32bb', immich_server | null, immich_server | , immich_server | '/data/upload/ad4be11d-84d1-40f8-94d5-5940948e32bb/4e/9a/4e9a8a5a-7554-4a58-b2dd-f02b59b9eeea.jpg', immich_server | '1000029942', immich_server | '0a8bbe9be59007439ca0a0b8dad8f902701ce97a973cb5b1c3c3e47f853ec1b2', immich_server | 2025-09-26T17:26:59.000Z, immich_server | 2025-09-26T17:27:00.000Z, immich_server | 2025-09-26T17:26:59.000Z, immich_server | 'IMAGE', immich_server | false, immich_server | '0', immich_server | 'timeline', immich_server | 'IMG_20250926_192659.jpg' immich_server | ] immich_server | } immich_server | [Nest] 32 - 09/26/2025, 5:27:24 PM DEBUG [Api:LoggingInterceptor~ah56k59m] POST /api/assets 200 30.54ms ::ffff:172.18.0.1 immich_server | [Nest] 32 - 09/26/2025, 5:27:24 PM VERBOSE [Api:LoggingInterceptor~ah56k59m] {"filename":"IMG_20250926_192659.jpg","deviceAssetId":"1000029942","deviceId":"0a8bbe9be59007439ca0a0b8dad8f902701ce97a973cb5b1c3c3e47f853ec1b2","fileCreatedAt":"2025-09-26T17:26:59.000Z","fileModifiedAt":"2025-09-26T17:27:00.000Z","isFavorite":"false","duration":"0"} immich_server | [Nest] 32 - 09/26/2025, 5:27:36 PM DEBUG [Api:LoggingInterceptor~xlkqq9cm] GET /api/server/ping 200 0.14ms ::1 immich_redis | 1:M 26 Sep 2025 17:28:07.005 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 26 Sep 2025 17:28:07.006 * Background saving started by pid 86 immich_redis | 86:C 26 Sep 2025 17:28:07.011 * DB saved on disk immich_redis | 86:C 26 Sep 2025 17:28:07.012 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB immich_redis | 1:M 26 Sep 2025 17:28:07.106 * Background saving terminated with success immich_server | [Nest] 32 - 09/26/2025, 5:28:06 PM DEBUG [Api:LoggingInterceptor~ysvcstee] GET /api/server/ping 200 0.14ms ::1