Bamboo Database (PostgreSQL) setup wizard error - Ident authentication failed for user
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
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原因
This is an error that is coming from PostgreSQL.
ソリューション
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この内容はお役に立ちましたか?