© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
18 replies
danielo515

CLI does not recognise already uploaded photos

I was using the CLI because I was told that it does the same checksums as the app, and I wanted to speed up the slow app upload. I made a backup of all my photos, and started uploading them all with the cli. At 55% it failed, and now if I start it again it's trying to upload again the same amount of pictures. Why is this? Why is it not performing the required checksums to ensure it does not upload the same thing twice?

immich upload --key api-key --server https://foto.url/api --recursive Camera 
Server status: OK
Checking credentials
Login status: OK
Successful authentication for user
Indexing local assets
Indexing complete, found 3761 local assets
Comparing local assets with those on the Immich instance
A total of 3761 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ████████████████████████░░░░░░░░░░░░░░░░ | 59% || 2247/3761 || Current file [/Users/danielo/2023-note8-backup/Camera/20220625_110509.mp4]node:events:490
      throw er; // Unhandled 'error' event
      ^
Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
Emitted 'error' event on TLSSocket instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v19.8.1

immich upload --key key --server https://foto.url/api --recursive Camera
Checking connectivity with Immich instance
Server status: OK
Checking credentials
Login status: OK
Successful authentication for user
Indexing local assets
Indexing complete, found 3761 local assets
Comparing local assets with those on the Immich instance
A total of 3718 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading
Upload Progress | 4/3761 || Current file 
immich upload --key api-key --server https://foto.url/api --recursive Camera 
Server status: OK
Checking credentials
Login status: OK
Successful authentication for user
Indexing local assets
Indexing complete, found 3761 local assets
Comparing local assets with those on the Immich instance
A total of 3761 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ████████████████████████░░░░░░░░░░░░░░░░ | 59% || 2247/3761 || Current file [/Users/danielo/2023-note8-backup/Camera/20220625_110509.mp4]node:events:490
      throw er; // Unhandled 'error' event
      ^
Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
Emitted 'error' event on TLSSocket instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v19.8.1

immich upload --key key --server https://foto.url/api --recursive Camera
Checking connectivity with Immich instance
Server status: OK
Checking credentials
Login status: OK
Successful authentication for user
Indexing local assets
Indexing complete, found 3761 local assets
Comparing local assets with those on the Immich instance
A total of 3718 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading
Upload Progress | 4/3761 || Current file 
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Syncing Recents from iOS but photos already uploaded with cli.
ImmichIImmich / help-desk-support
2mo ago
uploaded photos not appearing
ImmichIImmich / help-desk-support
4y ago
iOS app synced, but media already uploaded via CLI
ImmichIImmich / help-desk-support
3y ago
Immich update breaks uploaded photos
ImmichIImmich / help-desk-support
7mo ago