Upgrade to Magento Community 1.9 (by SSH)

- Magento tips & tricks

Magento Community Edition has ben released. It contains multiple improvements over older versions. is a major release , so it’s very important not to miss it. In this post we will show you how to upgrade from previous Magento version to the new one. Don’t forget to try Magento CE upgrade in a test environment. The operation is not risky, but there is always a chance to break something.

upgrade magento to 1.9


1. Turn on maintenance mode. Create a testing development system similar to your existing production system.

2. Backup your directories and database. Make the full backup, as it can save you in case of any troubles.

3. Start the upgrade.

By using ‘./mage list-installed’ in the command prompt you get Magento modules listed as in the example:

Installed package for channel ‘community’ :
Installed package for channel ‘community’ :
Lib_Js_Ext stable
Lib_LinLibertineFont stable
Lib_Js_TinyMCE stable
Lib_Js_Calendar stable
Lib_Phpseclib stable
Lib_ZF   stable
Lib_Js_Prototype stable
Lib_ZF_Locale stable
Mage_All_Latest stable
Interface_Adminhtml_Default stable
Interface_Frontend_Default stable
Interface_Install_Default stable
Mage_Downloader stable
Mage_Centinel stable
Interface_Frontend_Base_Default stable
Phoenix_Moneybookers 1.3.2 stable
Mage_Compiler stable
Magento_Mobile stable
Mage_Core_Adminhtml stable
Mage_Core_Modules stable
Lib_Varien stable
Lib_Google_Checkout stable
Lib_Js_Mage stable
Mage_Locale_en_US stable
Lib_Mage stable

If something went wrong and Magento modules are not listed, you can use this command:

If they are listed, use

If everything is OK, a list of modules appears: ‘already installed’, ’package upgraded’. Don’t forget to set back permissions to normal:


4. Verification. Make sure that all third party extensions are compatible with your web store. After this you can upgrade to

5. Remove security flag. Use the hereinafter mentioned command: