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

2 votes
Accepted answer

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

812 views 3 9
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