How to clear Jira's plugin cache

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.

Summary


When performing major changes related to plugins, there are cases when the plugin shows inconsistent behavior or issues getting enabled during startup.

One of the possible reasons for this is due to problems with the plugin cache.

Solution

How you do this depends on whether you run Jira in a cluster. 

To clear the plugin cache in a Jira DC cluster, you'll need to perform a rolling restart of all cluster nodes:

  1. Stop Jira on the first node.
  2. Clear the plugin cache on that node by removing the following directories

    <jira-local-home>/plugins/.bundled-plugins
    <jira-local-home>/plugins/.osgi-plugins
    <jira_install>/work directory (just the contents, not the folder itself)
    <jira_install>/temp directory (just the contents, not the folder itself)

  3. Start Jira on that node.
  4. Repeat these steps for the remaining nodes. 

To clear the plugin cache in Jira Server:

  1. Stop Jira.
  2. Clear the plugin cache by removing the following directories

    <jira-local-home>/plugins/.bundled-plugins

    <jira-local-home>/plugins/.osgi-plugins
    <jira_install>/work directory (just the contents, not the folder itself)
    <jira_install>/temp directory (just the contents, not the folder itself)
  3. Restart your Jira application.



Last modified on Nov 2, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.