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?
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%';
Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG