FileNotFoundException for stats.properties when upgrading Confluence with the installer
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
When attempting to upgrade Confluence using the installer, the upgrade fails and the following error (or similar) appears in atlassian-confluence.log for the stats.properties file:
java.io.FileNotFoundException: /opt/atlassian-confluence-6.3.1/atlassian-confluence-x.x.x-x64.bin.xxxx.dir/stats.properties (No such file or directory)原因
This error occurs when the installer is placed inside the Confluence installation directory. When the installer runs, it creates a new directory called atlassian-confluence-x.x.x-x64.bin.xxxx.dir in the same directory as the installer, then removes the existing installation directory. If the installer is located within the installation directory, this new directory will be be removed as soon as it is created.
ソリューション
If the error above is in the logs, there's a good chance the Confluence installation directory has been removed. Roll back to a backup taken before the upgrade, then run the upgrade again with the installer outside of the Confluence installation directory.
この内容はお役に立ちましたか?