Tuesday 21 February 2012

Upgrading Magento with a full package or via SVN


Upgrading Magento with a full package or via SVN


Herex are the steps for upgrading Magento with a full package or via SVN. Steps for upgrading with the MagentoConnect Manager are below.

1.
Backup your database
2.
- In Magento go to Admin, System → Tools → Backups
3.
- You can use PHPMyAdmin (but this may fail due to time-limits on php scripts)
4.
- You can export in SSH by typing...
5.
- mysqldump -u USER -p DBNAME > dump.sql
6.
- Reimport using mysql -u USER -p DBNAME < dump.sql
7.
Backup all the code you modified yourself, and don’t forget to keep the original installation archive
8.
Take care of saving the media directory that contains all the uploaded product/category images
9.
Create a backup copy of app/etc/local.xml file
10.
Download a new installation archive or run SVN update if you checked it out from the Magento repository
11.
Extract and upload all the files it contains to your server
12.
Delete var/cache and var/session directories
13.
Point your browser to any Magento page
14.
Database upgrades should happen automatically
15.
You are done!

Upgrading Magento using the MagentoConnect Manager


1.
Go to http://<YOUR_SERVER>/downloader
2.
Log in using a user who has full permissions
3.
Make sure to select “Clear all sessions after successful install or upgrade”

The reference site is "http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/upgrading_magento"

No comments:

Post a Comment