How to disable plugins in Confluence in 6.1+ using Java system properties

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

These parameters will be ignored and do not work as intended if clustering is enabled in Confluence even if it is a single node cluster. They work for Confluence Server and single node Confluence Data Center (without clustering).

目的

Confluence added the ability to disable all plugins at start-up using a command-line argument. If you would rather have this set permanently or launch Confluence as a service, you can configure it through Java CATALINA_OPTS  arguments.

ソリューション

  1. Use the appropriate method to set System Properties for your operating system from Configuring System Properties
  2. Make the following changes:
    • If Confluence is running on Linux or is launched manually on Windows using start-confluence.bat

      ここをクリックして展開...
      1. Comment out this line:

        CATALINA_OPTS="${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}"
      2. 次の行を追加します。

        CATALINA_OPTS="-Datlassian.plugins.startup.options='--disable-all-addons' ${CATALINA_OPTS}"
      3. Save setenv.sh (or setenv.bat)
    • If Confluence is running via a Windows service:

      ここをクリックして展開...
      1. Add the following line to the end of the Java Options field:

        -Datlassian.plugins.startup.options='--disable-all-addons'
      2. Click Ok Save
  3. Stop and Start the Confluence service
Last modified on Mar 4, 2025

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

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