The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Begoña Bonet
Contributor
June 15, 2015

Hi,

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?

Thanks

 

Begoña

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Boris Berenberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 16, 2015

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

Begoña Bonet
Contributor
June 17, 2015

Thanks Boris! It worked!

0 votes
Trevor Hunt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 30, 2018

A new, better solution is to disable via the command line as outlined in this article. This is particularly useful when restoring a dev instance from a prod backup.

0 votes
Andriy Yakovlev [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 17, 2015

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
Suyash Jain
July 14, 2017

Hi,

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.

Thanks

Suyash