Fisheye Scanning subversion repository Issues

We created a repository inside a Fisheye/Crucible and started scanning. While it was scanning, the system was restarted for weekend reboot. After the weekend reboot it stopped scanning and it is throwing following Exception. How do I rescan teh repo again..

com.cenqua.fisheye.rep.DbException: java.io.FileNotFoundException: /local/data/appdata/software/infra/apg/internal/Crucible_DATADIR/cache/globalfe/idx1/_13kq.cfs (No such file or directory)

at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:577)

at com.atlassian.fisheye.quicknav.QuickNavIndexer.deleteRepFromIndex(QuickNavIndexer.java:80)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.doCrossRepoRescanCheck(BaseRepositoryScanner.java:399)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:253)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:225)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184)

at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)

at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:383)

at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)

at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)

at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)

at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)

at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)

Caused by: java.io.FileNotFoundException: /local/data/appdata/software/infra/apg/internal/Crucible_DATADIR/cache/globalfe/idx1/_13kq.cfs (No such file or directory)

at java.io.RandomAccessFile.open(Native Method)

at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)

at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:76)

at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:97)

at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:98)

at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:78)

at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:67)

at org.apache.lucene.index.SegmentReader$CoreReaders.<init>(SegmentReader.java:115)

at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:605)

at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:622)

at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:597)

at org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:1002)

at org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:4566)

at org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:3756)

at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3595)

at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3585)

at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3459)

at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3534)

at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3505)

at com.cenqua.fisheye.lucene.LuceneConnection$IndexHandle.commit(LuceneConnection.java:146)

at com.cenqua.fisheye.lucene.LuceneConnection$IndexHandle.access$600(LuceneConnection.java:76)

3 answers

Hi Karanam,

The FishEye index is corrupted -- actually an index file has been removed on the reboot (/local/data/appdata/software/infra/apg/internal/Crucible_DATADIR/cache/globalfe/idx1/_13kq.cfs). Please proceed according described here:

- https://confluence.atlassian.com/display/FISHEYE/Re-indexing+your+repository

Best regards,
Lucas Timm

Hi Lucas,

Tried following the Re-indexing steps, but it does not work.

Regards,

Somnath

Could you elaborate on what "does not work" means?

This solution worked for me:

Delete the following folders and restart FishEye/Crucible

<FISHEYE_INST>/cache/globalfe
<FISHEYE_INST>/var/cache/<REPO_NAME>
Fisheye was able to re-create the cache files and re-scan the Repo.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 7 hours ago in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

30 views 0 3
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you