This guide will help you upgrade an existing MySource Matrix version 3.10.4 installation to version 3.10.5.
This upgrade requires you to have access to:
This guide assumes that your MySource Matrix installation is located at /home/websites/mysource_matrix. Please change any commands to the appropriate location if your installation is located elsewhere.
If your system contains the commercial or premium modules, please contact Squiz for updated versions of the modules before proceeding with the upgrade.
The modules must be upgraded at the same time as the core system.
Before starting any upgrade, always backup your MySource Matrix installation. See the MySource Matrix backup management guide for information on how to backup your MySource Matrix system.
The first thing you need to do is update the MySource Matrix source code. You can find out how to download the latest stable version of MySource Matrix on the installation page.
Once you have downloaded the source code, you need replace the existing code with the newer version. This will not reset any configuration options or remove any content from your system.
These steps assume MySource Matrix is installed at /home/websites/mysource_matrix and that a tar.gz archive with the new source code exists within /home/websites$ cd /home/websites $ mv mysource_matrix mysource_matrix_3-10-4 $ tar -xzvf new_source.tar.gz $ cd mysource_matrix $ cp -r /home/websites/mysource_matrix_3-10-4/data .
First, the system's installation scripts should be run to ensure the asset types and language translations are up to date.
$ php install/step_02.php /home/websites/mysource_matrix $ php install/step_03.php /home/websites/mysource_matrix $ php install/compile_locale.php /home/websites/mysource_matrix
If you use RSS Feed assets (found within the News package), please review date-related keywords within them. Previously, plain date keywords (such as %asset_published_date%) would be forced to follow the correct format for the feed type - either RFC 2822 (example: "Fri, 5 Jan 2006 16:12:50 +1100") for RSS 1.0/2.0 feeds, or ISO 8601 (example: "2006-01-05T05:12:50Z") for ATOM feeds.
The behaviour has been changed so that date keywords behave the same as in other assets, which means they are no longer forced into the correct format. Date keywords should use the proper suffix to ensure they are of the correct format. For example, to get the published date in RFC 2822 format (for use in RSS 1.0/2.0 format feeds), for instance, the keyword "%asset_published_date_rfc2822%" should be used instead. For ATOM feeds, use "%asset_published_date_iso8601%" to return the date in ISO 8601 format.
Your upgrade to MySource Matrix version 3.10.5 should now be complete.