Issue
- During upgrade, you might encounter the following error if the
s3Endpoint
parameter is not configured properly in thecom.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.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+
Resolution
- Please review your
com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config
file and set thes3Endpoint
parameter
Additional Information
- This issue should be fixed in a future fixpack or hotfix containing LPS-136069
- Amazon Simple Storage Service endpoints and quotas
- Setup Liferay’s document management with an Amazon S3 as a repository
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión