database location missing after update

Hi folks,
I recently updated my immich install as usual using docker compose pull, but first redownloaded the docker-compose and env files seeing as there were some breaking changes (it was a while since my last update). Now though it seems it doesn't launch
~/immich$ docker compose up -d
WARN[0000] The "DB_DATA_LOCATION" variable is not set. Defaulting to a blank string. 
invalid spec: :/var/lib/postgresql/data: empty section between colons


So I set the DB_DATA_LOCATION to a folder on my PC, and running it again generated the folder but when I open Immich it's as if i'm a new user.

How exactly do I connect it to the "old" database? I do take database backups on a schedule so nothing is terribly lost but I don't want to have to restore if I already have the existing database files somewhere that aren't being used.
I'm thinking I didn't properly upgrade or something, and I'm not sure how to continue. Any help would be really appreciated.

I'm using Arch Linux with docker compose.
Was this page helpful?