Bulk upload
This is my docker compose that I'm running on Unraid
I'm trying to bulk upload my photos with this command
https://immich.app/docs/features/bulk-upload
I get this error when I run the command (pics attached) The one with the api error is when I open http://10.10.40.170:8080/api from the browser, if I open http://10.10.40.170:8080/ it goes to the immich webui
Docker compose: https://0bin.net/paste/7EP22FkL#p8Pjgnws0fR9PeZXzGX2od08J12cB1GVAu0uQfFP6gP
Bulk Upload (Using the CLI) | Immich
You can use the CLI to upload an existing gallery to the Immich server
0bin - encrypted pastebin
0bin is a client-side-encrypted alternative pastebin. You can store code/text/images online for a set period of time and share with the world. Featuring burn after reading, history, clipboard.


22 Replies
The first command (
docker run
) is the correct one. What exactly is the IP address you're using? You want to use either the IP of the host (if it can be reached from inside docker), or the internal address of the immich_server container (see the "internal networking" note at https://immich.app/docs/features/bulk-upload#run-via-docker)Bulk Upload (Using the CLI) | Immich
You can use the CLI to upload an existing gallery to the Immich server
I was using the external one because I have the service publish with a fixed IP
I'm running the command from a host with a different IP (unraid host 10.10.10.5)
What's the address you use when opening Immich in a browser?
maybe I'm not exposing the API correctly or a port is missing in the compose or something
http://10.10.40.170:8080/photos
look at the compose
On the host where you're trying to upload from, what is the result of
curl http://10.10.40.170:8080/api
?{"statusCode":404,"message":"Cannot GET /api","error":"Not Found"}
OK, so it can connect
is the API using the same port than the web? `
Are you running the upload command on the same host that runs the Immich server?
yes
but they have different IP's
Can you try the internal networking approach that I linked above?
root@Unraid:~# docker run --network immich_immich_network -it --rm -v "/mnt/user/Personal/Photos:/import" ghcr.io/immich-app/immich-cli:latest upload --key zFM441pDb6olqipjSXk9Mt6ReUfCdfqw68oPHJMbY --server http://immich-server:3001/
Checking connectivity with Immich instance...
Error connecting to server - check server address and port
root@Unraid:~# docker network ls
NETWORK ID NAME DRIVER SCOPE
f23a2926d85c br0 macvlan local
ec0aaa5f1ae8 br1 macvlan local
72391f057422 br2 macvlan local
9d92a30cba28 bridge bridge local
e9dd950fda68 host host local
743ded536272 immich_immich_network bridge local
d6b3c4e95d2f nextcloud_nextcloud_network bridge local
b569099e9c21 none null local
root@Unraid:~#
I think the command is right
Might have to use
http://Immich-server:3001
since you changed the container name, not sure if casing matters heresame error
Can you try from another machine just to narrow down whether it's network or something else?

With the upload CLI, I mean
that means that it can't see /api right'
?
No, that's an error coming from the Immich API. A little confusing but it's actually good & expected
It just means the api doesn't do anything on just the
/api
pathwill try from other host

now I got another error
it works,sorry xD