JIRA fails to restart after installing subversion plugin

We are trying to install the Atlassian Subversion plugin (0.10.11.1) with JIRA (version 5.2.4, download), but when we try to start JIRA back up, we get an error in the logs and it fails to start. We have tried it both with and without the subversion-jira-plugin.properties file in WEB-INF/classes and have tried with and without the entry "jira.option.ignore.url.with.key=false" in the jira-config.properties file. The error we are getting everytime is:

___ Plugin System Started _________________

2013-04-03 12:02:27,636 localhost-startStop-1 ERROR      [plugin.ext.subversion.SubversionManagerImpl] Connection to Subversion repository http://svn.atlassian.com/svn/public/contrib/jira/subversion-jira-plugin/samplerepo/ failed: org.tmatesoft.svn.core.SVNException: svn: E175011: Repository moved permanently to '/svn/public/contrib/jira/subversion-jira-plugin/samplerepo'; please relocate
svn: E175002: OPTIONS request failed on '/svn/public/contrib/jira/subversion-jira-plugin/samplerepo'
org.tmatesoft.svn.core.SVNException: svn: E175011: Repository moved permanently to '/svn/public/contrib/jira/subversion-jira-plugin/samplerepo'; please relocate
svn: E175002: OPTIONS request failed on '/svn/public/contrib/jira/subversion-jira-plugin/samplerepo'
        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:662)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:286)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:274)
        at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:696)
        at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:619)
...

Anyone have any suggestions?

2 answers

1 accepted

I figured it out. Here is what I found in case it helps someone else.

It turned out that tha subversion plugin was installed when JIRA was on a different server which was a while ago. When JIRA was moved to a different server, the plugin was never reinstalled but the plugin configuration stayed with the database. And besides the sample repository posted in my error message above, there were numerous more repositories configured that pointed to an SVN server that had been shut down. I thought JIRA was failing to start after it didn't seem to do anything after the error I posted above but really I just failed to wait long enough (I was doing this on a production system and was tryign to avoid having it down long). Turned out that it was just trying to connect to the other repositores, but couldn't since they didn't exists and was taking a while timing out each.

I restarted JIRA, let it sit for a while to let it go through the other repositories. Once it finally booted up, I was able to go into the administration tool and delete them all and setup the new ones.

Here is the code I used to see the configuration in the database:

select *
from propertyentry pe,
	 propertystring ps
where pe.id = ps.id
  and entity_name like '%subversion%';

Hi Grant,

This error happened because the test repository is no longer available... You can just remove this repository and set a new one from your company in Administration -> Subversion.

Best regards,
Lucas Timm

How do I access administration though if JIRA won't start back up after I've installed the plugin?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

85 views 0 5
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