Unable to see bundled macro after upgrade

お困りですか?

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

コミュニティに質問

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

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く



問題

After upgrading Confluence users are not able to see macro in the macro browser , eg: The Roadmap planner macro

The following appears in the atlassian-confluence.log

2015-06-03 19:11:48,840 ERROR [localhost-startStop-1] [plugin.osgi.util.OsgiHeaderUtil] getManifest Cannot get manifest resource from plugin artifact 'confluence-roadmap-plugin-12.3.2_1433309154000.jar': Cannot open JAR file: /var/atlassian/application-data/confluence/plugins-osgi-cache/transformed-plugins/confluence-roadmap-plugin-12.3.2_1433309154000.jar
2015-06-03 19:11:48,917 ERROR [localhost-startStop-1] [atlassian.plugin.loaders.ScanningPluginLoader] deployPluginFromUnit Unable to deploy plugin 'com.atlassian.confluence.plugins.confluence-roadmap-plugin' from 'Unit: /opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/confluence-roadmap-plugin-12.3.2.jar (1433309154000)'.
2015-06-03 19:11:48,935 ERROR [localhost-startStop-1] [atlassian.plugin.loaders.ScanningPluginLoader] deployPluginFromUnit Because of the following exception:
java.lang.IllegalArgumentException: File must be a jar: /var/atlassian/application-data/confluence/plugins-osgi-cache/transformed-plugins/confluence-roadmap-plugin-12.3.2_1433309154000.jar
	at com.atlassian.plugin.osgi.factory.transform.JarUtils.withJar(JarUtils.java:103)
	at com.atlassian.plugin.osgi.factory.transform.JarUtils.getManifest(JarUtils.java:38)
	...
Caused by: java.util.zip.ZipException: error in opening zip file

原因

The plugin cache is corrupted.

ソリューション

  1. Confluence をシャットダウンします。
  2. Confluence を実行しているユーザーに confluence-home ディレクトリへの完全な読み取り / 書き込み権限が割り当てられていることを確認します。
  3. Remove the following directories

    tip/resting Created with Sketch.

    This will remove the plugin cache files only and will not permanently remove any plugins. These directories will be recreated during the next Confluence startup.  However, some third-party plugins may store metadata in these directories, so we recommend creating a temporary backup of the directories.

    • <confluence-home>/bundled-plugins
    • <confluence-home>/plugins-cache
    • <confluence-home>/plugins-osgi-cache
    • <confluence-home>/plugins-temp
    • <confluence-home>/bundled-plugins_language
  4. Confluence を起動します。



最終更新日 2018 年 11 月 12 日

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

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