Installing new updates or hotfixes in Cloud/Liferay PaaS environment.

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:
     
    1. Find the tag for the version of Liferay you are updating to, on Docker Hub.
    2. In your repository, change the value of the liferay.workspace.docker.image.liferay property in liferay/gradle.properties to the new version’s tag:

      liferay.workspace.docker.image.liferay=liferay/dxp:7.3.10-ga1
       
    3. Add this environment variable to the env block in your repository’s liferay/LCP.json file:

      { "LIFERAY_UPGRADE_PERIOD_DATABASE_PERIOD_AUTO_PERIOD_RUN": "true" }
       
    4. Deploy the change to the desired environment’s liferay service.
    5. 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

Este artigo foi útil?
Utilizadores que acharam útil: 1 de 1