A guide to upgrade Magento 1 to the latest version, on MDOQ.
- Web SSH configured
cd ~/htdocs && chmod +x ./mage; ./mage mage-setup; ./mage sync; \ ./mage sync-pear; ./mage config-set preferred_state stable ./mage list-upgrades ./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force;
N.B: Look out for any 'failed to delete' or permission issues. You can delete any files manually by doing
rm -r [file here] - e.g
rm -r var/package/blah.pkg
If you see any errors like 'Package blah conflicts with: blah', this can be ignored
4. Make sure
mage is still executable
chmod +x ./mage;
5. Install the upgrade
./mage upgrade-all --force
At this point Magento will now be on the latest version.
- You will need to test the site to confirm everything is well.
- You will need then to commit the newly installed files to source control