[Nest] 17 - 08/16/2025, 12:14:39 PM LOG [Api:EventRepository] Websocket Connect: Q7muccLRtw_4LQe8AAAF [Nest] 17 - 08/16/2025, 12:14:44 PM ERROR [Api:LoggingRepository~l05h138q] Unable to send file: RangeNotSatisfiableError RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 17 - 08/16/2025, 12:14:44 PM ERROR [Api:GlobalExceptionFilter~l05h138q] Unknown error: RangeNotSatisfiableError: Range Not Satisfiable RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 17 - 08/16/2025, 12:14:45 PM ERROR [Api:LoggingRepository~fa9ycqka] Unable to send file: RangeNotSatisfiableError RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 17 - 08/16/2025, 12:14:45 PM ERROR [Api:GlobalExceptionFilter~fa9ycqka] Unknown error: RangeNotSatisfiableError: Range Not Satisfiable RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 17 - 08/16/2025, 12:14:59 PM ERROR [Api:LoggingRepository~49r1p8b2] Unable to send file: RangeNotSatisfiableError RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 17 - 08/16/2025, 12:14:59 PM ERROR [Api:GlobalExceptionFilter~49r1p8b2] Unknown error: RangeNotSatisfiableError: Range Not Satisfiable RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 17 - 08/16/2025, 12:15:02 PM ERROR [Api:LoggingRepository~sdse4zd5] Unable to send file: RangeNotSatisfiableError RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 17 - 08/16/2025, 12:15:02 PM ERROR [Api:GlobalExceptionFilter~sdse4zd5] Unknown error: RangeNotSatisfiableError: Range Not Satisfiable RangeNotSatisfiableError: Range Not Satisfiable at createHttpError (/usr/src/app/server/node_modules/send/index.js:866:7) at SendStream.error (/usr/src/app/server/node_modules/send/index.js:168:31) at SendStream.send (/usr/src/app/server/node_modules/send/index.js:554:19) at onstat (/usr/src/app/server/node_modules/send/index.js:615:10) at FSReqCallback.oncomplete (node:fs:198:5) at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) [Nest] 6 - 08/16/2025, 12:15:06 PM LOG [Microservices:TrashService] Queued 1 asset(s) for deletion from the trash Query failed : { durationMs: 7.162522999991779, error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" 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) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { severity_local: 'ERROR', severity: 'ERROR', code: '23505', detail: 'Key ("ownerId", checksum)=(2b4f5239-1677-4347-90e3-e50fff09e66f, \\xda39a3ee5e6b4b0d3255bfef95601890afd80709) 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", "type", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning *', params: [ '2b4f5239-1677-4347-90e3-e50fff09e66f', null, , '/usr/src/app/upload/upload/2b4f5239-1677-4347-90e3-e50fff09e66f/b5/fb/b5fb149c-3801-425b-8db6-81fd4206d782.JPG', 'web-IMG_0505.JPG-1755339368960', 'WEB', 2025-08-16T10:16:08.960Z, 2025-08-16T10:16:08.960Z, 2025-08-16T10:16:08.960Z, 'IMAGE', false, '0:00:00.000000', 'timeline', 'IMG_0505.JPG' ] } Query failed : { durationMs: 1.9534920000005513, error: PostgresError: duplicate key value violates unique constraint "album_asset_pkey" 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) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { severity_local: 'ERROR', severity: 'ERROR', code: '23505', detail: 'Key ("albumsId", "assetsId")=(b1f7c12a-3dc2-4dc5-bdba-2b18f80984c9, 98260a86-f82d-45b8-b00f-a5b8d62c20bc) already exists.', schema_name: 'public', table_name: 'album_asset', constraint_name: 'album_asset_pkey', file: 'nbtinsert.c', line: '663', routine: '_bt_check_unique' }, sql: 'insert into "album_asset" ("albumsId", "assetsId") values ($1, $2)', params: [ 'b1f7c12a-3dc2-4dc5-bdba-2b18f80984c9', '98260a86-f82d-45b8-b00f-a5b8d62c20bc' ] } [Nest] 17 - 08/16/2025, 12:16:09 PM ERROR [Api:ErrorInterceptor~62ndgeb5] Unknown error: PostgresError: duplicate key value violates unique constraint "album_asset_pkey" PostgresError: duplicate key value violates unique constraint "album_asset_pkey" 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) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) Query failed : { durationMs: 1.9578420000034384, error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" 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) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { severity_local: 'ERROR', severity: 'ERROR', code: '23505', detail: 'Key ("ownerId", checksum)=(2b4f5239-1677-4347-90e3-e50fff09e66f, \\xda39a3ee5e6b4b0d3255bfef95601890afd80709) 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", "type", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning *', params: [ '2b4f5239-1677-4347-90e3-e50fff09e66f', null, , '/usr/src/app/upload/upload/2b4f5239-1677-4347-90e3-e50fff09e66f/10/fe/10fe947d-e33e-446a-bb32-a8f257905864.JPG', 'web-IMG_0509.JPG-1755339368960', 'WEB', 2025-08-16T10:16:09.041Z, 2025-08-16T10:16:09.041Z, 2025-08-16T10:16:09.041Z, 'IMAGE', false, '0:00:00.000000', 'timeline', 'IMG_0509.JPG' ] } Query failed : { durationMs: 3.3563949999952456, error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" 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) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { severity_local: 'ERROR', severity: 'ERROR', code: '23505', detail: 'Key ("ownerId", checksum)=(2b4f5239-1677-4347-90e3-e50fff09e66f, \\xda39a3ee5e6b4b0d3255bfef95601890afd80709) 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", "type", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning *', params: [ '2b4f5239-1677-4347-90e3-e50fff09e66f', null, , '/usr/src/app/upload/upload/2b4f5239-1677-4347-90e3-e50fff09e66f/87/34/87340e2e-845b-4e0e-a0e4-79c0d7d79e9b.JPG', 'web-IMG_1036.JPG-1755339368960', 'WEB', 2025-08-16T10:16:09.044Z, 2025-08-16T10:16:09.044Z, 2025-08-16T10:16:09.044Z, 'IMAGE', false, '0:00:00.000000', 'timeline', 'IMG_1036.JPG' ] } Query failed : { durationMs: 3.9318979999952717, error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" 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) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { severity_local: 'ERROR', severity: 'ERROR', code: '23505', detail: 'Key ("ownerId", checksum)=(2b4f5239-1677-4347-90e3-e50fff09e66f, \\xda39a3ee5e6b4b0d3255bfef95601890afd80709) 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", "type", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning *', params: [ '2b4f5239-1677-4347-90e3-e50fff09e66f', null, , '/usr/src/app/upload/upload/2b4f5239-1677-4347-90e3-e50fff09e66f/5c/b1/5cb1ba61-6fd7-459e-ba2a-a7d934bbcdfd.JPG', 'web-IMG_1037.JPG-1755339368960', 'WEB', 2025-08-16T10:16:09.073Z, 2025-08-16T10:16:09.073Z, 2025-08-16T10:16:09.073Z, 'IMAGE', false, '0:00:00.000000', 'timeline', 'IMG_1037.JPG' ] } Query failed : { durationMs: 3.505471000011312, error: PostgresError: duplicate key value violates unique constraint "UQ_assets_owner_checksum" 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) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { severity_local: 'ERROR', severity: 'ERROR', code: '23505', detail: 'Key ("ownerId", checksum)=(2b4f5239-1677-4347-90e3-e50fff09e66f, \\xda39a3ee5e6b4b0d3255bfef95601890afd80709) 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", "type", "isFavorite", "duration", "visibility", "originalFileName") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) returning *', params: [ '2b4f5239-1677-4347-90e3-e50fff09e66f', null, , '/usr/src/app/upload/upload/2b4f5239-1677-4347-90e3-e50fff09e66f/63/44/6344dddf-e642-461f-9794-76961603e17a.JPG', 'web-IMG_1038.JPG-1755339368961', 'WEB', 2025-08-16T10:16:09.076Z, 2025-08-16T10:16:09.076Z, 2025-08-16T10:16:09.076Z, 'IMAGE', false, '0:00:00.000000', 'timeline', 'IMG_1038.JPG' ] }