Chapter 10: Upgrading Magento

Last modified by aeonic on Fri, January 7, 2011 02:43
Source|Old Revisions  
The Magento Wiki is managed by a community of contributors, not by the Magento team. The community, which includes some Magento employees, does frequently add new content to the Wiki. While most content is current and accurate, Magento cannot guarantee the accuracy of every article.

Chapter 10: Upgrading Magento

Upgrading Magento Via SSH

originalhttp://www.magentocommerce.com/wiki/groups/227/upgrading_magento_via_ssh

The following commands work for any hosting environment, but it’s primarily for users that are in an enjbnmbnwned by the user.

Once you’ve accessed your site via SSH, change in to the directory where Magento is installed. Run the following commands to upgrade Magento:

  1. ./pear upgrade-all
  2. rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*

If you receive an error, that means the PEAR registry has not been initialized. You need to run the following commands:

  1. ./pear mage-setup .
  2. ./pear install magento-core/Mage_All_Latest
  3. rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*

This is only required once, after it’s initialized you don’t need to do this again and can use the first command listed in this article.

Please see our related article on Installing Extensions Via SSH.

WARNING!

If you copy magento into another location (to make and test an upgrade), before run ./pear upgrade, rerun ./pear mage-setup into new directory, else, updates will be instaled on old location




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs