How do I properly update or upgrade a eZ Publish installation

Step 1: Backup your existsing installation

Step 1.1: Backup database

Referr to this guide for dumping mysql.

Step 1.2: Store all files to a save place

cd ~ && tar -czvf private/archive.tgz httpdocs/* --exclude "*/cache/*"

Step 2: Upgrading eZ Publish

Go to http://ez.no/download/ez_publish and grab the link of the latest eZ Publish stable version.

wget http://ez.no/content/download/322720/3215300/version/2/file/ezpublish-4.3.0-light-with_ezc-gpl.tar.gz

Extract the contents of the package.

tar --strip-components=1 -xzvf  ezpublish-4.3.0-light-with_ezc-gpl.tar.gz

Now follow the upgrade guides on ez.no.

Note: If you have installed ezwebin or ezflow, you need to also follow the additional upgrades guides of those extensions.

Step 3: Remove backups

After the succesfull back delete your backups.

cd ~ && rm private/archive.tgz