This section describes how to upgrade your existing eZ Publish 3.1-1 installation to version 3.2-1. If you are upgrading from a version prior to eZ Publish 3.1-1, you need to first upgrade to 3.1-1 before you can upgrade to 3.2-1.
Please make sure that you have a working backup of the site before you do the actual upgrade. The upgrade procedure consists of the following steps:
The easiest way to upgrade the distribution files is to unpack eZ Publish 3.2-1 to a directory and then copy the directories that contain site-specific files from the existing installation. Make sure that you copy the following directories:
Replace "example" and "example_admin" with actual names used by your siteaccesses.
If you are using custom extensions then the subdirectories inside the "extension" directory will also have to be copied. However, make sure that you do not overwrite any extensions that come with eZ Publish (for example the "PayPal" extension).
The following text describes how a 3.1-1 database can be upgraded to 3.2-1.
mysql -u<username> -p<password> <database> < update/database/mysql/3.2/dbupdate-3.1-1-to-3.2-1.sql
psql -d <database> -U <dbowner> < update/database/postgresql/3.2/dbupdate-3.1-1-to-3.2-1.sql
eZ Publish 3.2-1 supports sorting and filtering on attribute level. It is possible to sort and/or filter a list of content objects based on the values of a specific attribute (see the 3.2-1 changelog for more information). The "list" and "tree" fetch functions support this functionality. In order to be compatible with this new feature, you need to run the "updateattributefilter.php" script when upgrading:
php update/common/scripts/updateattributefilter.php
In addition, if you haven't run the "generateoverridesettings.php" script before (when upgrading to 3.1.0 rel1 or later), then it needs to be run for each of your siteaccesses when upgrading to 3.2-1 (replace "example" with the actual name of your siteaccess):
php update/common/scripts/generateoverridesettings.php -s example
The script will output a suggestion for the siteaccess "override.ini.append.php" file that needs to be created for the specified siteaccess. You should create a new file called "override.ini.append.php" in the "settings/siteaccess/example" directory (replace "example" by the actual name of your siteaccess) and copy the output provided by the script to this file.
You are not required to do any configuration changes when upgrading from 3.1-1 to 3.2-1.
Whenever an eZ Publish solution is upgraded, all caches must be cleared in a proper way. This should be done from within a system shell:
bin/shell/clearcache.sh --clear-all
Please make sure that all caches are cleared. Sometimes the script is unable to clear caches because of restrictive file/directory permission settings. Make sure that all caches have been cleared by inspecting the contents of the various cache subdirectories within the "var" directory.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.