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

s3Endpointパラメータがない場合、アップグレード中にS3Storeエラーが発生する。

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.

問題

  • アップグレード中に、 s3Endpoint パラメータが com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config ファイルで適切に設定されていないと、次のエラーが発生する可能性があります。
    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.IllegalArgumentException: java.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+

解決策

  • com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config ファイルを確認し、 s3Endpoint パラメータを設定してください。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base