07/25/2023 - Service release updates

Service Updates for Liferay Cloud

The services update for 07/25/2023 is a minor update for Backup service and patch update for Database service.

DXP Cloud Stack - 07/25/2023

Service Name Previous Release Current Release Docker Images

BACKUP

5.7.0

5.8.0

liferaycloud/backup:5.8.0

CI

5.0.3

5.0.4

liferaycloud/jenkins:2.356-jdk8-5.0.4

DATABASE

5.1.2

5.1.3

liferaycloud/database:5.1.3

Liferay

5.2.0

5.2.1

liferaycloud/liferay-dxp:7.4-5.2.1
liferaycloud/liferay-dxp:7.3-5.2.1
liferaycloud/liferay-dxp:7.2-5.2.1
liferaycloud/liferay-dxp:7.1-5.2.1
liferaycloud/liferay-dxp:7.0-5.2.1

Search

5.1.0

5.1.1

liferaycloud/elasticsearch:7.17.9-5.1.1
liferaycloud/elasticsearch:6.8.23-5.1.1

Webserver

5.2.0

5.3.0

liferaycloud/nginx:1.21.6-5.3.0

Change Log

Service Name Service Version Ticket No. Description

Backup

5.8.0

LCD-26790

Enhance Backup Activity Info List

 

 

LCD-29003

Fix: On simple file system, creating a backup with no files can hang forever

 

 

LCD-28419, LCD-27274

Fix : Segregate internal restore processes for better restore reliability*

Fix : Restore backup process freezes

 

 

LCD-27708

Fix: Backup service does not retry when rate limit for 'cloud sql admin api' is reached

Database

5.1.3

LCD-28761

Security: Docker image vulnerability: database > openssl

Update Instructions

Note* : If a customer is running consistently into their Backup Restore process being stuck at a certain point. We recommend them to leverage the changes we made as part of this fix. There might be a bit of a performance impact, but this is a trade off for the Restore process to work reliably here.

We have introduced 2 Environment Variables in this solution -
  1. LCP_BACKUP_RESTORE_DL_DOWNLOAD_AND_EXTRACT_STRATEGY :  Set this to download-then-extract (REQUIRED for this solution)
  2. LCP_BACKUP_RESTORE_DL_DOWNLOAD_THROTTLE_BYTES_PER_SECOND :   This environment variable basically limits the speed at which the backup file gets downloaded before we restore it (by default this value is set to `20 * 1024 * 1024`(20Mib)). Recommended : To keep using the default value. We have noticed lower the value of the speed we have better chances of getting a successful download and hence successful restore.

If you are still running into issues after setting these Environment Variables, please open a customer support ticket and we can help you look into it.

Note : To take advantage of the new features and fixes provided by the 5.x stack of services, you must update your entire stack to the new 5.x images.

Note : All Features marked [Google Cloud Storage Only] or [GCS only] are part of a bigger future demand that is being currently worked on. These features wont be available to customers until Google Cloud Storage Enablement will be rolled out in future releases.

Image Update Instructions

The Liferay Cloud image versions needs 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.2-5.0.X"

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

liferay.workspace.docker.image.liferay=liferay/dxp:7.4-x

For all other images, you will just need to update the LCP.json file with the intended image version.

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

git add . && git commit -m "Update dxp cloud stack to XXX"

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

Was this article helpful?
0 out of 0 found this helpful