ImmichI
Immich9mo ago
alex

Change default upload drive in Windows

Hello, I have just started using immich, I'm very excited!

I am using Windows, I have installed immich using Docker Compose.

C: is an SSD and E: is a big HDD, so i want to upload my pictures to E:. Is there a simple way to do this?

I have read the docs about External Libraries, but i am not sure that's what I need. Here is what I have tried so far:

(1)
I have modified .env file to use:
- UPLOAD_LOCATION=/e/immich
- UPLOAD_LOCATION="E:/immich"

But neither work. If i leave UPLOAD_LOCATION=./library it works great. Any ideas?

(2)
ChatGPT said I should use this:

.env file:
UPLOAD_LOCATION=/immich/upload

docker-compose.yml:
immich-server: ... volumes: - type: bind source: "E:/immich" target: /immich/upload

But ofc it did not work 😅

(3)
I also tried the External Libraries feature. But if I leave everything as default and just add the - "E:/immich" line:
immich-server: ... - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro - "E:/immich"

Then it gives this error when doing
docker compose up -d
:
Error response from daemon: invalid mount config for type "volume": invalid mount path: 'E:/immich' mount path must be absolute
Was this page helpful?