Liferay Cloud Platform 5.X Service Stack Now Available

Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

On Dec 08th We've released a new major version of the Liferay PaaS Services Stack. The 5.x version is currently stable and customers are already using it. Customers who have transitioned to the Liferay PaaS 5.X Service Stack have reported decreased backup errors due to automatic retries, great reduction in downtime during restore, and a smooth upgrade process.

What’s in 5.x?

Reduced down-time while performing database restores: A new opt-in restore strategy is now available. Currently, as soon as the restore process begins, we take down Liferay and other services that depend on the database.

In the new Prepare and Swap strategy, we remove this need entirely. Instead, we restore both the database and document library backups into a fresh database instance and volume, respectively - without touching the existing services. If the restore is successful, we then switch to the new database instance and volume.

During tests our team identified a reduction of 95% of the downtime window. Now the downtime will last as long as it takes for Liferay DXP to restart.

Regional Database is now default: To minimize failover latency and improve resilience for database service, we’ve decided to upgrade all of our customers to the regional persistent disk mode and move away from legacy failover replica mode. Regional mode is now default on 5.x. Click here for details.

Improved support for WAF: Our webserver service image now contains the ModSecurity v3 Library installation and the necessary connector to integrate with Nginx. ModSecurity is an application-level security layer (WAF - Web Application Firewall) responsible for protecting applications against XSS and SQL Injection attacks. Click here to learn more about this feature.

Upgrading Your Liferay PaaS Services Stack

The Liferay PaaS workspace has configuration for each one of the components of a typical Liferay DXP environment. 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. See our documentation

Support for previous versions

While we will maintain the previous Liferay PaaS Services Stack for a while, it's important to upgrade as soon as possible in order to benefit from all the bug fixes and improvements. Once we define a timeframe to discontinue previous versions of the Liferay PaaS Services Stack we will announce a date to do so.

Detailed list of improvements

  1. Customization of upload retry parameters to Google Storage.

  2. Ability to export and import database data through CloudSQL Admin API.

  3. Option to prepare restore while keeping Liferay service up.

  4. Validation of backup restore strategy.

  5. Fix for chown error during backup service restart.

  6. Uploaded backup now displays in DR environment.

  7. Improved logging for "swap" backup restore strategy.

  8. Upgrading from old backup service no longer results in error trying to list files.

  9. Ability to create multiple backup requests at the same schedule.

  10. Faster and more straightforward directory deletion logic.

  11. Fix for vulnerability in Backup service third-party packages.

  12. ZIP utility now provided in service image.

  13. Python is now installed.

  14. First deployment no longer fails when project does not contain a 'dev' environment.

  15. Jenkins credentials no longer reset on restart.

  16. CI startup process is faster due to improved logic for mounted volume.

  17. Bumped version of BlueOcean plugin.

  18. Build-essential now installed.

  19. Database service now uses project environment SA.

  20. Warning message now displayed when database service is not started.

  21. Warning displayed when database instance disk size is bigger than requested size.

  22. Fix for error when setting database flag.

  23. Fix for database server not updating value of an existing MySQL flag.

  24. Authentication errors on database service are fixed.

  25. Vulnerabilities in Docker images for database and debian:9 packages are fixed.

  26. Alpine version updated from 15 to 16.

  27. Node now updated to alpine on database-service.

  28. Improved architecture for better isolation of service account-based resources.

  29. Ability to switch doclib format for a given project.

  30. Log formats for TOPS-96 now available.


  32. Improved backwards compatibility and use of DXP_VERSION in

  33. Default Metaspace for DXPC Liferay increased.

  34. Added JVM arg required for JDK11.

  35. Fixed mysqldump failure in Liferay-service.

  36. Fixed query string for mariadb change.

  37. Updated bash to alpine on Liferay-dxp.

  38. Added Elasticsearch 7.17.1 image.

  39. Mod_sec is now pulled and compiled into Nginx image.

  40. Use of $http_host in default log config instead of building the prefix with environment variables.

  41. Backend no longer displays as DOWN when HAProxy health check exceeds default value.

  42. Added 'application/javascript' mime/type to the list of valid gzip files.

  43. Fixed Docker image vulnerability in debian:10 package.

0 人中有 0 人觉得有帮助