immich-go icon indicating copy to clipboard operation
immich-go copied to clipboard

Error: too many errors, aborting

Open elinaldo04 opened this issue 9 months ago • 5 comments

2025-05-19 21:04:40 ERR DownloadAsset, GET, http://192."edited"/api/assets/1ad727ff-1972-4b64-9dbc-40437463b285/original, 500 Internal Server Error Internal server error

2025-05-19 21:04:40 ERR DownloadAsset, GET, http://192."edited"/api/assets/629d04ed-c977-4ae0-98a5-0edd8b7e2b35/original, 500 Internal Server Error Internal server error

2025-05-19 21:04:41 ERR DownloadAsset, GET, http://192."edited"/api/assets/92280b89-1048-4d58-9287-97704c02f3c8/original, 500 Internal Server Error Internal server error

2025-05-19 21:04:41 ERR DownloadAsset, GET,http://192."edited"/api/assets/1ec842e6-9d28-42c1-b9f9-a6cd290749db/original, 500 Internal Server Error Internal server error

2025-05-19 21:04:41 ERR DownloadAsset, GET, http://192."edited"/api/assets/ff5af5af-755c-4cfa-9630-242a257e91f1/original, 500 Internal Server Error Internal server error

2025-05-19 21:04:41 ERR DownloadAsset, GET, http://192."edited"/api/assets/23be971b-1c29-4e31-b642-f2a695ffb627/original, 500 Internal Server Error Internal server error

2025-05-19 21:04:41 ERR too many errors, aborting Error: too many errors, aborting

elinaldo04 avatar May 20 '25 00:05 elinaldo04

[Nest] 16 - 05/19/2025, 8:41:11 PM ERROR [Api:GlobalExceptionFilter~wnpqsv12] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/27/99/2799385a-a1d0-4371-8565-f2442e7a12f6.HEIC' [Nest] 16 - 05/19/2025, 8:41:11 PM ERROR [Api:LoggerRepository~xiipp0nd] Unable to send file: Error Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/d4/90/d49075ca-623c-41ad-b2f1-d0d0e3e50405.HEIC' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/dist/utils/file.js:50:9) at async AssetMediaController.downloadAsset (/usr/src/app/dist/controllers/asset-media.controller.js:47:9) [Nest] 16 - 05/19/2025, 8:41:11 PM ERROR [Api:GlobalExceptionFilter~xiipp0nd] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/d4/90/d49075ca-623c-41ad-b2f1-d0d0e3e50405.HEIC' [Nest] 16 - 05/19/2025, 9:04:40 PM ERROR [Api:LoggerRepository~40wzrhmc] Unable to send file: Error Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/76/f1/76f12898-16fa-433f-996f-f8d4074dc52b.HEIC' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/dist/utils/file.js:50:9) at async AssetMediaController.downloadAsset (/usr/src/app/dist/controllers/asset-media.controller.js:47:9) [Nest] 16 - 05/19/2025, 9:04:40 PM ERROR [Api:GlobalExceptionFilter~40wzrhmc] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/76/f1/76f12898-16fa-433f-996f-f8d4074dc52b.HEIC' [Nest] 16 - 05/19/2025, 9:04:40 PM ERROR [Api:LoggerRepository~b4i0nrnu] Unable to send file: Error Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/f5/49/f549b819-4a44-4bee-a393-5fbba056977d.HEIC' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/dist/utils/file.js:50:9) at async AssetMediaController.downloadAsset (/usr/src/app/dist/controllers/asset-media.controller.js:47:9) [Nest] 16 - 05/19/2025, 9:04:40 PM ERROR [Api:GlobalExceptionFilter~b4i0nrnu] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/f5/49/f549b819-4a44-4bee-a393-5fbba056977d.HEIC' [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:LoggerRepository~xqopmkvv] Unable to send file: Error Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/14/f7/14f7fefd-d6ef-4f0a-9db1-4018c0ac6df7.HEIC' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/dist/utils/file.js:50:9) at async AssetMediaController.downloadAsset (/usr/src/app/dist/controllers/asset-media.controller.js:47:9) [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:GlobalExceptionFilter~xqopmkvv] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/14/f7/14f7fefd-d6ef-4f0a-9db1-4018c0ac6df7.HEIC' [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:LoggerRepository~9y1jq99g] Unable to send file: Error Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/7b/85/7b8531ef-33c3-4abb-8bc1-45e92f69b095.HEIC' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/dist/utils/file.js:50:9) at async AssetMediaController.downloadAsset (/usr/src/app/dist/controllers/asset-media.controller.js:47:9) [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:GlobalExceptionFilter~9y1jq99g] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/7b/85/7b8531ef-33c3-4abb-8bc1-45e92f69b095.HEIC' [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:LoggerRepository~a4qlj7b2] Unable to send file: Error Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/27/99/2799385a-a1d0-4371-8565-f2442e7a12f6.HEIC' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/dist/utils/file.js:50:9) at async AssetMediaController.downloadAsset (/usr/src/app/dist/controllers/asset-media.controller.js:47:9) [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:GlobalExceptionFilter~a4qlj7b2] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/27/99/2799385a-a1d0-4371-8565-f2442e7a12f6.HEIC' [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:LoggerRepository~1wgwo7gn] Unable to send file: Error Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/d4/90/d49075ca-623c-41ad-b2f1-d0d0e3e50405.HEIC' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/dist/utils/file.js:50:9) at async AssetMediaController.downloadAsset (/usr/src/app/dist/controllers/asset-media.controller.js:47:9) [Nest] 16 - 05/19/2025, 9:04:41 PM ERROR [Api:GlobalExceptionFilter~1wgwo7gn] Unknown error: Error: ENOENT: no such file or directory, access 'upload/upload/f4a659f5-8404-44e4-9a4b-ccb666cb6a29/d4/90/d49075ca-623c-41ad-b2f1-d0d0e3e50405.HEIC'

elinaldo04 avatar May 20 '25 00:05 elinaldo04

It looks the the function --on-server-errors OnServerErrorsFlag Action to take on server errors, (stop|continue| errors) (default stop) is avaliable just for upload, I'm trying to make an archive

root@pve:/mnt/pve/datacloud/immich-go# ./immich-go archive -h Archive various sources of photos to a file system

Usage: immich-go archive [flags] immich-go archive [command]

Available Commands: from-folder Archive photos from a folder from-google-photos Archive photos either from a zipped Google Photos takeout or decompressed archive from-immich Archive photos from Immich

Flags: -h, --help help for archive -w, --write-to-folder string Path where to write the archive

Global Flags: -l, --log-file string Write log messages into the file --log-level string Log level (DEBUG|INFO|WARN|ERROR), default INFO (default "INFO") --log-type string Log formatted as text of JSON file (default "text")

Use "immich-go archive [command] --help" for more information about a command.

elinaldo04 avatar May 20 '25 00:05 elinaldo04

Correct... It's in place for the upload command only.

In your case, errors comes when getting files from the server... This doesn't smell good!

If errors are silently ignored, your archive will miss some files.

On the other hand, they may be "normal" errors after bad manipulation and you want to get what's remaining on the server.

simulot avatar May 20 '25 10:05 simulot

*"Yes, you're right — I might miss a few files, but it's still better to lose some than to have no backup at all in my file system. The main issue is that some .HEIC files are missing. I'm not entirely sure why, but I can say these files have been quite frustrating, as they tend to create duplicate images on my server."

"My workaround was to start another instance of Immich and upload the files again, but the archive process is failing due to too many errors."

elinaldo04 avatar May 20 '25 20:05 elinaldo04

Correct... It's in place for the upload command only.

In your case, errors comes when getting files from the server... This doesn't smell good!

If errors are silently ignored, your archive will miss some files.

On the other hand, they may be "normal" errors after bad manipulation and you want to get what's remaining on the server.

Is possible include - - on-server-errors to archive as well?

elinaldo04 avatar May 26 '25 13:05 elinaldo04