Skip to content

Instantly share code, notes, and snippets.

@7ochem
Created March 8, 2013 10:53
Show Gist options
  • Save 7ochem/5115692 to your computer and use it in GitHub Desktop.
Save 7ochem/5115692 to your computer and use it in GitHub Desktop.
Upgrade Magento from 1.6 to 1.7+
#!/bin/sh
# From http://www.magentocommerce.com/wiki/magento_upgrade_from_1.6.0_1.6.1_or_1.6.2._to_1.7.0.0
rm -rf var/cache/* var/session/* var/full_page_cache/*
chmod +x ./mage
./mage mage-setup .
./mage config-set preferred_state stable
./mage list-installed
./mage list-upgrades
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
php shell/indexer.php reindexall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment