Several operations fail in Jira with message: cannot initialize IndexWriter

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: 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 は除く

 

要約

Several operations in Jira may fail with the message "cannot initialize IndexWriter" in atlassian-jira.log. The message may reach the user in some cases, too.

Below's an example of the message in a Project Automation context (from Jira Service Management):


環境

All versions of Jira Core 8.x.


診断

To diagnose this, simply search for the "cannot initialize IndexWriter" in the logs. If it's present, this KB article's fit for your case.

Linux example command
grep "cannot initialize IndexWriter" $JIRA_HOME/log/atlassian-jira.log -c


原因

Jira cannot operate on it's Index properly. The root causes are still unknown, but we suspect external factor might be in play like antivirus software, backup jobs or other filesystem process that locks or changes the Jira index files or folder.


ソリューション

Simply restart Jira or the DC node printing these messages in the log. The restart shall restore Jira's sync to its Index and Jira shall operate as expected thereafter.



最終更新日: 2021 年 10 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.