index files are either missing or corrupted

I got the message :

"JIRA is unable to perform a background re-index at this time because the index files are either missing or corrupted."

I already re-indexed by locking JIRA but this message still appears...

What can I do ?

1 answer

0 votes

This sounds like the system is having problems writing to the index files.

I would want to read the logs for the system around the time it is trying to index and see what errors are physically happening.

However, whatever they say, you will probably end up with the same fix list:

  1. Check that the permissions on the index directories are correct
  2. Check you have enough disk space (at least twice the size of the current index free)
  3. If the errors in the logs are add-on related, then it's likely that you'll want to remove or fix the offending add-on
  4. Stop JIRA
  5. Move the whole index directory to somewhere safe
  6. Start JIRA
  7. A lot of it will look broken, but admin links will still work - perform another full index

That will recreate a clean set of indices without any blocking errors hopefully.

I tried your solution but I still got the same message error...

I looked in log file and found this :

"2017-06-29 16:24:38,265 http-bio-80-exec-18 WARN bvf 984x21682x1 7b60xt /secure/admin/jira/IndexAdmin.jspa [jira.issue.index.IndexConsistencyUtils] Index consistency check failed for index 'Comment': expectedCount=414488; actualCount=243768"

How can I correct the problem ?

Ok, that usually points to a broken add-on writing junk to the index.

Are there any errors thrown when action 7 is run on the list before?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

649 views 0 7
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