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

learn-legacy-article-disclaimer-text

問題

  • アップグレード中に、 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