Plugins mysteriously disappear after restart or plugins are missing once you have done a XML Restore

お困りですか?

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

コミュニティに質問

問題

Plugins are not available after restoring from an XML or Zip site backup or after a recent restart.

原因

1) This is a result of upgrading using the XML backup rather than the standard upgrade documentation or Production Backup Strategy. Plugins are not saved in the XML backup. See CONFSERVER-6856. If restoring to an existing Confluence instance, all previously installed plugins appear to remain installed after the restore, as they have already been loaded into the classloader and saved onto disk. However, after a restart, these will disappear as the disk is cleared and the plugins are loaded from the database.

2) If only some add-ons are missing and there are no logs tracing they was deleted, this is likely caused by a corrupted plugin cache.

ソリューション

1) Restore the plugins manually (from the plugin repository), or use the standard upgrade procedure. If restoring to an already functioning confluence site, immediately restart after restoring and reinstall the plugins.

2) Clear the plugin cache:

  1. Confluence をシャットダウンします。
  2. Confluence を実行しているユーザーに confluence-home ディレクトリへの完全な読み取り / 書き込み権限が割り当てられていることを確認します。
  3. 次のディレクトリを削除します。
    (warning) これはプラグイン キャッシュ ファイルのみを削除し、プラグインの完全な削除は行いません。これらのディレクトリは、Confluence の次回の起動時に再作成されます。ただし、サードパーティ プラグインによっては、このディレクトリにメタデータを格納している可能性があります。このため、ディレクトリの一時的なバックアップを作成しておくことをおすすめします。
    • <confluence-home>/bundled-plugins
    • <confluence-home>/plugins-cache
    • <confluence-home>/plugins-osgi-cache
    • <confluence-home>/plugins-temp
    • <confluence-home>/bundled-plugins_language
  4. Confluence を起動します。





























最終更新日 2020 年 7 月 17 日

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

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