Cannot disable Usage Statistics Plugin Via the User Interface after Upgrading
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
Symptoms
After upgrading Confluence, the following appears in the atlassian-confluence.log
:
2010-08-16 22:46:24,071 ERROR [main] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'Check Confluence is not Clustered' of plugin 'com.atlassian.confluence.ext.usage'. Disabling.
com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: Error creating bean with name 'unclusteredOnly' defined in class path resource [x]: Invocation of init method failed; nested exception is java.lang.RuntimeException: This plugin cannot be used in a cluster.
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:79)
and there is no UI option to disable the plugin via the UI.
Cause
This plugin is not Data Center compatible, so it is automatically disabled on startup.
Resolution
To clear the error from the logs, delete the plugin from the database as in the following document: