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

お困りですか?

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

コミュニティに質問

これは Confluence Server の機能です。これらのパラメータは、Confluence Data Center では動作しません。

目的

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 instead configure this 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
最終更新日: 2021 年 12 月 15 日

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

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