MySource Matrix has been superseded by Squiz Matrix. This site will remain available for archival purposes only; it is not intended as a current source of Matrix information. For all the latest on Matrix, including documentation and release information, visit the Squiz Matrix site.
This guide will help you upgrade an existing MySource Matrix version 3.28.0 installation to version 3.28.1.
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.
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.
At this point, you need to ensure that rollback is disabled before continuing. For help with disabling rollback, see the MySource Matrix rollback management guide.
Now, you need to 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 to 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-28-0 $ tar -xzvf new_source.tar.gz $ cd mysource_matrix $ cp -pr /home/websites/mysource_matrix_3-28-0/data . $ cp -pr /home/websites/mysource_matrix_3-28-0/core/lib/DAL/Oven core/lib/DAL $ cp -pr /home/websites/mysource_matrix_3-28-0/core/lib/DAL/QueryStore core/lib/DAL
Now, 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/compile_locale.php /home/websites/mysource_matrix $ php install/step_03.php /home/websites/mysource_matrix $ php install/compile_locale.php /home/websites/mysource_matrix
Implementations of the JS API which make calls to getChildren() may need to be re-assessed, as this function now returns NOTICE linked childen and non-dependant children separately, when previously they were grouped together. For example:
The old response:
direct_dependant_child => 1 direct_non_dependant_child => 6
The new response:
direct_dependant_children => 1 direct_non_dependant_children => 2 direct_notice_linked_children => 4
If you needed to disable rollback at the beginning of this upgrade, you may now re-enable it. For help with enabling rollback, see the MySource Matrix rollback management guide.
The upgrade of your MySource Matrix system from version 3.28.0 to 3.28.1 is now complete.