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.24 installation to version 3.26.
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.
This upgrade guide assumes that the server requirements will be upgraded in-place, meaning the MySource Matrix system will remain in the same location.
If your system contains the Squiz Supported Version (SSV) 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.
Major version upgrades require you to delete all previous rollback data from your system. Rollback data is incompatible between major versions.
Ensure that you have a current backup of your existing system and rollback data before upgrading.
No editing should be taking place during a major version upgrade. Before starting the upgrade, first ensure that all editors are logged out of the 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.
During a major version upgrade, stale HIPO jobs should be removed from the system. Log into the MySource Matrix administration interface as root user and go to the HIPO Herder screen. Lock this screen and delete all HIPO jobs that are listed. Note that there may not be any stale HIPO jobs in the system.
You will need to disable searching from the Search Manager before you undertake this upgrade.
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.
If you use the Cron system, you will have set up an entry in a Crontab file. It is most likely that it would have been set up for the user Apache runs as, however this depends on your system configuration.
As the user the Crontab entry was installed to, run the following command:
$ crontab -e
Find the entry for Matrix, and add a hash ("#") to the front of the entry to comment it out:
# */15 * * * * php /home/websites/mysource_matrix/core/cron/run.php /home/websites/mysource_matrix
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-24-x $ tar -xzvf new_source.tar.gz $ cd mysource_matrix $ cp -pr /home/websites/mysource_matrix_3-24-x/data . $ cp -pr /home/websites/mysource_matrix_3-24-x/core/lib/DAL/Oven core/lib/DAL $ cp -pr /home/websites/mysource_matrix_3-24-x/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
Messages sent from the new Workflow Bundle asset type are sent as Internal Messages and asset Log messages only upon upgrade. These messages are for Workflow notifications when assets are approved from a Workflow Bundle (ie; not individually).
In order to receive these messages via email, the following Message Type must be added to the "Messaging Service Configuration" screen from System Management:
asset.workflow.bundle.*
Only run this step if your system has rollback enabled. If your system does not use rollback, you can safely skip this step.
Rollback entries should be reset between major versions. For instructions on how to reset rollback, see the MySource Matrix rollback management guide.
You can now re-enable your MySource Matrix system's entry in the Crontab in the reverse manner as you did to disable it: by editing the Crontab file and removing the comment (#) from the front of the entry.
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.
You can now re-enable indexing of your system. This can be done from the Search Manager.
The upgrade of your MySource Matrix system from version 3.24 to 3.26 is now complete.