|
Ok,
I have finally managed to upgrade from magento 1.5.1.0 to 1.6.0.0 on my wamp installation. Thanks to some other forum threads.
This post is for users running magento on a wamp/xampp installation.
Prerequisite: bash shell (I have used cygwin)
Cygwin or Copssh are failry easy to install on a windows pc. You don\’t need to go all the way to setup a local ssh server if you are running the upgrade on the machine that runs the wamp server.
Useful links, if you have to setup a ssh server:
http://pigtail.net/LRP/printsrv/cygwin-sshd.html
http://www.geek-republic.com/2009/02/17/securing-windows-remote-desktop-with-copssh/
Note: All paths are relevant to my PC. They can be different on your PC.
Upgrading Magento 1.5.10 to 1.6.0.0
1. Login on windows with a user that has admin credential.
2. Backup your website database. Backup the current magento instance (the entire directory)
3. Clear all cache and sessions. You can do this by deleting all contents of c:/wamp/www/magento/var/cahce and c:/wamp/www/magento/var/session directories.
4. Download the full magento package (magento-1.6.0.0.zip).
5. Copy the zip file to the root of your current magento installation directory.
6. Unzip the package in the root directory. All the file will be extracted to a subdirectory called magento.
7. Now run the bash shell.(Cygwin bash shell in my case)
8. Navigate to the current magento instance root directory.
The path in my case was “/cygdrive/c/wamp/www/magento”
9. Enter the extracted directory from bash shell
user@computername /cygdrive/c/wamp/www/magento $ cd magento
user@computername /cygdrive/c/wamp/www/magento/magento $ _
10. Now copy the new files back to the magento root directory. This command can take 30seconds to a few minutes depending on your PC.
user@computername /cygdrive/c/wamp/www/magento/magento $ cp -rf * ../.
11. Also copy the .htaccess file
user@computername /cygdrive/c/wamp/www/magento/magento $ cp .htaccess ../.
12. Now cleanup the downloaded files including the zip/tar.gz/tar.bz2 (.zip in my case):
user@computername /cygdrive/c/wamp/www/magento/magento $ cd ../ user@computername /cygdrive/c/wamp/www/magento $ rm -rf magento
user@computername /cygdrive/c/wamp/www/magento $ rm magento-1.6.0.0.zip
13. Finally, open the site’s homepage in your browser. http://localhost/magento. This will kick start the upgrade. Don’t try to refresh the page now, have some patience. It can take anywhere from 5minutes to 30 minutes(or maybe even more). It took 20 minutes on my computer. When you get the home page, login to the admin interface and verify the footer displays the new version \"Magento ver. 1.6.0.0\”.
Post installation:
Depending on the extensions you have installed, not all of them may work and you will have to work on them individually.
Reference to forum threads that help me:
http://www.magentocommerce.com/boards/viewthread/242215/P120/#t345514
http://www.magentocommerce.com/boards/viewthread/219570/P30/#t301770
Phew.. It has taken me 10 days to achieve this. Hope this helps others.
Go opensource
|