© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•6mo ago•
24 replies
DasVekman

All new images are being marked as duplicated but still imported

I'm adding some new files and they all say they're duplicates. I also see this in my web.log
Query failed : {
durationMs: 2.090331999992486,
error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum"
at ErrorResponse (/opt/immich/app/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:794:26)
at handle (/opt/immich/app/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:480:6)
at Socket.data (/opt/immich/app/node_modules/.pnpm/postgres@3.4.7/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)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '23505',
detail: 'Key ("ownerId", checksum)=(f6933f01-118b-4b31-b373-70d54d77a16d, \xabff6fe7cb625bb17de56932a4779b0480dd10a5) already exists.',
schema_name: 'public',
table_name: 'asset',
constraint_name: 'UQ_assets_owner_checksum',
file: 'nbtinsert.c',
line: '666',
routine: '_bt_check_unique'
},
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Duplicate images continue to appear after being marked as keep all
ImmichIImmich / help-desk-support
10mo ago
iCloud Imported, but still wants to backup
ImmichIImmich / help-desk-support
6mo ago
New imported photos not showing up (but are in DB)
ImmichIImmich / help-desk-support
2mo ago
Images not showing up in WebApp but marked as uploaded in mobile app
ImmichIImmich / help-desk-support
5mo ago