Immich - no pg_hba.conf entry for host

[Nest] 8 - 05/10/2024, 7:03:13 PM ERROR [ExceptionHandler] no pg_hba.conf entry for host "172.18.0.14", user "tipi", database "immich", no encryption Do I need to edit the postgresql or is this something I need to fix in the compose.yaml?
8 Replies
infinitevalence
infinitevalenceOP9mo ago
Logs attached
Nicolas
Nicolas9mo ago
Ouch Did they release a breaking update
infinitevalence
infinitevalenceOP9mo ago
i dont know first time I have tried to install it ok i have improved things, its saying the database does not exist `` WARN[0000] The "ROOT_FOLDER_HOST" variable is not set. Defaulting to a blank string. WARN[0000] The "DB_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "JWT_SECRET" variable is not set. Defaulting to a blank string. WARN[0000] The "APP_PORT" variable is not set. Defaulting to a blank string. WARN[0000] The "APP_DOMAIN" variable is not set. Defaulting to a blank string. WARN[0000] The "LOCAL_DOMAIN" variable is not set. Defaulting to a blank string. WARN[0000] The "LOCAL_DOMAIN" variable is not set. Defaulting to a blank string. WARN[0000] The "APP_DOMAIN" variable is not set. Defaulting to a blank string. WARN[0000] The "DB_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "JWT_SECRET" variable is not set. Defaulting to a blank string. WARN[0000] The "ROOT_FOLDER_HOST" variable is not set. Defaulting to a blank string. WARN[0000] The "ROOT_FOLDER_HOST" variable is not set. Defaulting to a blank string. WARN[0000] The "APP_DATA_DIR" variable is not set. Defaulting to a blank string. WARN[0000] The "DB_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "DB_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "APP_DATA_DIR" variable is not set. Defaulting to a blank string. WARN[0001] /root/runtipi/apps/immich/docker-compose.yml: version is obsolete so i changed the pg_hba.conf to allow the full docker network of 172.x to access now its connecting but is giving me a no database error tried to do a manual docker compose up just in case, no luck
Nicolas
Nicolas9mo ago
Wait, can you see the content of app-data/immich/app.env? Seems like some info is missing
infinitevalence
infinitevalenceOP9mo ago
nope, cant seem to find it
Nicolas
Nicolas9mo ago
Then you have a bigger problem than immich Your instance isn’t functioning properly
infinitevalence
infinitevalenceOP9mo ago
im not convinced that setting a custom folder destination works on every app
Nicolas
Nicolas9mo ago
How exactly have you installed it? What custom setup do you have? Maybe we can fix this

Did you find this page helpful?