Jira not starting if subversion plugin is installed

Hi,

I have imported the jira.xml from one instance to another, where both the instances were using Jira subversion plugin without any issues, but after the import I am unable to start the target Jirainstance and after removing the subversion plugin jar file from lib folder only I could start Jira.

Some repositories were configured in the source subversion of Jira instance and these repositories are not able to acces in the network of new Jira instance.

But I need to start Jira with subversion plugin, is there any way to delete all the configured repositries in subversion from backend (DB). I cant do it from UI because when Jira is not starting if I install subversion plugin..

Thanks in adnvance.. :)

3 answers

Don't know how to remove some of repositories, but you can find repository links(URLs) in database with this query

select *

from propertyentry, PROPERTYSTRING

where

(entity_name='jira.plugins.subversion.repo') and

(propertytype=5) and

(propertyentry.ID=PROPERTYSTRING.ID) and

(property_key='svn.root');

then change wrong URLs in property_string table. If you will change incorrect URLs to some of your SVN repositories, login will fail and jira will start anyway. After that you can fix situation from web interface.

If this is not working for you, you may using different jira or svn plugin version than I am...

HI Andris,

I dont want to use the existing subversion repos.. I need to delete all the existing ones..

I don't have syntax, but you should do following:

1. List all IDs from propertyentry where (entity_name='jira.plugins.subversion.repo')

2. delete rows from PROPERTYSTRING matching those IDs

3. delete rows from propertyentry where (entity_name='jira.plugins.subversion.repo');

Alternatively start Jira with -Datlassian.plugins.enable.wait=900 parameter. Wait 15 minutes. It should start, then you will be able to delete all repositories from GUI.

The problem is not in the data itself, it is in the data combined with the Atlassian's add-on. So, you may

1. Remove the old configuration as suggested by @Andris

or

2. Remove the plugin from JIRA by deleting it from your <JIRA_HOME>/plugins/installed-plugins directory.

Once JIRA is up you may:

1. Install the latest version of the Atlassian¡s plugin and then you should see the old repositories and delete them from the plugin GUI. However, if I remember it well, the plugin reads the configuration and starts indexing repositories synchronously just after enabling, so your plugin might not be fully enabled for several minutes.

or

2. Install Subversion ALM instead as it ignores the Atlassian's plugin configuration. This should work without any problem.

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 ...

2,760 views 11 18
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