Published 2 months ago
Published 2 months ago
Ashok Lohiya
Updated 2 months ago
0
I’m facing an issue during a fresh SafeLine installation. Two containers—safeline-luigi and safeline-mgt—keep restarting. When I check the logs, they show a PostgreSQL connection error (screenshots/logs attached).
Details
Installed following the official guide.
I edited the .env file and changed the POSTGRES_PASSWORD.
After starting the stack, the two containers enter a restart loop showing DB auth/DSN errors.
Questions


Ashok Lohiya
Updated 2 months ago
0

Ashok Lohiya
Updated 2 months ago
0
This is my (.env) setup.

jialong wang
Updated 2 months ago
After modifying the POSTGRES_PASSWORD, and executing docker compose down and docker compose up -d, is the problem still present?
yang chen
Updated 2 months ago
0
Run docker exec safeline-pg env | grep POSTGRES_PASSWORD to confirm that the password has been successfully applied to the container.
If not, check whether the environment variables of the mgt and luigi containers in /data/safeline/docker-compose.yaml contain MGT_PG=postgres://safeline-ce:${POSTGRES_PASSWORD}@safeline-pg/safeline-ce?sslmode=disable.
Ashok Lohiya
Updated 2 months ago
Thank you for the repying..
YES I Have done this:docker compose down and docker compose up d
Mentioned above environment variables of the mgt and luigi containers status disable there this need to be enabled??
This is the recently status:

issue is still same how can resolve this ??
jialong wang
Updated 2 months ago
It's really strange. Please check the logs of the safeline-pg to confirm the container is running normally.