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

This widget could not be displayed.

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!

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 5 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

23 views 0 2
Join discussion

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