installing a confluence plugin via filesystem

We are trying to automate the construction of our Confluence server via Chef or Puppet. We are able to install our Jira plugins by copying them to a directory under jira-home. Is there a comparable directory for confluence type 2 plugins?

4 answers

1 accepted

This widget could not be displayed.

Looks like there is a way to load via the DB.

The plugindata table hold plugin metadata and the plugin binary

The bandana table holds the plugin state (enabled/disabled)

See also:

https://confluence.atlassian.com/display/CONFKB/How+to+manually+remove+malfunctioning+add-ons

This widget could not be displayed.
Ann Worley Atlassian Team Dec 12, 2013

Try <confluence_install>/confluence/WEB-INF/lib. That's my understanding from:

https://confluence.atlassian.com/display/DOC/Important+Directories+and+Files

I believe that's for type I plugins... but i'll give it a shot...

nope, didn't work. Any other idears?

Did you get anywhere with this?

Hey Tom,

Back in January I was working with an Atlassian support engineer on a separate issue. I asked about him about this issue. His response is below. I haven't had a chance to try it but will be doing so this week:

Hi Tom,
I also had a chance to catch up with the plugin dev team on being able to add plugins. Apparently, Confluence is out only application which cannot do this (which explains why I was unaware of the option). However, what is possible is adding the jar file to the confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip file which is where bundled plugins load from. Once there, the plugin will load on Confluences next restart.

Cheers,
Andrew Campbell
Atlassian Support, San Francisco

I just tried it and results were not as expected. Plugins do in fact get pulled in but ...

expected:

plugins get installed

plugins show in "manage add-ons" UI

plugin shows in "User-installed" add-ons

plugins can be enabled/disabled

plugins can be uninstalled

works with plugins deployed as .jar's and .obr's

actual:

plugins get installed

plugins show in "manage add-ons" UI

plugin shows in "System" add-ons

plugins can be enabled/disabled

plugins can NOT be uninstalled

works with plugins deployed as .jar's but NOT with .obr's

This widget could not be displayed.

I raised a SR with Atlassian and got this response:

Tom,

Unfortunately it is not possible to install plugins via the install directory. You can upload add-onsdirectly in the interface for via Marketplace.

Anything outside of those methods are unfortunately not supported by Atlassian.

Regards,
Shannon

This widget could not be displayed.
Yilin Mo Atlassian Team May 22, 2015

The workaround solution is to copy the jar or obr file to the folder "<Confluence instance>/confluence/WEB-INF/atlassian-bundled-plugins" that once Confluence restarted, it will load as a system plugin in the manage add ons list.

However, if you want to uninstall it, it is not possible to uninstall via UI, you need to :

# Remove the file from the "atlassian-bundled-plugins" folder
# Shutdown Confluence and clear the plugin cache before restart.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

33 views 5 3
Read article

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