Error Occurs while Creating Attachment

お困りですか?

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

コミュニティに質問

症状

The following error show in the logs when attaching a file to an issue:

2009-11-23 10:15:37,371 TP-Processor94 ERROR [jira.issue.fields.AttachmentSystemField] Error occurred while creating attachment.
com.atlassian.jira.web.util.AttachmentException: Cannot write to attachment directory. Check that the application server and JIRA have permissions to write to: /usr/local/jira/attachments/NOV/NOV-83753
at com.atlassian.jira.util.AttachmentUtils.checkValidAttachmentDirectory(AttachmentUtils.java:109)

原因

Linux's ext3 file-system has a limitation of 32000 maximum sub-folders per folder. JIRA creates a sub-folder for each issue that has a file attachment. When running JIRA with this file-system, the system hits the maximum number of sub-folders and the above error is thrown.

回避策

  1. Create a sym link for some of the attachments
  2. 添付ファイルを削除する

ソリューション

The current solution is to change the file-system to ext4.

Last modified on Mar 12, 2024

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

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