Plugin repository- does not display and Error in plugin manager

Hi

i am using Confuence 3.3.

Currently the Plugin repository screen does not display.

In the Plugin manager screen.

I have 2 installed plugins that display an error..There were errors loading this plugin.

The artifact URI file:/D:/Confluence/Data/plugin-cache/1336709009106upload__5599a884_12a48d04d3c__7f93_00000302.tmp is not a valid plugin artifact

How do I remove as when I attempt to uninstall .. It is unsuccessful..

org.springframework.orm.ObjectRetrievalFailureException: Object of class [com.atlassian.confluence.plugin.persistence.PluginData] with identifier [1336709009106upload__5599a884_12a48d04d3c__7f93_00000302.tmp]: not found

at com.atlassian.confluence.plugin.persistence.hibernate.HibernatePluginDataDao.getPluginData(HibernatePluginDataDao.java:25)

Thanks in advance

1 answer

Confluence stores installed plugins within the PLUGINDATA table in your database, then on startup, deploys them to a cache directory in your home folder. Since you're hitting error with a tmp (cache) file, you should be able to fix these errors by stopping Confluence and clearing out these directories so that they can be rebuilt:

<confluence-home>/plugin-cache
<confluence-home>/plugins-osgi-cache
<confluence-home>/plugins-temp
<confluence-home>/bundled-plugins
<confluence-home>/bundled-plugins_language

Hi

Thanks for the feedback,

I had to shutdown confluence. deleted files as mentioned

But On confluence startup it gives an error message that it is attempting to move the confluence.cfg.tmp file from somewhere and replace the original file in the home folder but it fails here and now returns to non-atomic overwrite.

Thanks for your assistance

That's a "normal" error on windows, IIRC.

Is there any way to resolve - or is this really not the problem since you say it is a normal error in windows.

You were referring to this WARN message right?

WARN [http-8091-2] [atlassian.config.xml.AbstractDom4jXmlConfigurationPersister] saveDocumentAtomically Unable to move C:\data\confluence42\confluence.cfg.xml5702483264679177867tmp to C:\data\confluence42\confluence.cfg.xml. Falling back to non-atomic overwrite.

If so, this message can safely be ignored and it is nothing to worry about.

Hi

Thanks for the information..

I did try clearing out the folders but the tmp file redisplays in the cache - folder. And the error is still displayed.

If clearing the cache didn't work, you might have a corrupt plugin in your database that's not deploying properly. Since it's using a hashed temp name for the plugin, it might be difficult to track down if you have a lot of installed plugins, but if you have an idea of which plugins that could be causing the problems, first try removing them from Confluence via the Plugins UI. If that doesn't work, you will need to remove the plugins manually.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

387 views 17 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you