Legacy Knowledge Base
公開されました Sep. 10, 2025

Liferay 7.2 dxp-13 から S3 ストアをセットアップする方法

Written By

Zalán Szakolci

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • ドキュメント (https://help.liferay.com/hc/en-us/articles/360018176151-Using-Amazon-Simple-Storage-Service) に従って S3 ストアをセットアップした後、ストアは利用できませんというエラーが表示されます新しいドキュメントを追加しようとするとスローされます:
  • java.lang.IllegalStateException: Store is not available

    at com.liferay.portlet.documentlibrary.store.StoreFactory.getStore(StoreFactory.java:116)

Environment

  • Liferay DXP 7.2 dxp-13 以降
  • Liferay DXP 7.3 SP1 以降

解決策

  • フィックスパック 13 以降、S3 ストアのサービス エンドポイントの設定は、ストアが適切に機能するために必須です。

    サービス エンドポイントを設定するには、システム設定 > ファイル ストレージ > S3 ストアに移動し、S3 バケットが配置されているリージョンに属する S3 エンドポイントを設定します。

    ここでエンドポイントを検索できます:
    https://docs.aws.amazon.com/general/latest/gr/s3.html
    標準エンドポイント リストの最初のエントリです。が必要です。 たとえば、リージョンが us-east-1 の場合、エンドポイントは s3.us-east-1.amazonaws.comである必要があり、iの場合は eu-central-1 です。、 s3.eu-central-1.amazonaws.comである必要があります。
Did this article resolve your issue ?

Legacy Knowledge Base