Legacy Knowledge Base
Published Sep. 10, 2025

How to fix "Store is not available" exception when using Amazon S3 for Liferay DXP 7.2 Fix Pack 13?

Written By

Katalin Györgyövics

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.

Issue

  • When setting up or upgrading to Liferay DXP 7.2 Fix Pack 13, files in Documents and Media are not available and/or new files cannot be added and the below error occurs in the log:
    WARN [http-nio-8080-exec-31][PortalImpl:6884] java.lang.IllegalStateException: Store is not available
    java.lang.IllegalStateException: Store is not available

    ...

    ERROR [http-nio-8080-exec-27][ImageImpl:69] Error reading image 906281
    java.lang.IllegalStateException: Store is not available

Environment

  • Liferay DXP 7.2 Fix Pack 13

Resolution

  • From Fix Pack 13 on, setting a Service Endpoint for the S3 store is mandatory in order to function properly.
  • To set a Service Endpoint go to System Settings > File Storage > S3 Store and set the S3 Endpoint belonging for the region where the S3 bucket is located.
  • Endpoints can be found here:
    https://docs.aws.amazon.com/general/latest/gr/s3.html
    It is the first entry in the Standard endpoints list that is needed. For example, if the region is us-east-1 then the endpoint should be s3.us-east-1.amazonaws.com, if it is eu-central-1, it should be s3.eu-central-1.amazonaws.com.

Additional Information

  • The same configuration can be set in com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config file by adding s3Endpoint parameter.
Did this article resolve your issue ?

Legacy Knowledge Base