dierochade
IImmich
•Created by dierochade on 10/25/2024 in #help-desk-support
Error on CLI import - TypeError: fetch failed
I try to upload using the cli. everythings seems good in the beginning:
root@b822b7a0e66c:/usr/src/app# immich upload --recursive /home/external/photos/christoph --album-name "Christoph" --dry-run
Crawling for assets...
Checking files | ████████████████████████████████████████ | 100% | ETA: 0s | 1482/1482 assets
Found 1482 new files and 0 duplicates
Would have uploaded 1482 assets (1.4 GB)
Would have created 1 new album
Would have updated albums of 1482 assets
But if I really do run the command the upload fails:
root@b822b7a0e66c:/usr/src/app# immich upload --recursive /home/external/photos/christoph --album-name "Christoph"
Crawling for assets...
Checking files | █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 11% | ETA: 39s | 168/1482 assets^C
root@b822b7a0e66c:/usr/src/app# immich upload --recursive /home/external/photos/christoph --album-name "Christoph"
Crawling for assets...
Checking files | ████████████████████████████████████████ | 100% | ETA: 0s | 1482/1482 assets
Found 1482 new files and 0 duplicates
Uploading assets | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% | ETA: 0s | 0/1.4 GB
and after some silent working/trying (depending on the size of the folder) gives me a
- /home/external/photos/christoph/weihnachten 2006/ulli/MVI_0131.avi - TypeError: fetch failed
- /home/external/photos/christoph/weihnachten 2006/ulli/MVI_0166.avi - TypeError: fetch failed
for every single item, concluding with:
Creating albums | ████████████████████████████████████████ | 100% | ETA: 0s | 0/0 albums
Successfully created 0 new albums
Successfully updated 0 assets
Adding assets to albums | ████████████████████████████████████████ | 100% | ETA: 0s | 0/0 assets
It might be unrelated,
but if i run the immich-cli docker container on my system, it gives me the standard output (manual) and then just exits mit error code 1?
I can mount these assets under the path given as external library, btw...
I am totally out of ideas what to do next to troubleshoot...
5 replies