How to clear the apps (plugins) cache in Confluence Data Center

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. 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

Summary

If the Confluence apps cache gets out of sync or corrupted, it can cause your apps to stop working correctly. This can affect the performance and stability of Confluence Data Center.

Steps to clear the apps cache

Repeat these steps on each node, one by one.

  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 app cache files only and will not permanently remove any apps. These directories will be recreated during the next Confluence startup.  However, some third-party apps 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. Start Confluence

When all nodes are done, you can optionally reset all Confluence apps back to their default state through the database if any of the apps are still generating lots of log errors or are not working correctly.

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

Cloud

Last modified on Mar 18, 2025

Was this helpful?

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