Magento Upgrade Methods

Upgrading Magento can be a little tricky. I would definitely advise testing out any upgrades on a development copy of your site, not applying updates directly to the live site without testing for problems first.

Being such a young platform, Magento is in a phase of rapid development. Inevitably this development will introduce bugs and issues. Hopefully these will generally be minor but even so, you would want to get them resolved before applying them to your live site.

That said, here are some ways to upgrade Magento:

1. Via Magento Connect Go to Magento Connect (System->Magento Connect in Admin Menu). Then in the extension key bit paste the following:


magento-core/Mage_All_Latest

2. Via Command Line (SSH Access Required)

If you have SSH access to your host, you can run the following commands to upgrade.


./pear mage-setup .
./pear install -f magento-core/Mage_All_Latest-stable 

3. Clean Install over Existing Database Finally you can download the latest package and install it, but point it at an existing Magento database. In theory it should then upgrade the Magento database to suit the current version. This method has not been that reliable for me though.


Tags: magentoupgrade