DiscussionSLA

INSTALLATION ERROR

Published 2 months ago

# SafeLine WAF

Published 2 months ago

profile_photo

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

  • If I change the database password in .env, do I also need to update it anywhere else
  • What is the most likely root cause of the restart loop in this scenario?

image.png

image.png

profile_photo

Ashok Lohiya

Updated 2 months ago

0

image.png

profile_photo

Ashok Lohiya

Updated 2 months ago

0

This is my (.env) setup.
image.png

profile_photo

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.

profile_photo

Ashok Lohiya

Updated 2 months ago

Thank you for the repying..

YES I Have done this:docker compose down and docker compose up d

  • and also password is sucessfully applied

Mentioned above environment variables of the mgt and luigi containers status disable there this need to be enabled??
This is the recently status:image.png
image.png

issue is still same how can resolve this ??

profile_photo

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.