Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Nest] 7 - 10/28/2025, 11:35:30 PM LOG [Microservices:PersonService] Detected 1 new faces in asset 131c5f5b-4471-4ab7-9cd6-063f43a8be0a
- Query failed : {
- durationMs: 1.5455240001901984,
- error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum"
- at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:794:26)
- at handle (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:480:6)
- at Socket.data (/usr/src/app/server/node_modules/.pnpm/[email protected]/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)=(265166cb-11cb-4a5f-aaa7-812cc002c274, \\x3c6cc414b9cc47dfb18549724f6f70e9a33f6df2) already exists.',
- schema_name: 'public',
- table_name: 'asset',
- constraint_name: 'UQ_assets_owner_checksum',
- file: 'nbtinsert.c',
- line: '663',
- routine: '_bt_check_unique'
- },
- sql: 'insert into "asset" ("ownerId", "libraryId", "checksum", "originalPath", "deviceAssetId", "deviceId", "fileCreatedAt", "fileModifiedAt", "localDateTime", "ty
- pe", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning *',
- params: [
- '265166cb-11cb-4a5f-aaa7-812cc002c274',
- null,
- <Buffer 3c 6c c4 14 b9 cc 47 df b1 85 49 72 4f 6f 70 e9 a3 3f 6d f2>,
- '/data/upload/265166cb-11cb-4a5f-aaa7-812cc002c274/c4/1f/c41f7708-5e6c-4ec2-b9c3-95c22c4ad0f5.JPG',
- '1EE6C8C7-E483-4CF3-9E44-B35CC12041FD/L0/001',
- '2d5e0b68511ab2469d6da56a9a65bb662b105988ae48bbec6dee66d17774992f',
- 2025-03-21T19:32:54.000Z,
- 2025-03-23T15:02:33.000Z,
- 2025-03-21T19:32:54.000Z,
- 'IMAGE',
- false,
- '0',
- 'timeline',
- 'IMG_6326.JPG'
- ]
- }
Add Comment
Please, Sign In to add comment