Bamboo Database (PostgreSQL) setup wizard error - Ident authentication failed for user
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Bamboo shows the following error when trying to set up Bamboo to use a PostgreSQL database:
1
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:
1
2
3
4
5
6
7
8
9
10
11
# 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
Was this helpful?