Service Updates for Liferay Cloud
The services update for 06/13/2023 is a minor update for Backup and Web server service and a patch update for CI service.
DXP Cloud Stack - 06/13/2023
Service Name | Previous Release | Current Release | Docker Images |
BACKUP |
5.3.2 |
5.4.0 |
liferaycloud/backup:5.4.0 |
CI |
5.0.3 |
5.0.4 |
liferaycloud/jenkins:2.356-jdk8-5.0.4 |
Database |
5.1.1 |
5.1.2 |
liferaycloud/database:5.1.2 |
Liferay |
5.2.0 |
5.2.1 |
liferaycloud/liferay-dxp:7.4-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.1.0 |
5.2.0 |
liferaycloud/nginx:1.21.6-5.2.0 |
Update Instructions
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.
Change Log
Service Name | Service Version | Ticket No. | Description |
Backup |
5.4.0 |
LCD-24770 |
Improve Backup Restore operation to handle API failures |
Webserver |
5.2.0 |
LCD-25776 |
Add capability to fine tune nginx proxy timeouts |
CI |
5.0.4 |
LCD-27036 |
Security : Fix Critical Vulnerabilities |
Note : If you need to configure Nginx proxy timeouts for your application, following environment variables are introduced.
Name | Default | Description |
LCP_WEBSERVER_GLOBAL_TIMEOUT |
60s |
LEGACY - just included for backward compatibility Sets values for the following nginx timeout configurations: proxy_connect_timeout proxy_read_timeout proxy_send_timeout This is a legacy variable that is only considered in case none of the other nginx timeout values are set ( |
LCP_WEBSERVER_PROXY_CONNECT_TIMEOUT |
75s |
Sets the nginx timeout value for connecting to haproxy / Liferay See nginx docs here: proxy_connect_timeout If this variable is set it will override any proxy_connect_timeout values set through |
LCP_WEBSERVER_PROXY_READ_TIMEOUT |
5m |
Sets the nginx timeout value for reading from haproxy / Liferay
See nginx docs here: proxy_read_timeout If this variable is set it will override any proxy_read_timeout values set through |
LCP_WEBSERVER_PROXY_SEND_TIMEOUT |
5m |
Sets the nginx timeout value for sending requests to haproxy / Liferay See nginx docs here: proxy_send_timeout If this variable is set it will override any proxy_send_timeout values set through |
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.