Bamboo startup fails with error "Couldn't save bamboo-shared.cfg.xml to directory"
プラットフォームについて: 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 は除く
要約
Bamboo start failed with below error
fatal bootstrap Bamboo bootstrap failed: Couldn't save bamboo-shared.cfg.xml to <Bamboo-home>\shared\configuration directory
環境
This issue appeared on Bamboo 8.X deployed on a Windows server and running as a service but it may appear on other supported versions as well.
診断
Checking the <bamboo-home>logs>atlassian-bamboo.log we can find below error message
fatal bootstrap Bamboo bootstrap failed: Couldn't save bamboo-shared.cfg.xml to D:/bamboo-home\shared\configuration
Checking the Windows service log on user and checking if it has the correct permission to access Bamboo home directory
原因
The user running the service doesn't have the correct permissions to access Bamboo home directory
ソリューション
Make sure that the user running Bamboo service has the correct read/write permission to access Bamboo home directory