khai
khai
IImmich
Created by khai on 12/8/2024 in #help-desk-support
Immich CLI upload issues as it doesn't appear to upload everything
user@localhost:/mnt/pics/$ podman run --privileged -it -v "$(pwd)":/home/import:ro -e IMMICH_INSTANCE_URL=http://192.168.1.123:1234/api -e IMMICH_API_KEY=$KEYS ghcr.io/immich-app/immich-cli:latest upload --album --include-hidden --concurrency 5 --recursive /home/import Crawling for assets... Hashing files | ████████████████████████████████░░░░░░░░ | 78% | ETA: 20206s | 16303 Hashing files | ████████████████████████████████████████ | 100% | ETA: 0s | 206952/ Checking for duplicates | ████████████████████████████████████████ | 100% | ETA: 0s | 206952/206952 assets Found 73766 new files and 133186 duplicates Uploading assets | █████████████████████████████████████░░░ | 92% | ETA: NFs | 38.3 GB/38.3 G Successfully uploaded 51943 new assets (35.3 GB) Skipped 21823 duplicate assets (3 GB) Creating albums | ████████████████████████████████████████ | 100% | ETA: 0s | 339/339 albums Successfully created 339 new albums Successfully updated 206952 assets Adding assets to albums | ████████████████████████████████████████ | 100% | ETA: 0s | 206952/ My question is, in the first iteration of hashing it says 133186 duplicates were already found, but while uploading it additionally skipped for 21823 assets citing duplicate and resulting on only uploads of 51943 new assets from 73766 new files initially detected during hashing. Could you kindly explain on what is happening and if this is normal? Also, from the reliability aspects of uploads from CLI tools, Is there some better way to verify all uploaded contents to get 100% assurance on uploaded assets? Regarding hashes, is there someway to preserve in logs or files too? Immich cli version using 2.2.34 and IMMICH server version v1.22.1
12 replies