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
Thanks for the recommendation, I would probably need to check that out if there was indeed some limitations or known issues with IMMICH CLI tools.
12 replies
IImmich
•Created by khai on 12/8/2024 in #help-desk-support
Immich CLI upload issues as it doesn't appear to upload everything
I am not entirely sure, probably there are some. So it would have been best if I could verify those. I am also wondering if there is some way to check out the reliability of these uploads too, as I am not being entirely confident over the uploads due to several issues I am facing atm.
12 replies
IImmich
•Created by khai on 12/8/2024 in #help-desk-support
Immich CLI upload issues as it doesn't appear to upload everything
this is the fourth iteration to verify if there was still anything leftover, but nothing showed up. There was no any network,server,disk related known issues. So, is there any known issues with large file size upload or restrictions via cli?
user@localhost:/mnt/pics2$ 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 --recursive /home/import
Crawling for assets...
Hashing files | ████████████████████████████████████████ | 100% | ETA: 0s | 4405/4405 assets
Checking for duplicates | ████████████████████████████████████████ | 100% | ETA: 0s | 4405/4405 assets
Found 0 new files and 4405 duplicates
All assets were already uploaded, nothing to do.
Creating albums | ████████████████████████████████████████ | 100% | ETA: 0s | 0/0 albums
Successfully created 0 new albums
Successfully updated 4405 assets
Adding assets to albums | ████████████████████████████████████████ | 100% | ETA: 0s | 4405/4405 assets
12 replies
IImmich
•Created by khai on 12/8/2024 in #help-desk-support
Immich CLI upload issues as it doesn't appear to upload everything
In this third iteration, it uploaded 3 items that failed from second iteration of cli run
user@localhost:/mnt/pics2$ 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 --recursive /home/import
Crawling for assets...
Hashing files | ████████████████████████████████████████ | 100% | ETA: 0s | 4405/4405 assets
Checking for duplicates | ████████████████████████████████████████ | 100% | ETA: 0s | 4405/4405 assets
Found 3 new files and 4402 duplicates
Uploading assets | ████████████████████████████████████████ | 100% | ETA: 0s | 12.9/12.9 GB
Successfully uploaded 3 new asset (12.9 GB)
Creating albums | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 albums
Successfully created 1 new album
Successfully updated 4405 assets
Adding assets to albums | ████████████████████████████████████████ | 100% | ETA: 0s | 4405/4405 assets
12 replies
IImmich
•Created by khai on 12/8/2024 in #help-desk-support
Immich CLI upload issues as it doesn't appear to upload everything
Also, another issue I noticed is this
During first iteration of uploads, cli did not uploaded all the assets and leftover 3 assets for some unknown reason. so this was the second run of cli to upload those remaining files
user@localhost:/mnt/pics2$ 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 --recursive /home/import
Crawling for assets...
Hashing files | ████████████████████████████████████████ | 100% | ETA: 0s | 4405/4405 assets
Checking for duplicates | █████████████
Found 5 new files and 4400 duplicates
Uploading assets | █████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 31% | ETA: 4h5m | 6.1 GB/19 GB
Successfully uploaded 2 new assets (6.1 GB)
Failed to upload 3 assets:
- /home/import/Summer/IMG_7006.MP4 - Error
- /home/import/Summer/IMG_6700.MP4 - Error
- /home/import/Summer/IMG_7005.MP4 - Error
Creating albums | ████████████████████████████████████████ | 100% | ETA: 0s | 0/0 albums
Successfully created 0 new albums
Successfully updated 4402 assets
Adding assets to albums | ████████████████████████████████████████ | 100% | ETA: 0s | 4402/4402 assets
12 replies