Understanding Service Stack Versions
The Liferay Cloud service stack represents the major version of all of the services in your Liferay Cloud environment. Each individual service may have a different minor version, but they all share the service stack version (e.g., version 5.x.x). New service stack versions generally introduce a variety of new features (such as the addition of ModSecurity and changes to the backup service in version 5.x.x).
The version of the Liferay Cloud service stack itself is indicated by the major version of your services’ Docker images. This version is the last number that appears in the Docker image name.
For example, see this Docker image name for the liferay
service:
liferaycloud/liferay-dxp:7.4-5.8.0
The version of this image is 5.8.0
. This indicates that the service stack for this environment is at version 5.x.x.
Any Liferay Cloud environment displays the version of its services’ Docker images in various locations. You can check the service stack version of your environment by examining the number at the end of the displayed image name in any of these locations – including the environment’s Overview or Services pages, or each individual service’s page.
Verifying the Service Stack Version from the Repository
The version of each service is defined in the image
property, within each service’s LCP.json
file, contained in the folder named after the service. For example, see this section of an LCP.json
file for the database
service:
{
"kind": "Deployment",
"id": "database",
"image": "liferaycloud/database:5.0.0",
}
In this example, the image
property’s value has a name ending in 5.0.0
, indicating that the service stack is at version 5.x.x.
Upgrading your service stack to version 5.x.x
is recommended for access to the latest improvements.