Uploads failing because no space available

I did a fresh install of immich using docker-compose on Windows and set UPLOAD_LOCATION=/mnt/d/family-pics (I have WSL 2 integration) in the .env, and I’ve noticed some strange things: - my D:/ drive has a little less than 1TB free but on the webui it shows a max capacity of 3.8gb - when I upload media from the webui or using the CLI, it works until I start getting 500 internal error messages and it fails. checking the webui it shows that the 3.8gb has been filled and checking immich-server container logs it is showing that no space is available on disk - when checking D:/family-pics after the 3.8gb of uploads, it is empty If I were to make a guess, the media is being uploaded to within the container itself, and if so, why isn’t /mnt/d/ working?
5 Replies
keklead
kekleadOP2y ago
For reference this is my .env:
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/d/family-pics

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=some-random-text
DB_PASSWORD=postgres

# Log message level - [simple|verbose]
LOG_LEVEL=verbose

# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/d/family-pics

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=some-random-text
DB_PASSWORD=postgres

# Log message level - [simple|verbose]
LOG_LEVEL=verbose

# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis
Alex Tran
Alex Tran2y ago
Is mnt/d where you can access?
keklead
kekleadOP2y ago
it’s actually D:/ maybe I should put the windows path instead?
Alex Tran
Alex Tran2y ago
I mean the mount point at upload location environment variablr
keklead
kekleadOP2y ago
no it’s d:/family-pics that’s the root unless I’ve misunderstood your question yeah this fixed it

Did you find this page helpful?