How to clear Confluence plugins cache
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
Purpose
To clear the Confluence plugins cache when it gets out of sync or corrupted.
Solution
- Shutdown Confluence.
- Ensure the user running Confluence has full read/write privileges to the confluence-home directory.
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)
- (Optional step) Reset all Confluence plugins back to their default state through the database.
- Start Confluence
If running Data Center, repeat all steps on each node one by one.
Related topics
- Confluence Home and other important directories
- Also see CONFSERVER-52749 - Getting issue details... STATUS