How to clear Confluence plugins 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.

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.

*Except Fisheye and Crucible

Purpose

To clear the Confluence plugins cache when it gets out of sync or corrupted.

Solution

  1. Shutdown Confluence.
  2. Ensure the user running Confluence has full read/write privileges to the confluence-home directory.
  3. Delete the following directories in the Confluence home directory:

    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 (in recent Confluence versions, you may not see this directory. It's safe to skip)
  4. (Optional step) Reset all Confluence plugins back to their default state through the database.
  5. Start Confluence

If running Data Center, repeat all steps on each node one by one.

Related topics
DescriptionTo clear the Confluence plugins cache when it gets out of sync or corrupted.
ProductConfluence
Platform

Cloud

Last modified on Oct 12, 2022

Was this helpful?

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