caezar
caezar
IImmich
Created by caezar on 4/11/2025 in #help-desk-support
TypeError: fetch failed on upload
I am trying to use the docker image immich-cli (v2.2.61) to upload files. It looks like I am able to connect to my server (v1.31.3) running on a local pi cluster. but I get an upload failure...
Crawling for assets...
Hashing files | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Checking for duplicates | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Found 1 new files and 0 duplicates
Uploading assets | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% | ETA: 0s | 0/115.8 kB
Successfully uploaded 0 new assets (0 B)
Failed to upload 1 asset:
- /import/klingons.jpg - TypeError: fetch failed
Crawling for assets...
Hashing files | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Checking for duplicates | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Found 1 new files and 0 duplicates
Uploading assets | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% | ETA: 0s | 0/115.8 kB
Successfully uploaded 0 new assets (0 B)
Failed to upload 1 asset:
- /import/klingons.jpg - TypeError: fetch failed
The logs say the following:
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor] GET /.well-known/immich 200 0.26ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor~0ii0lsmj] GET /api/users/me 200 2.97ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor~xc3ezc5m] GET /api/server/media-types 200 0.22ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor~tpeutmqs] POST /api/assets/bulk-upload-check 200 2.04ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM VERBOSE [Api:LoggingInterceptor~tpeutmqs] {"assets":[{"id":"/import/klingons.jpg","checksum":"b94fefb2e95501ddcb7fc182f99048e1117a5eeb"}]}
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor] GET /.well-known/immich 200 0.26ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor~0ii0lsmj] GET /api/users/me 200 2.97ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor~xc3ezc5m] GET /api/server/media-types 200 0.22ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM DEBUG [Api:LoggingInterceptor~tpeutmqs] POST /api/assets/bulk-upload-check 200 2.04ms 10.42.0.0
[Nest] 17 - 04/11/2025, 3:35:09 PM VERBOSE [Api:LoggingInterceptor~tpeutmqs] {"assets":[{"id":"/import/klingons.jpg","checksum":"b94fefb2e95501ddcb7fc182f99048e1117a5eeb"}]}
It doesn't matter the machine I use to run the container or the image folder. Edited (added version numbers above).
22 replies