Bamboo Database (PostgreSQL) setup wizard error - Ident authentication failed for user
Symptoms
Bamboo shows the following error when trying to set up Bamboo to use a PostgreSQL database:
Error accessing database: FATAL: Ident authentication failed for user Bamboo
Cause
This is an error that is coming from PostgreSQL.
Resolution
Trying to connect to PostgreSQL from command line shows the same error message, which means that the issue is not caused by Bamboo. Follow the recommendation from this page: edit the /var/lib/pgsql/data/pg_hba.conf file
and change ident
to trust
, then restart postgres:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
host all all 105.52.84.50/32 trust
# IPv6 local connections:
host all all ::1/128 ident
Last modified on Nov 22, 2019
Powered by Confluence and Scroll Viewport.