January 5th 2015

eZ announces the availability of 5.3.4, a maintenance release available for all users of eZ Publish Platform 5.3 containing a notable few updates and fixes.

A newer release is available, rendering update instructions here obsolete and non working. Please see 5.3.x Update Instructions for always uptodate instructions for 5.3 releases.

 


Updating from a previous version of eZ Publish Platform 5.3

Update to 5.3.3 first before you continue with instructions below.

These instructions take advantage of the new Composer powered update systems in 5.3 for maintenance updates, so make sure you familiarize yourself with the Using Composer page.
For Upgrading from versions prior to 5.3 look at our Upgrading from 5.1 to 5.3 or Upgrading from 5.2 to 5.3 page.

1. Patch your composer.json file

For issue  composer.json should be edited in similar manner as below to take full advantage of the change.

diff --git a/composer.json b/composer.json
index ffe18af..ffe22b8 100644
--- a/composer.json
+++ b/composer.json
@@ -72,7 +72,7 @@
             "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
             "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
             "eZ\\Bundle\\EzPublishLegacyBundle\\Composer\\ScriptHandler::installAssets",
-            "eZ\\Bundle\\EzPublishCoreBundle\\Composer\\ScriptHandler::dumpAssets",
+            "eZ\\Bundle\\EzPublishCoreBundle\\Composer\\ScriptHandler::dumpAssetsHelpText",
             "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
             "eZ\\Bundle\\EzPublishLegacyBundle\\Composer\\ScriptHandler::installLegacyBundlesExtensions"
         ]
@@ -85,7 +85,9 @@
         "symfony-app-dir": "ezpublish",
         "symfony-web-dir": "web",
         "ezpublish-legacy-dir": "ezpublish_legacy",
-        "_symfony-assets-install_comment_": "One of 'symlink', 'relative' (symlinks) or 'hard'",
+        "___ezpublish-asset-dump-env": "To set environment used by dumpAssets script, like 'prod', or 'none' to skip",
+        "ezpublish-asset-dump-env": "",
+        "___symfony-assets-install": "One of 'symlink', 'relative' (symlinks) or 'hard'",
         "symfony-assets-install": "relative",
         "incenteev-parameters": {
             "file": "ezpublish/config/parameters.yml"

2. Updating Composer Packages selectively

With this command you'll only update packages from eZ (and Symfony) that have received updates since 5.3.0:

php -d memory_limit=-1 composer.phar update --no-dev --prefer-dist ezsystems/ezpublish-kernel ezsystems/demobundle ezsystems/ezpublish-legacy symfony/symfony
Note: Add "ezsystems/ezfind-ls" to the parameters to get latest version if you also use this extension.

3. [Optionally; for RHEL/CentOS] Update your cluster setup

Note: We are committed to continue supporting php-memcache for use with RHEL/CentOS 6.x on eZ Publish 5.3.x for some more sub releases, but highly recommend you start to plan migration to php-memcached as it solves several issues identified with php-memcache; no locking for sessions, limited support for persistence (Stash) cache settings & limited support for memcached capabilities compared to php-memcached which is built on top of libmemcached.

As part of  the recommendation for how to setup memcached for session use has been changed, this affects RHEL/CentOS installations which previously where documented to use php-memcache (default on RHEL/CentOS) instead of php-memcached. We now recommend using either php-memcached or PDO if you need database persistence, see the updated Clustering page as well as the updated Session page for more info.

For how to migrate to php-memcached:

# Remove php-memcache if you already have it installed
yum remove php-pecl-memcache.x86_64
# Install php-memcached from EPEL, adjust for 6.x version (doc for 5.4 with RHEL/CentOS 7.x describes using PECL, but that does not work with 6.x)
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install php-pecl-memcached -y
# Verify that you have "memcached" and not "memcache"
$ php -m | grep 'memcache'

Package updates

Here are the packages that have received an update as part of this releases:

packageversionprior version
ezsystems/ezpublish-kernel5.3.45.3.3
ezsystems/ezpublish-legacy5.3.45.3.3
ezsystems/ezfind-ls5.3.45.3.3

Other packages that have received update since 5.3.0:

packageversion
ezsystems/comments-bundle5.3.2
ezsystems/demobundle5.3.2
ezsystems/ngsymfonytools-bundle1.0.5
ezsystems/ezflow-ls-extension5.3.3.1
ezsystems/ezsurvey-ls5.3.3
ezsystems/ezcontentstaging-ls5.3.3
symfony/symfony>=2.3.19

 

Updates and fixes in this release