Elastic Bamboo Configuration Missing after Upgrade
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
Summary
After Bamboo upgrade, the Elastic Configurations went missing from Bamboo UI.
Environment
Not applicable
Diagnosis
The user can see a similar message in atlassian-bamboo.log file:
1
2
3
4
5
6
7
8
9
10
11
12
13
ERROR [FileBasedPersister] Failed to save administration configuration data
com.atlassian.bamboo.persister.PersisterException: Failed to save administration configuration
at com.atlassian.bamboo.persister.xstream.XStreamAdminConfigPersister.saveConfiguration(XStreamAdminConfigPersister.java:88)
at com.atlassian.bamboo.persister.file.FileBasedPersister.saveAdministrationConfiguration(FileBasedPersister.java:249)
at com.atlassian.bamboo.configuration.AdministrationConfigurationPersisterImpl.saveAdministrationConfiguration(AdministrationConfigurationPersisterImpl.java:25)
at com.atlassian.bamboo.event.FeatureManagerStartupListener.handleEvent(FeatureManagerStartupListener.java:62)
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:42)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.lambda$null$0(AsynchronousAbleEventDispatcher.java:37)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
Caused by: java.io.IOException: File '<bamboo-home>/xml-data/configuration/administration.xml' cannot be written to
Cause
Bamboo user does not have write permissions on <bamboo-home>/xml-data/configuration/administration.xml file.
Solution
Stop Bamboo;
Grant write permissions to <bamboo-home>/xml-data/configuration/administration.xml file and make sure that Bamboo user is able to edit this file;
Copy the administration.xml file from a Bamboo backup and paste in <bamboo-home>/xml-data/configuration/administration.xml;
Start Bamboo
Was this helpful?