Confluence crashes due to insufficient disk space and truncated confluence.cfg.xml file
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
Confluence or the server on which it resides crashes. As a result, the confluence.cfg.xml file gets truncated to a zero kb file. In contrast, the other folders within <confluence-home> remain intact. The following appears in the atlassian-confluence.log
:
2008-01-07 10:07:05,918 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 2.6.0 (build #913)
2008-01-07 10:07:07,560 ERROR [main] [atlassian.config.bootstrap.DefaultAtlassianBootstrapManager] init 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.
2008-01-07 10:07:07,601 FATAL [main] [atlassian.confluence.setup.ConfluenceConfigurationListener] contextInitialized An error was encountered while bootstrapping Confluence (see below):
...
2008-01-07 10:07:09,315 FATAL [http-7000-Processor4] [confluence.setup.johnson.WebAppContextPathCheck] check Bootstrap did not initialize.
2008-01-07 10:07:09,340 FATAL [http-7000-Processor4] [confluence.setup.johnson.WebAppContextPathCheck] check Bootstrap did not initialize.
...
原因
The system ran out of disk space.
ソリューション
- Setup a new instance and ensure the setup is successful
- Copy the
confluence.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