Service Updates for Liferay Cloud
The services update for 09/28/2023 is a minor update for Backup, Search and patch update for Database service.
DXP Cloud Stack - 09/28/2023
Service Name | Previous Release | Current Release | Docker Images |
Backup |
5.11.0 |
5.12.0 |
liferaycloud/backup:5.12.0 |
CI |
5.0.5 |
5.1.0 |
liferaycloud/jenkins:2.356-jdk8-5.1.0 |
Database |
5.1.5 |
5.1.6 |
liferaycloud/database:5.1.6 |
Liferay |
5.2.1 |
5.3.0 |
liferaycloud/liferay-dxp:7.4-5.3.0 |
Search |
5.1.1 |
5.2.0 |
liferaycloud/elasticsearch:8.9.2-5.2.0 liferaycloud/elasticsearch:7.17.13-5.2.0 |
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.12.0 |
LCD-30935 | Story: Increase default retries to ensure proper propagation of IAM permissions for successful Backup Creation * |
|
5.12.0 |
LCD-30936 | Story: [GCS only] Update verbosity of logging for GCS Backup operations |
Database |
5.1.6 |
LCD-30883 | Fix: Add Support to update the `max_allowed_packet` database flag |
Search |
8.9.2-5.2.0 |
Story: Add Liferay Cloud Image for Elasticsearch 8** | |
|
8.9.2-5.2.0 |
LCD-30355 | Story: Support Elasticsearch 8 on ECK [Liferay Cloud - Only] |
|
7.17.13-5.2.0 |
LCD-31328 | Security Fix: Upgrade Elasticsearch 7 to 7.17.13 due to CVE-2023-31418, CVE-2023-31419 |
Update Instructions
Note*: We have 2 Environment Variables associated with setting retries to ensure successful Backup Creation and Restore.
LCP_BACKUP_CREATE_DL_GCS_GSUTIL_MAX_RETRY_ATTEMPTS
LCP_BACKUP_RESTORE_DL_GCS_GSUTIL_MAX_RETRY_ATTEMPTS
As part of this ticket, we are updating the default of LCP_BACKUP_CREATE_DL_GCS_GSUTIL_MAX_RETRY_ATTEMPTS
to 10, such that there is no need to set this value specifically. The default of 10 for backup creation (without env var set) should allow backups to be created without error.
Note**: We are adding support for Elasticsearch 8 with this release. Please refer to the official DXP documentation on Upgrading to Elasticsearch 8 to be able to start using this image with your application stack.
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.
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.