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 10.10.222.160 /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.

Robert

 

2 answers

1 accepted

Found the answer I needed

Fix

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

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

 

jira-home/caches/*
jira-installation/logs/*
ira-installation/temp/*
jira-installation/work/*
jira-home/plugins/.bundled-plugins/*
jira-home/plugins/.osgi-plugins/*
jira-home/tmp/*

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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,197 views 6 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot