'FileNotFoundException No Segments File Found in org.apache.lucene.store.FSDirectory' Due to Index Directory Corruption

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

No issues are appearing after logging into JIRA. Logs (atlassian-jira.log) contain errors like this one:

http-8080-Processor17 ERROR [500ErrorPage] Exception caught in 500 page
java.io.FileNotFoundException: no segments* file found in 
org.apache.lucene.store.FSDirectory@C:\DATA\JIRA\issues: files:
org.apache.jasper.JasperException: java.io.FileNotFoundException: no segments* file found in 
org.apache.lucene.store.FSDirectory@C:\DATA\JIRA\issues: files:

Cause

  • This can happen if you restore a database backup to a new JIRA system.
  • Migrate to a different server.
  • After an upgrade.

Resolution

  1. Configure JIRA to utilize a new Index location under Administration > Indexing. If your dashboard does not appear, try pasting the URL directly to the administration page: http://YOUR_SERVER_URL/secure/admin/jira/IndexAdmin.jspa
  2. Click Full/Lock Reindex to rebuild the index


Last modified on Nov 20, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.