This documentation relates to an earlier version of Confluence.
View this page in the current documentation or visit the current documentation home.

Skip to end of metadata
Go to start of metadata

Confluence goes to some lengths to prevent itself being unusable due to a problematic plugin. However, sometimes a plugin will manage to do this anyway.

Plugin Loading Strategies

  1. Read through Plugin loading strategies in Confluence.
  2. Determine where your plugin is loaded. The usual options are:
    1. The PLUGINDATA table on the database
    2. The <confluence-home>/bundled-plugins folder
    3. The <confluence-home>/plugin-cache folder
    4. The <confluence-home>/plugins-osgi-cache folder
    5. The <confluence-home>/plugins-temp folder
    6. The <confluence-install>/confluence/WEB-INF/lib folder (deprecated approach)

Check these locations when troubleshooting plugin loading issues.

Icon
Deleting a plugin from the Database

To remove a plugin from Confluence when Confluence is not running:

  1. Connect to the Confluence database.
  2. Run the following SQL statement in your database:
  3. After you have found the plugindataid for the offending plugin, please run the following:
    where XXXXXX is the plugindataid value.
  4. Restart Confluence.
Deleting a Bundled Plugin
Bundled plugins can be administered from the Plugins console from Administration >> Plugins. You can upload or disable them there.


Bundled plugins are included in a zip of jars called atlassian-bundled-plugins.zip which is on the main Confluence classpath, in a resources directory - <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup. At Confluence startup, they are extracted and copied into the $CONFLUENCE_HOME/bundled-plugins directory, from whence they are loaded. To remove a bundled plugin (you shouldn't normally have to do this), remove the plugin from the atlassian-bundled-plugins.zip file and the bundled-plugins directory, otherwise Confluence will just put it back in place on the next startup. In versions later than 2.6, you'll have to recreate the .jar file (if the jar file is from the lib folder) or recreate the zip folder(if its in the classes folder). Bundled plugins can be upgraded or disabled.

If you need to remove a bundled plugin, check to see if you have duplicates in the <confluence-home>/bundled-plugins or <confluence-home>/plugin-cache directory.

Usually, the problem is that an old plugin is getting loaded along with the properly bundled one, but if you need to remove a bundled plugin, check Plugin loading strategies in Confluence.