How can I deactivate an add-on by command line?


We have problems because after activating a plugin (Subversion plugin ALM) it has stated to indexing repositories and JIRA interface keeps locked for users. Thus we can't access as administrator to add-on management option to deactivate it.

It's possible to deactivate an add-on from command line?




2 answers

1 accepted

1 vote
Boris Berenberg Community Champion Jun 16, 2015

You can shut down JIRA, then remove the add-on from the <JIRA HOME>/plugins/installed-plugins folder.

Thanks Boris! It worked!

0 vote

Another method, more complex:
(!) Always backup your data before performing any modification to the database. If possible, try your modifications on a test server.

  1. Execute SQL query and find your plugin key

    SELECT * FROM pluginversion where pluginname like '%text%';
  2. Execute SQL query and disable plugin:

    INSERT into pluginstate (pluginkey, pluginenabled) VALUES ('&lt;pluginkey from query above&gt;','false');
  3. Restart JIRA


I can't locate table pluginversion in Confluence 5.8.4 as well as the latest v6.2.3. Has the approach changed or the table names are changed.




Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,310 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot