UPLOAD LOCATION not working

The file path in the UPLOAD LOCATION is not working. The uploaded files are either in another different directory or dont even get shown in the web ui. Goal would be to mount my nas with nfs at that location where immich is storing its data.
6 Replies
Alex Tran
Alex Tran3y ago
If you can provide your setup we can then help taking alook
linux_typ
linux_typOP3y ago
immich-microservices: container_name: immich_microservices image: ghcr.io/immich-app/immich-server:release entrypoint: ["/bin/sh", "./start-microservices.sh"] volumes: - ${UPLOAD_LOCATION}:/home/linux/immich/data env_file: - .env depends_on: - redis - database - typesense restart: always immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:release volumes: - ${UPLOAD_LOCATION}:/home/linux/immich/data - model-cache:/cache env_file: - .env restart: always services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:release entrypoint: ["/bin/sh", "./start-server.sh"] volumes: - ${UPLOAD_LOCATION}:/home/linux/immich/data env_file: - .env depends_on: - redis - database - typesense restart: always In the .env file: UPLOAD_LOCATION=/home/linux/immich/data Docker Compose version v2.17.2
Alex Tran
Alex Tran3y ago
Please keep the default docker compose file The volume mount you modified in the docker-compose is incorrect The right side is the file system inside the container
linux_typ
linux_typOP3y ago
thanks for the help but i dont quite understant yet. where do i have to change the path?
jrasm91
jrasm913y ago
The volume mount is wrong You should not change the stuff to the right of the colon, which you have. You should not need to manually edit the compose file, just set the upload location environmeny variable
linux_typ
linux_typOP3y ago
ok thank you very much! i have it working now.

Did you find this page helpful?