error=AssetUpload, POS
Background
Immich-go unexpectedly stopped uploading around a quarter of the way through uploading a large folder. Im not sure what this means
The issue
2025-06-01 17:44:08 ERR upload error file=Images - Unsorted:22471859_361960257565749_710230540_o_361960257565749.jpg error=AssetUpload, POST, http://192.168.4.54:30041/api/assets
Post "http://192.168.4.54:30041/api/assets": EOF
2025-06-01 17:44:08 ERR AssetUpload, POST, http://192.168.4.54:30041/api/assets
Post "http://192.168.4.54:30041/api/assets": EOF
2025-06-01 17:44:08 INF
2025-06-01 17:44:08 INF Input analysis:
2025-06-01 17:44:08 INF ---------------
2025-06-01 17:44:08 INF scanned image file : 16181
2025-06-01 17:44:08 INF scanned video file : 0
2025-06-01 17:44:08 INF scanned sidecar file : 0
2025-06-01 17:44:08 INF discarded file : 0
2025-06-01 17:44:08 INF unsupported file : 0
2025-06-01 17:44:08 INF file duplicated in the input : 47
2025-06-01 17:44:08 INF associated metadata file : 0
2025-06-01 17:44:08 INF missing associated metadata file : 0
2025-06-01 17:44:08 INF
2025-06-01 17:44:08 INF Uploading:
2025-06-01 17:44:08 INF ----------
2025-06-01 17:44:08 INF uploaded : 4334
2025-06-01 17:44:08 INF upload error : 1
2025-06-01 17:44:08 INF file not selected : 0
2025-06-01 17:44:08 INF server's asset upgraded with the input : 0
2025-06-01 17:44:08 INF server has same asset : 0
2025-06-01 17:44:08 INF server has a better asset : 0
2025-06-01 17:44:08 INF
2025-06-01 17:44:17 WRN Info file=Images - Unsorted:22472557_10156819668217627_1507688417_n_10156819668217627.jpg warning=can't read metadata: EOF
2025-06-01 17:44:22 WRN Info file=Images - Unsorted:22494592_10155700213310050_1971716039_o_10155700213310050.jpg warning=can't read metadata: EOF
2025-06-01 17:44:32 WRN Info file=Images - Unsorted:22497148_1872408102787038_387005394_o_1872408102787038.png warning=can't read metadata for this format '.png'
I'd more logs, especially with the --api-trace enabled.
It's could be the server is on its knees. I see you don't use the standard port. It may be a network issue
Thank you for the reply
I have changed the port to 2283.
I did try your suggestion but got an error
immich-go --log-level DEBUG --api-trace
Error: unknown flag: --api-trace
I tried again and it went ok for awhile and then i got this
2025-06-02 02:24:41 ERR open 183280_10150147508773760_1857559_n.jpg: The network path was not found. 2025-06-02 02:25:02 ERR Immich Job command sent resume=metadataExtraction err=SendJobCommand, PUT, http://192.168.4.54:2283/api/jobs/metadataExtraction Put "http://192.168.4.54:2283/api/jobs/metadataExtraction": dial tcp 192.168.4.54:2283: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Which pointed me to this `
| message | "Cannot GET /api/jobs/metadataextraction" |
| error | "Not Found" |
| statusCode | 404 |
| correlationId | "cdi6md05" |
Abit more info
Z:\Photos and Videos\To sort\Images - Unsorted>immich upload "Z:\Photos and Videos\To sort\Images - Unsorted" node:internal/deps/undici/undici:13510 Error.captureStackTrace(err); ^ TypeError: fetch failed at node:internal/deps/undici/undici:13510:13 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async p (file:///C:/Users/USER/AppData/Roaming/npm/node_modules/@immich/cli/dist/index.js:3137:12) at async e (file:///C:/Users/USER/AppData/Roaming/npm/node_modules/@immich/cli/dist/index.js:3089:16) at async Object.i [as fetchJson] (file:///C:/Users/USER/AppData/Roaming/npm/node_modules/@immich/cli/dist/index.js:3103:66) at async Object.y [as ok] (file:///C:/Users/USER/AppData/Roaming/npm/node_modules/@immich/cli/dist/index.js:3190:13) at async scan (file:///C:/Users/USER/AppData/Roaming/npm/node_modules/@immich/cli/dist/index.js:19629:28) at async upload (file:///C:/Users/USER/AppData/Roaming/npm/node_modules/@immich/cli/dist/index.js:19613:21) { [cause]: Error: connect ECONNREFUSED 192.168.4.54:2283 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1636:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.4.54', port: 2283 } }
Immich-go has a problem to reach the immich server... Can you share the logs? You can reach me via discord @simulot
I guess you did a mistake immich upload ... should be .\immich-go upload ....