JIRA cache problem

Hi all,

We are having trouble and working the weekend.  So I would really appreciate any response.

I am getting a failure on the cache directory for JIRA.  I removed the felix plugin caches but that didn't help.  

Will JIRA rebuild the $HOME/caches/ directory on reboot?

 Here is one of the errors:

2016-03-19 09:49:23,807 http-bio-8443-exec-56670 ERROR rnadon 589x1636686x1 flojz0 /rest/zephyr/latest/execution [zephyr.je.helper.ScheduleSearchResourceHelper] Error executing for ZQL:
com.atlassian.util.concurrent.LazyReference$InitializationException: com.atlassian.jira.util.RuntimeIOException: java.io.FileNotFoundException: /var/atlassian/application-data/jira/caches/indexes/JEEntity/schedule/_uqv.tis (No such file or directory)
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
at com.thed.zephyr.je.index.ZFJDefaultIndexEngine$ReferenceHolder.get(ZFJDefaultIndexEngine.java:306)
at com.thed.zephyr.je.index.ZFJDefaultIndexEngine.getSearcher(ZFJDefaultIndexEngine.java:136)
at com.thed.zephyr.je.index.ZFJDefaultManager.getSearcher(ZFJDefaultManager.java:42)
at com.thed.zephyr.je.index.ScheduleIndexerManager.getScheduleIndexSearcher(ScheduleIndexerManager.java:173)
at com.thed.zephyr.je.zql.core.LuceneSearchProviderImpl.search(LuceneSearchProviderImpl.java:114)
at com.thed.zephyr.je.zql.core.LuceneSearchProviderImpl.search(LuceneSearchProviderImpl.java:69)
at com.thed.zephyr.je.zql.core.SearchServiceImpl.search(SearchServiceImpl.java:73)
at com.thed.zephyr.je.helper.ScheduleSearchResourceHelper.getStepDefectCountBySchedule(ScheduleSearchResourceHelper.java:793)

THanks so much.



2 answers

1 accepted

Found the answer I needed


Please delete the Zephyr for JIRA indexes manually by following the below steps.


1) Stop your JIRA server 
2) Navigate to %JIRA Home%->caches->indexes. 
3) Delete the JEEntity folder (this is where the Zephyr for JIRA indexes are located) 
4) Start the JIRA server 
5) Re index Zephyr for JIRA from the JIRA UI like as usual.

Steven Behnke Community Champion Mar 19, 2016

Thanks for posting your answer!

I know you have answered your own question but no it won't auto index on reboot if you clear the cache directory.  You have to manually fire it.

some other practices I do when having issues like that are to clean out the following directories as well before rebooting.  some of these might be based on historical issues



I actually add these to my service caller as a "restart-clean" and "start-clean" option.  Forces a longer start up but it recompiles everything fresh.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 11 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

35 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