Bamboo startup fails with error "Bamboo bootstrap failed: Couldn't save bamboo-shared.cfg.xml"

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

要約

After a Bamboo upgrade, when starting Bamboo, the bootstrap fails with the below error on UI:

Bamboo bootstrap failed: Couldn't save bamboo-shared.cfg.xml to <BAMBOO_HOME>/shared/configuration directory.


環境

Bamboo version 8+ running on Windows

診断

The Bamboo User interface shows an error like the one below.

An error printed in the <BAMBOO_INSTALL_DIR>/logs/bamboo-stderror file regarding permission

Access Denied Errors
java.io.FileNotFoundException: D:\Bamboo\bamboo-home\logs\atlassian-bamboo-access.log (Access is denied)
	at java.io.FileOutputStream.open0(Native Method)
	at java.io.FileOutputStream.open(FileOutputStream.java:270)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
	at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
	at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)

原因

The user or the service account that is running the Bamboo doesn't have full read/write permission on the <BAMBOO-HOME> directory.

ソリューション

Please assign the user or the service-account that starts Bamboo has complete permission on the <BAMBOO_HOME> directory. Then, restart Bamboo and start the Bamboo setup process again. This should fix the issue if all the permissions are correctly set.

最終更新日 2023 年 6 月 9 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.