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.

ソリューション

  1. Setup a new instance and ensure the setup is successful;
  2. Copy the bamboo.cfg.xml over to the old instance and make sure the license used is valid;
  3. 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.