Elastic Bamboo Configuration Missing after Upgrade
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:
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
Last modified on Mar 31, 2021
Powered by Confluence and Scroll Viewport.