Last active
February 11, 2025 20:03
-
-
Save redesigned/6169208 to your computer and use it in GitHub Desktop.
Magneto Upgrading Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Reindex All: | |
| php shell/indexer.php reindexall | |
| Clear Caches: | |
| rm -rf ./downloader/pearlib/cache/* ./downloader/pearlib/download/* | |
| rm -rf ./var/cache/* ./var/session/* ./var/report/* ./var/log/* | |
| rm -rf ./media/tmp/* ./app/code/core/Zend/Cache/* ./var/tmp/* | |
| Fix Permissions: | |
| find . -type d -exec chmod 755 {} \; | |
| find . -type f -exec chmod 644 {} \; | |
| chmod o+w var var/.htaccess app/etc | |
| chmod 550 ./lib/pear | |
| chmod -R o+w media | |
| chmod 550 ./mage | |
| Upgrade or Install: | |
| wget http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.tar.gz | |
| tar -zxvf magento-1.8.1.0.tar.gz | |
| cp -rf magento/* magento/.htaccess . | |
| rm -rf magento | |
| rm magento-1.8.1.0.tar.gz | |
| rm -rf ./downloader/pearlib/cache/* ./downloader/pearlib/download/* ./var/cache/* ./var/session/* ./var/report/* ./media/tmp/* ./app/code/core/Zend/Cache/* | |
| find . -type d -exec chmod 755 {} \; | |
| find . -type f -exec chmod 644 {} \; | |
| chmod o+w var var/.htaccess app/etc | |
| chmod 550 ./lib/pear | |
| chmod -R o+w media | |
| chmod 550 ./mage | |
| rm -rf ./downloader/pearlib/cache/* ./downloader/pearlib/download/* | |
| rm -rf ./var/cache/* ./var/session/* ./var/report/* ./var/log/* | |
| rm -rf ./media/tmp/* ./app/code/core/Zend/Cache/* ./var/tmp/* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to upgrade magento version 1.9.0.1 to 1.9.2.1 and of thats issue then it will be suffice to update only 1.9.1.0. Please help