ImmichI
Immich8mo ago
NotKA13

Variables not found in the .env

Hello,

I'm diving into Immich setup and for the most part have found it pretty simple. I'm using docker compose and have the info in immich.yml file. When I try to run docker compse I get the following response:
kevarini@Bellona:~/docker/compose/bellona$ sudo docker compose -f immich.yml up -d
WARN[0000] The "DB_DATABASE_NAME" variable is not set. Defaulting to a blank string. 
WARN[0000] The "DB_DATA_LOCATION" variable is not set. Defaulting to a blank string. 
WARN[0000] The "UPLOAD_LOCATION" variable is not set. Defaulting to a blank string. 
invalid spec: :/var/lib/postgresql/data: empty section between colons


My immich.yml file:
see attached file

My .env file:
PUID=1000
PGID=1000
TZ="America/Los_Angeles"
USERDIR="/home/kevarini"
DOCKERDIR="/home/kevarini/docker"
DATADIR="/mnt/media"
DB_DATA_LOCATION="/home/kevarini/docker/appdata/immich"
DB_DATABASE_NAME=immich-postgres
UPLOAD_LOCATION="/mnt/media/immich"
HOSTNAME=bellona


I've validated the file path is correct, and scrutinized for silly typos. Any help would be welcomed.
Was this page helpful?