添付ファイルの保管ディレクトリを変更する方法

お困りですか?

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

コミュニティに質問

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

目的

attachments ディレクトリを変更する必要がある場合があります。たとえば、ディレクトリを含むディスクのスペース領域が枯渇するような場合が考えられます。

ソリューション

 これを行うには、Confluence のホーム ディレクトリを変更するか、以降のステップを使用して attachments ディレクトリのみを変更します。

  1. Confluence を停止します。
  2. Confluence ホーム ディレクトリ全体と attachments ディレクトリをバックアップします。
  3. attachments ディレクトリを新しい場所に移動します。
  4. <confluence-home>/confluence.cfg.xml を編集し、attachments.dir プロパティが新しい場所を指すように変更します。

        <property name="attachments.dir">${confluenceHome}/attachments</property>
    If you use S3 object storage with Confluence Data Center, the attachment.dir property won’t work. On S3 object storage, attachments are always stored on the prefix /confluence/attachments.
  5. Confluence を起動します。


tip/resting Created with Sketch.

If you still see an "Attachment File Not Found" error when downloading attachments from Confluence after the attachments storage directory has been updated to the new location, try clearing your Browser Cache.

最終更新日: 2023 年 2 月 17 日

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

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