[SOLVED] (HTTP code 500) server error - error while creating mount source path

Greetings!

I am trying to install immich via docker on a Mac Mini M1, following the guide here https://immich.app/docs/install/docker-compose
I want to have my library on an external drive (HOMESERVER). I made no changes to the docker-compose.yml, only to the env file, to the UPLOAD_LOCATION (Below).

Always i get the same error : (HTTP code 500) server error - error while creating mount source path '/host_mnt/Volumes/HOMESERVER/ImmichDB': mkdir /host_mnt/Volumes/HOMESERVER: file exists

  • Docker has access to this location.
  • Tried //Volumes/ and /Volumes/, no change
  • The hard drive is empty. Tried to manually create the folder, create a new folder etc. no change
# You can find documentation for all the supported env variables at https://immich.app/d$

The location where your uploaded files are stored

UPLOAD_LOCATION=//Volumes/HOMESERVER/ImmichDB

The location where your database files are stored

DB_DATA_LOCATION=./postgres

To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from $

TZ=Etc/UTC


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

IMMICH_VERSION=release

Connection secret for postgres. You should change it to a random password

Please use only the characters A-Za-z0-9, without special characters or spaces

DB_PASSWORD=1234554321

The values below this line do not need to be changed

###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
Was this page helpful?