Liferay Cloud Infrastructure

Voltar para Services Changelog

2021.01.19 Service Update 2021.3.1

Service Updates for Liferay Cloud Version 4

The services update to 2021.3.1 includes updates to the Backup service.

 

Known Issue: Upload Backup 

In version 4.2.0 uploading a database.tgz will result in a backup that is not able to be restored. The tgz file is uploaded with an incorrect extension that will process the file as a gz instead. A workaround for this issue is to upload the database file in gz format.

 

liferay/dxp docker image tags

In an ever evolving effort to provide the best support, the docker tags on liferay/dxp docker repository have changed. The new addition is a `-dx.y.z` designation (e.g. -d1.0.2), which provides information about any changes to the underlying docker scripts that are utilized by the image. The new tags on Dockerhub for liferay/dxp are formatted as follows

liferay/dxp:{Liferay.DXP.Version}-{Patching-Level}-{Docker.Script.Version}-{Timestamp}
liferay/dxp:7.2.10-dxp-7-d1.0.0-202009071842

When selecting which liferay/dxp base image to utilize for your project, please consider the entire docker tag, and be sure to check out the release notes for your patching level before applying to your environment: DXP Release Notes

 

Database Charset and Collation

The default charset is currently set to utf8, but since the database provider is based on mysql, this represents utf8mb3. This may pose a problem for projects that require higher order characters in the utf8 charset. The charset itself can be specified through an environment variable, but the default collation for utf8mb4 is utf8mb4_general_ci. In order to address issues with a mismatch between the recommended charset and collation, you can set the charset and collation through environment variables. If this is not specified then the charset will currently default to charset: utf8 (this is interpreted in mysql as utf8mb3) and collation utf8_general_ci.

LCP_GCP_DATABASE_CHARSET
LCP_GCP_DATABASE_COLLATION

Warning: Altering the charset and collation may have unintended consequences if done on an existing database schema. See https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-conversion.html for details on converting an existing schema to utf8mb4. Changing these values is only recommended when creating a new schema, since it may incur data loss.

 

Version Compatibility between 3 and 4

For details on service compatibility between version 3 and 4 please see release update 6/11/2020 Services Update 2020.24.1 or 5/28/2020 Services Update 2020. 22.1 

 

Feature Exclusion in Version 3 DXP Stack

Due to the deprecation process for the Version 3 DXP Stack, the 3.x service images will no longer receive feature updates. 

 

Version 4 DXP Stack 2021.3.1 

Service Name Previous Release Current Release Docker Images

Backup

4.1.1

4.2.0

liferaycloud/backup:4.2.0

CI

4.1.0

4.1.0

liferaycloud/jenkins:2.249.3-4.1.0

Database

4.1.1

4.1.2

liferaycloud/database:4.1.2

Liferay

4.1.0

4.1.0

liferaycloud/liferay-dxp:7.3-4.1.0

liferaycloud/liferay-dxp:7.2-4.1.0

liferaycloud/liferay-dxp:7.1-4.1.0

liferaycloud/liferay-dxp:7.0-4.1.0

Search

4.0.2

4.0.2

liferaycloud/elasticsearch:7.9.3-4.0.2

liferaycloud/elasticsearch:6.8.13-4.0.2

liferaycloud/elasticsearch:2.4.6-4.0.2

Webserver

4.0.5

4.0.5

liferaycloud/nginx:1.16.1-4.0.5

 

Version 4 Update Instructions

After upgrading your project using this guide, the Liferay Cloud image versions are no longer set inside of the gradle.properties file. They now need to be set inside of the <service>/LCP.json file. Note, however, that the liferay service uses two image properties. The DXP Cloud image is set in the liferay/LCP.json file, but the liferay/dxp image is set in the gradle.properties. This change was made in order to facilitate easier deployment using the Liferay Cloud CLI.

liferay/LCP.json file would set the liferaycloud/liferay-dxp image:

"image":"liferaycloud/liferay-dxp:7.3-4.1.0"

liferay/gradle.properties file would set the liferay/dxp image:

liferay.workspace.docker.image.liferay=liferay/dxp:7.3.10-ga1-d1.3.1-20201217114152

Once the LCP.json files are updated, commit the changes to your Git repository.

git add . && git commit -m "update dxp cloud stack to 2021.3.1"

After pushing these changes to the remote repository, a build will be created in Liferay Cloud, and it is ready to deploy.

Version 4 Change Log

Service Name Service Version Ticket Number Description

Backup

4.2.0

LCD-9684

Support database.gz files in backup service for backup uploads

LCH-2243

Use parallel implementation of gzip to speed up backup process

Database

4.1.2

LCH-2177

add LCP_GCP_DATABASE_COLLATION to configure database collation

 

On this page