Fisheye does not start due to "IndexFormatTooOldException: Format version is not supported "
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
問題
Fisheye cannot be started.
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.
原因
The Fisheye indexes are corrupted.
ソリューション
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