Manually Uploaded Plugins from Confluence Repository Client are Corrupted

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

2010-02-04 14:13:09,685 ERROR [http-443-4] [atlassian.plugin.loaders.ScanningPluginLoader] deployPluginFromUnit Unable to deploy plugin 'null', file Unit: D:\confluence\data\plugin-cache\1265310789404upload_14bb31bb_1269912ae5d_7f90_00000008.tmp (1265310789404)
– referer:

[https://confluence_url/admin/plugin-repository/upload.action?decorator=none]

| url: /admin/plugin-repository/upload.action | userName: Patrick Gisbey | action: upload
java.lang.IllegalArgumentException: The artifact URI

[file:/D:/confluence/data/plugin-cache/1265310789404upload__14bb31bb_1269912ae5d__7f90_00000008.tmp]

is not a valid plugin artifact
at com.atlassian.plugin.DefaultPluginArtifactFactory.create(DefaultPluginArtifactFactory.java:38)
at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:112)
at com.atlassian.plugin.loaders.ScanningPluginLoader.addFoundPlugins(ScanningPluginLoader.java:176)
at com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.addFoundPlugins(DatabaseClassLoadingPluginLoader.java:53)

Cause

This is a known bug in the plugin repository client, which by itself is a plugin. Refer to APR-90 for more information.

Resolution

Always backup your data before performing any modifications to the database.

  1. Remove this plugin from the database:

    select plugindataid,pluginkey,filename,lastmoddate from PLUGINDATA where filename like '%.tmp';
    delete from PLUGINDATA where plugindataid='<plugindataid>';
    

    (info) <plugindataid> is the plugindataid value returned by the select query.

  2. Clear the plugin cache - see How to clear Confluence plugins cache
  3. Start Confluence and re-install the add-on using the Universal Plugin Manager.  See Installing Marketplace apps for how to do this. 

See also How to manually remove malfunctioning add-ons.

Last modified on Oct 24, 2017

Was this helpful?

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