Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- I would like to know how to install new updates and hotfixes in Cloud/Liferay PaaS environment.
Environment
- Liferay DXP 7.4
- Liferay DXP 7.3
Resolution
-
In order to perform a successful upgrade, please follow these steps to update and deploy changes in your project repository:
- Find the tag for the version of Liferay you are updating to, on Docker Hub.
- In your repository, change the value of the
liferay.workspace.docker.image.liferay
property inliferay/gradle.properties
to the new version’s tag:liferay.workspace.docker.image.liferay=liferay/dxp:7.3.10-ga1
- Add this environment variable to the
env
block in your repository’sliferay/LCP.json
file:{ "LIFERAY_UPGRADE_PERIOD_DATABASE_PERIOD_AUTO_PERIOD_RUN": "true" }
-
Deploy the change to the desired environment’s
liferay
service. - For versions 7.3+ of DXP, if you do not intend to allow modules to upgrade when upgrading to new fix packs or service packs in the future, then remove the
LIFERAY_UPGRADE_PERIOD_DATABASE_PERIOD_AUTO_PERIOD_RUN
environment variable you previously added to the Liferay service’s Environment Variables page.
Additional Information
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar