How to resolve JIRA Subversion Plugin Errors after an upgrade

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  1. JIRA Subversion plugin does not work after an upgrade

  2. Subversion commits tab shows the error Error rendering 'com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel'

The following appears in the atlassian-jira.log:

2012-04-03 08:09:10,649 http-8080-3 ERROR xxxxx 489x475x1 xxxxx 127.0.0.1 /browse/BUG-1 [jira.plugin.issuetabpanel.IssueTabPanelInvokerImpl] Exception thrown while trying to call getActions() for com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel (Show Subversion commits related to an issue in an issue tab panel.)

Cause

This is a specific error that relates to the indexing used in the plugin. Between versions, this indexing scheme was changed and it requires a reindex after the update.

 If there was no recent upgrade for the Subversion plugin, these instructions may not apply.


Resolution

  1. Stop JIRA.
  2. Delete the $JIRA_HOME/caches/indexes/plugins/atlassian-subversion-revisions/ directory (this will be rebuilt when JIRA is restarted).

    tip/resting Created with Sketch.

    There is a current bug in Subversion plugin and the index won't be rebuilt if the directory is not deleted. This is being tracked under SVN-399 and SVN-364.

  3. Ensure that the user account in which JIRA is running has write permissions to the $JIRA_HOME/caches/indexes/plugins directory.

  4. Start JIRA.
Last modified on Nov 12, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.