Bamboo Crashes Due to Insufficient Disk Space and Truncated bamboo.cfg.xml File
症状
Bamboo or the server on which it resides crashes. As a result, the bamboo.cfg.xml
file gets truncated to a zero kb file. In contrast, the other folders within <bamboo-home>
remain intact. The following appears in the atlassian-bamboo.log
:
2011-05-09 13:32:06,318 ERROR [main] [DefaultAtlassianBootstrapManager] Home is not configured properly: com.atlassian.config.ConfigurationException: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
2011-05-09 13:32:06,324 FATAL [main] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below):
Unable to bootstrap Bamboo: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:63)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
at org.eclipse.jetty.server.Server.doStart(Server.java:243)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at com.atlassian.bamboo.server.Server.main(Server.java:77)
原因
The system ran out of disk space. This can also happen due to folder permissions.
ソリューション
- Setup a new instance and ensure the setup is successful;
- Copy the
bamboo.cfg.xml
over to the old instance and make sure the license used is valid; - Make the necessary changes such as the connection url to match the configuration in the older instance.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.