ImmichI
Immich5mo ago
Todd1561

New photos not being added

I'm running the latest version as of today, although I think this problem started potentially a couple updates ago. Generate Thumbnails, extract metadata and scan external library jobs seem to be stuck. When I check the docker logs I see the below. I've attached my docker-compose.yml file.

Unable to run job handler (LibrarySyncFiles): PostgresError: duplicate key value violates unique constraint "asset_ownerId_libraryId_checksum_idx"
PostgresError: duplicate key value violates unique constraint "asset_ownerId_libraryId_checksum_idx"
at ErrorResponse (/usr/src/app/server/node_modules/postgres/cjs/src/connection.js:794:26)
at handle (/usr/src/app/server/node_modules/postgres/cjs/src/connection.js:480:6)
at Socket.data (/usr/src/app/server/node_modules/postgres/cjs/src/connection.js:315:9)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
Was this page helpful?