I
Immich2y ago
Joey

File does not exist within user's external path

Hello, I am facing a problem to import files: Here is my configuration, my env and the error files I use a usb HDD connected to my machine containing my photos The command I type on the immich_server container: immich upload --key <MY KEY> --server http://<IP ADDRESS>:2283/api --recursive /media/2TO_raid1/Photos/ --import Here is the permissions for one of the files: -rwxrwxrwx 1 root root 149514 Jan 6 2000 IMAG0008.JPG Can you help me please? Thanks
9 Replies
meerprat
meerprat2y ago
have you tried CLI tool?
meerprat
meerprat2y ago
https://immich.app/docs/features/bulk-upload this is how i use it: docker run -it --rm -v "/mnt/photos/zoink:/mnt/photos/zoink" ghcr.io/immich-app/immich-cli:latest upload --key 1Ekpikb0Izxzd2PAyteboneoW4ey8FKlSj9t4WGuko --server http://192.168.1.50:2283/api /mnt/photos/zoink --recursive --import
Bulk Upload (Using the CLI) | Immich
You can use the CLI to upload an existing gallery to the Immich server
Joey
JoeyOP2y ago
Yes, same thing It seems not taking the volume I give Not sure if its important but my linux system is debian, it is up to date I use the last version of docker and I use portainer Can I import my photos with External path where ? http://<IP_ADDRESS>:2283/admin/user-management
jrasm91
jrasm912y ago
Did you set the users external path from Admin > Users?
Joey
JoeyOP2y ago
It seems to work 👍 After the upload is complete I can delete the path on the web interface then my photos will still be on my account? I dont understant why I have to add the path although I already added it in my command line
ddshd
ddshd2y ago
To keep a user from importing files from someone else’s directory
jrasm91
jrasm912y ago
Yeah, we should update the docs to make this more clear - it is strictly a security related check.
Joey
JoeyOP2y ago
Ok no problem, thanks!

Did you find this page helpful?