How to change the Confluence License in confluence.cfg.xml file
目的
As a Confluence administrator, you might need to manually change the license directly in confluence.cfg.xml
file for any number of reasons including:
- アップグレードに失敗する
- ライセンスが破損している
- Confluence の UI でライセンスを変更できない
- など
ソリューション
If that is the case, please, follow below steps to achieve it:
- Install a new instance of Confluence using the same Confluence version.
- Be sure to use the license listed at https://my.atlassian.com
- 必要な情報はライセンス情報のみのため、この手順では組み込みの HSQL データベースを使用することができます。
- この新しいインストールを、ライセンスの適用先と同じサーバーで実行する必要はありません。
After you have completed all steps in the Confluence setup wizard, open this new instance's
<confluence_home>/confluence.cfg.xml
file.次のプロパティを確認します。
<property name="atlassian.license.hash">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</property> <property name="atlassian.license.message">yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy</property>
Confluence の一部のバージョンではハッシュ化されたライセンスが要求されません。これらのバージョンでは、
confluence.license.message
プロパティを編集します。- Copy these properties into the original
<confluence_home>/confluence.cfg.xml
file replacing the information already there - Confluence を起動します。
- この時点で、一時インスタンスを削除してかまいません。
最終更新日: 2023 年 10 月 18 日
Powered by Confluence and Scroll Viewport.