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: 

  1. Install a new instance of Confluence using the same Confluence version.
    • Be sure to use the license listed at https://my.atlassian.com
    • 必要な情報はライセンス情報のみのため、この手順では組み込みの HSQL データベースを使用することができます。
    • この新しいインストールを、ライセンスの適用先と同じサーバーで実行する必要はありません。
  2. After you have completed all steps in the Confluence setup wizard, open this new instance's <confluence_home>/confluence.cfg.xml file.  

  3. 次のプロパティを確認します。

    <property name="atlassian.license.hash">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</property>
    <property name="atlassian.license.message">yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy</property>

    Confluence の一部のバージョンではハッシュ化されたライセンスが要求されません。これらのバージョンでは、confluence.license.message プロパティを編集します。

  4. Copy these properties into the original <confluence_home>/confluence.cfg.xml file replacing the information already there
  5. Confluence を起動します。
  6. この時点で、一時インスタンスを削除してかまいません。



最終更新日: 2023 年 10 月 18 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.