#Image upload not complete using CLI

1 messages · Page 1 of 1 (latest)

real socket
#

The image upload is not complete when using the CLI to upload.

user@pc ~/p/g/s/T/CLI (main)> node bin/index.js upload --key KEYKEYKEY --server http://192.168.21.10:8083/api -d /home/user/output -t 16
Warning: deprecated option --directory used, this will be removed in a future release. Please specify paths with --recursive instead
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 24346 local assets
Comparing local assets with those on the Immich instance...
A total of 2903 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 11% || 2903/24346
Failed to upload 0 files  []
user@pc ~/p/g/s/T/CLI (main)> node bin/index.js upload --key KEYKEYKEY --server http://192.168.21.10:8083/api -d /home/user/output -t 16
Warning: deprecated option --directory used, this will be removed in a future release. Please specify paths with --recursive instead
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 24346 local assets
Comparing local assets with those on the Immich instance...
A total of 2903 assets will be uploaded to the server
user@pc ~/p/g/s/T/CLI (main)> 

As you can see the CLI stops uploading after the 2903 images are uploaded, as expected. However when starting the CLI again, it still finds the 2903 assets that don't match

#

Online I can see that I have 21445 assets uploaded, in the output folder there are 24346 which means exactly 2901 photos failed to upload which still doesn't match the 2903 exactly but get's me closer

#

I also now used -r as a CLI option instead of the depreacted -d which yields the same results