© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•6mo ago•
5 replies
QuickishFM

database location missing after update

Hi folks,
I recently updated my immich install as usual using
docker compose pull
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
~/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.
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Missing Location
ImmichIImmich / help-desk-support
8mo ago
Upload location and Database location
ImmichIImmich / help-desk-support
15mo ago
Missing Location info
ImmichIImmich / help-desk-support
9mo ago
Images mostly missing after update
ImmichIImmich / help-desk-support
14mo ago