Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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)
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.
So where do I locate this $INDEXDIR/plugins/ directory. I searched a lot for this, however, could not find it.
Regards,
Rahul Savaikar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look at $JIRAHOME/caches/indexes/plugins
Guido
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.