© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•13mo ago•
27 replies
pekflyer

Can no longer access to postgres after system upgrade

I finally had time to upgrade the immich to the latest version, however, I was unable to use it at all. I looked around on this board and it seems a postgres password issue. I did not touch my .env filie at all since everything is running locally.
I have tried to exec to the postgres from the Terminal (on mac) and ALTEREd the password but still no luck. I also tried to restore the instance from a backup and still the same error.

#.env

The location where your uploaded files are stored

UPLOAD_LOCATION=/Volumes/Work/Photos/immich
THUMB_LOCATION=/Volumes/Work/Photos/immich/thumbs
ENCODED_VIDEO_LOCATION=/Volumes/Work/Photos/immich/encoded-video
PROFILE_LOCATION=/Volumes/Work/Photos/immich/profile

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 this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List

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
A-Za-z0-9
, without special characters or spaces

DB_PASSWORD=xxx

The values below this line do not need to be changed

###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
message.txt40.4KB
message.txt40.4KB
status.txt1.28KB
logs.txt40.4KB
status.txt1.28KB
logs.txt40.4KB
List of tz database time zones
This is a list of time zones from release 2024b of the tz database.
List of tz database time zones
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Timeline no longer appears after upgrade to v1.132.0
ImmichIImmich / help-desk-support
9mo ago
Timeline no longer appears after upgrade to v1.132.0
ImmichIImmich / help-desk-support
9mo ago
No longer able to access server
ImmichIImmich / help-desk-support
7mo ago
After updating to 2.2.2 i can no longer log in
ImmichIImmich / help-desk-support
4mo ago