Legacy Knowledge Base
Published Sep. 10, 2025

S3Store error during upgrade in case of missing s3Endpoint parameter

Written By

Dávid Hegedüs

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

  • During upgrade, you might encounter the following error if the s3Endpoint parameter is not configured properly in the com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config file:
    ERROR [Start Level: Equinox Container: 71c711d7-e9f1-4591-a549-44659b988645][S3Store:93] bundle com.liferay.portal.store.s3:5.0.31 (329)[com.liferay.portal.store.s3.S3Store(301)] : The activate method has thrown an exception 
    java.lang.IllegalArgumentExceptionjava.net.URISyntaxException: Expected authority at index 8: https://
        at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:197)
       at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:171)
       at com.amazonaws.AmazonWebServiceClient.toURI(AmazonWebServiceClient.java:329)
       at com.amazonaws.AmazonWebServiceClient.setEndpoint(AmazonWebServiceClient.java:317)
       at com.amazonaws.services.s3.AmazonS3Client.setEndpoint(AmazonS3Client.java:728)
    ...

Environment

  • Liferay DXP 7.0+

Resolution

  • Please review your com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config file and set the s3Endpoint parameter

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base