How to resolve JIRA Subversion Plugin Errors after an upgrade
Symptoms
JIRA Subversion plugin does not work after an upgrade
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
- Stop JIRA.
Delete the
$JIRA_HOME/caches/indexes/plugins/atlassian-subversion-revisions/
directory (this will be rebuilt when JIRA is restarted).Ensure that the user account in which JIRA is running has write permissions to the
$JIRA_HOME/caches/indexes/plugins
directory.- Start JIRA.