Fisheye does not start due to "IndexFormatTooOldException: Format version is not supported "
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
Problem
Fisheye cannot be started.
The following appears in the atlassian-fisheye-YYYY-MM-DD.log
:
Invocation of init method failed; nested exception is com.cenqua.fisheye.rep.DbException: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource: ChecksumIndexInput(MMapIndexInput(path="<FISHEYE_INST>/cache1/cache/globalfe/idx0/segments_21t53"))): 0 (needs to be between -1 and -11). This version of Lucene only supports indexes created with release 1.9 and later.
Cause
The Fisheye indexes are corrupted.
Resolution
Resolution #1 - Restore from a backup (recommended)
Restore the Fisheye data from an available backup (see Backing up and restoring Fisheye data for details)
Resolution #2 - delete the cache
We suggest using this option only when a backup is not available. The cache will be regenerated by Fisheye after the startup.
- Please backup the full $FISHEYE_INST directory and the database before proceeding
- Make sure Fisheye is not running
- Remove the <FISHEYE_INST>/cache/globalfe/idx0 folder
- Start Fisheye