Subversion Revision Indexing Service Error

Subversion PluginError
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 15, 2011

The Subversion Plugin throws the following errors when the application starts, I have already searched with google but I didn't find any solution, can somebody help me out?

Stdout.log:
2011-11-16 10:51:36,499 QuartzWorker-1 ERROR ServiceRunner Subversion Revision Indexing Service [ext.subversion.revisions.RevisionIndexer] Problem with path C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions lockFactory=org.apache.lucene.store.SimpleFSLockFactory@949d89: files:
java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions lockFactory=org.apache.lucene.store.SimpleFSLockFactory@949d89: files:
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634)
2011-11-16 10:51:38,051 QuartzWorker-1 ERROR ServiceRunner Subversion Revision Indexing Service [ext.subversion.revisions.RevisionIndexService] Error indexing changes: com.atlassian.jira.issue.index.IndexException: Problem with path C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions lockFactory=org.apache.lucene.store.SimpleFSLockFactory@949d89: files:
com.atlassian.jira.issue.index.IndexException: Problem with path C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions lockFactory=org.apache.lucene.store.SimpleFSLockFactory@949d89: files:
at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.updateLastRevisionIndexed(RevisionIndexer.java:395)
2011-11-16 10:54:45,661 http-8080-3 ERROR admin 654x26x1 dg9w8w 127.0.0.1 /browse/TEST-1 [atlassian.jira.util.LuceneUtils] Problem with path C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions lockFactory=com.atlassian.jira.util.LuceneUtils$UtilConcurrentLockFactory@17845e3: files:
java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\plugins\atlassian-subversion-revisions lockFactory=com.atlassian.jira.util.LuceneUtils$UtilConcurrentLockFactory@17845e3: files:
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634)

Subversion Repositories:
Repository Root: http://localhost:8000/svn/test
Status: Active

Changeset Format: http://localhost:8000/viewvc?root=svn&revision=${rev}&pathrev=${rev}&view=rev
File Added Format: http://localhost:8000/viewvc${path}?root=svn&pathrev=${rev}
File Modified Format: http://localhost:8000/viewvc${path}?root=svn&pathrev=${rev}&view=diff&r1=${rev}&r2=${rev-1}&diff_format=h
File Replaced Format: http://localhost:8000/viewvc${path}/?revision=${rev}&view=markup&root=svn
File Deleted Format: http://localhost:8000/viewvc${path}?root=svn&pathrev=${rev-1}

System:
- VMLite XP Mode (VirtualBox modification)
- Subversion 1.7.1-2632.82 (CollabNet Subversion Edge 2.1.1-2632.82) (localhost:8000)
- Jira v4.4.3#663-r165197 (standalone internal DB) (localhost:8080) (evaluation)

5 answers

2 votes
Youri Tegelaers January 20, 2012

Stop JIRA and delete the $INDEXDIR/plugins/atlassian-subversion-revisions directory, then start JIRA again.

Make sure to delete the actual atlassian-subversion-revisions directory and not just its content!

Check that your JIRA user has write access to the plugins directory.

Rahul Savaikar December 19, 2012

So where do I locate this $INDEXDIR/plugins/ directory. I searched a lot for this, however, could not find it.

Regards,

Rahul Savaikar

Mark Symons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2012

Start by looking at "System Information" in Admin, and scroll down to "File Paths". For me, this gives:

/usr/local/jira/indexes

That is the value of $INDEXDIR that you are seeking.

Guido Grune December 19, 2012

Take a look at $JIRAHOME/caches/indexes/plugins

Guido

Rahul Savaikar December 19, 2012

Hello Mark and GuidoG,

I can only find 3 dirs under $JIRAHOME/caches/indexes/plugins

drwxr-x--- 2 scmadmprd scmadmprd 4096 Dec 20 17:17 comments

drwxr-x--- 4 scmadmprd scmadmprd 4096 Feb 12 2010 entities

drwxr-x--- 2 scmadmprd scmadmprd 4096 Dec 20 17:17 issues

Also, the location of the indexes is "Location of indexes: /var/scm_prd/jira/401/caches/indexes"

There is no "plugins" directory found.

I am using Jira 4.0.1 for your information.

Regards,

Rahul Savaikar

0 votes
Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2013

Lucene indexes corrupted? try this fork of the plug-in:

https://marketplace.atlassian.com/1211294

It simply throws away Lucene and replaces it by a relational database, among other enhancements.

0 votes
Ruth
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2012

I am also finding the same errors in my log file. Deleting the atlassian-subversion-revisions directory does not help; it never gets repopulated, even after waiting hours after restarting the service.

I have also checked to make sure the folder is writable. That was a good check to make. It is.

Does anyone have any other ideas? I'm at my wits end with this...

0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2012

We are using Jira Subversion plugin and subversion 1.7 without any issues. The compatability issue is with working copies. Jira itself does not need a working copy to get log information.

0 votes
Mark Symons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 20, 2012

You should also be aware that the JIRA Subversion plugin relies on SVNKit and SVNKit does not currently support Subversion 1.7. The svnkit.com website states:

However, SVNKit 1.7 is under development now and we plan to release it in February 2012. Fully functional beta will be ready in January 2012.

I would hope that the plugin is updated at that time (and also to support JIRA v5).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events