Upgrade to Magento Community 1.9 (by SSH)

- Magento tips & tricks

Magento Community Edition 1.9.0.1 has ben released. It contains multiple improvements over older versions. 1.9.0.1 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 1.9.0.1 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        1.8.1.0 stable
Lib_LinLibertineFont 2.8.14.1 stable
Lib_Js_TinyMCE    3.4.7.0 stable
Lib_Js_Calendar   1.51.1.1 stable
Lib_Phpseclib     1.5.0.0 stable
Lib_ZF            1.11.1.0 stable
Lib_Js_Prototype 1.8.0.0.4 stable
Lib_ZF_Locale     1.11.1.0 stable
Mage_All_Latest   1.8.1.0 stable
Interface_Adminhtml_Default 1.8.1.0 stable
Interface_Frontend_Default 1.8.1.0 stable
Interface_Install_Default 1.8.1.0 stable
Mage_Downloader   1.8.1.0 stable
Mage_Centinel     1.8.1.0 stable
Interface_Frontend_Base_Default 1.8.1.0 stable
Phoenix_Moneybookers 1.3.2 stable
Mage_Compiler     1.8.1.0 stable
Magento_Mobile    1.8.1.0.23.1 stable
Mage_Core_Adminhtml  1.8.1.0 stable
Mage_Core_Modules 1.8.1.0 stable
Lib_Varien        1.8.1.0 stable
Lib_Google_Checkout  1.8.1.0 stable
Lib_Js_Mage      1.8.1.0 stable
Mage_Locale_en_US 1.8.1.0 stable
Lib_Mage          1.8.1.0 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 1.9.0.1.

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