immich-cli upload failing

I'm trying to import photos using immich-cli, but it keeps failing at 85%. which container can I check the logs for to get more info?
5 Replies
Sergeant Harrelson
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current f]
root@immich:/home/admin/data/backups/photos_archive/bob_icloud# docker run -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key api_key --server http://192.168.3.20:2283/api
Unable to find image 'ghcr.io/immich-app/immich-cli:latest' locally
latest: Pulling from immich-app/immich-cli
8663204ce13b: Pull complete
d19b13245430: Pull complete
e4a0f03ce8f3: Pull complete
e319ab3d00f8: Pull complete
c097a9c08664: Pull complete
596df2728f7e: Pull complete
7d504dd10ea2: Pull complete
b1008cfb12ca: Pull complete
9d3ca1902f6d: Pull complete
882bbd427e4d: Pull complete
Digest: sha256:023a97dee605ba41dc61ce132e7814ebcd64843aeb01e844528467ed84802faa
Status: Downloaded newer image for ghcr.io/immich-app/immich-cli:latest
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 4225 local assets
Comparing local assets with those on the Immich instance...
A total of 3602 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current file [/import/
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current f]
root@immich:/home/admin/data/backups/photos_archive/bob_icloud# docker run -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key api_key --server http://192.168.3.20:2283/api
Unable to find image 'ghcr.io/immich-app/immich-cli:latest' locally
latest: Pulling from immich-app/immich-cli
8663204ce13b: Pull complete
d19b13245430: Pull complete
e4a0f03ce8f3: Pull complete
e319ab3d00f8: Pull complete
c097a9c08664: Pull complete
596df2728f7e: Pull complete
7d504dd10ea2: Pull complete
b1008cfb12ca: Pull complete
9d3ca1902f6d: Pull complete
882bbd427e4d: Pull complete
Digest: sha256:023a97dee605ba41dc61ce132e7814ebcd64843aeb01e844528467ed84802faa
Status: Downloaded newer image for ghcr.io/immich-app/immich-cli:latest
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 4225 local assets
Comparing local assets with those on the Immich instance...
A total of 3602 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current file [/import/
Alex Tran
Alex Tran2y ago
this is a bit of a misleading message, it shows A total of 3602 assets will be uploaded to the server and 3602/4225 is uploaded so it uploaded all the required files
Sergeant Harrelson
i see, nice eye for detail 🙂 thank you alex
Alex Tran
Alex Tran2y ago
No worry, we keep wanting to refactor the current cli with the new one but haven’t gotten a chance yet
Simulot
Simulot2y ago
@Sergeant Harrelson You may want to to try https://github.com/simulot/immich-go
GitHub
GitHub - simulot/immich-go: An alternative to the immich-CLI comman...
An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives. - GitHub - simulot/immich-go: An alterna...

Did you find this page helpful?