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

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Summary

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.


Environment

Bamboo version 8+ running on Windows

Diagnosis

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)

Cause

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

Solution

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.

Last modified on Jun 9, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.