Step by Step Guide for Upgrading 2.0.6 to 2.0.11

I’m currently on version 2.0.6 of the cart (which is what I started with) and am now in a position to upgrade to the latest version. Can anyone provide a quick step by step guide on how this would be accomplished? Or point me to a webpage or forum post where something like this has already been done?



I would like to try the upgrade on a local version of the cart first.



Is it possible to download all the files currently on my server to a local computer, backup/restore the database to the local installation, upgrade it, then upload all the files to the web server, then restore the database?



All help much appreciated as usual.

The best way if you contact in helpdesk. They upgrade my 2.0.8 to 2.0.11 version.

In my case they could not know how many modifications I’ve done.



Best thing would be some sort of DB upgrade, so after that I could import everything to newly installed shop.

miracles, how long did it take them?



Did you not have code modifications, CSS modifications, etc? Presumably you had to go back and do those after helpdesk upgraded.

Download Winmerge ([url]http://winmerge.org/[/url]) and compare and document your modified 2.06 against a clean install of 2.06. It will identify every file that you changed and what these exact changes were.



Upgrade to 2.011. You will first need to go through the other versions during the install. Do not worry.



Then use your documented changes and put them back into 2.011. You can use Winmerge again to do this.



Sounds hard, but is very easy and straightforward. I do this on my local system first. Then I upgrade my live site the same way and FTP over only the newly modified files.



I have used this approach since 2.04 through 2.011. It has worked smoothly every time.



David

Triplets, thanks for sharing that!



I’m primarily a Mac user, though I do have access to PC’s both at work and at home. Is there a Mac equivalent of Winmerge? Can I use Winmerge on files that reside on a Mac, accessing them through the network?

Sorry, I know nothing about macs. You can check their web site.

[quote name=‘kingsleypress’]Triplets, thanks for sharing that!



I’m primarily a Mac user, though I do have access to PC’s both at work and at home. Is there a Mac equivalent of Winmerge? Can I use Winmerge on files that reside on a Mac, accessing them through the network?[/QUOTE]



Most simple way to upgrade would be:


  1. make db backup


  2. install clean 2.06 (empty with no demo stuff) on localhost


  3. import db backup, do upgrade → 2.07 → 2.08 and so on…


  4. make clean install of 2.0.11 and import upgraded db from localhost, I would do this on a VPS some test subdomain, now step by step would apply mods I had from 2.06.


  5. after all done, simply would switch test and live store folders of live store (config file needs to be edited after this).

Do you run Winmerge on the whole install or just selected folders, such as Skins?

It depends what you manually changed. I usually only run it in the customer folder of my selected skin.

On a Mac, you can install the developer tools and then use FileMerge. There are a few other free programs (I think DiffMerge or something like that) and other paid options (Changes is one). Search MacUpdate for “diff” programs.



Bob

[quote name=‘Darius’]Most simple way to upgrade would be:


  1. make db backup


  2. install clean 2.06 (empty with no demo stuff) on localhost


  3. import db backup, do upgrade → 2.07 → 2.08 and so on…


  4. make clean install of 2.0.11 and import upgraded db from localhost, I would do this on a VPS some test subdomain, now step by step would apply mods I had from 2.06.


  5. after all done, simply would switch test and live store folders of live store (config file needs to be edited after this).[/QUOTE]



    Thanks for the clear instructions, I was still troubling on how to test upgrade my v2.0.8 to v2.0.11 since I’ve lots of modifications added. This method I figured will result in the least downtime. (I was going semi crazy from resolving/merging codes from my modifications version to version. )

[quote name=‘Darius’]Most simple way to upgrade would be:


  1. make db backup


  2. install clean 2.06 (empty with no demo stuff) on localhost


  3. import db backup, do upgrade → 2.07 → 2.08 and so on…


  4. make clean install of 2.0.11 and import upgraded db from localhost, I would do this on a VPS some test subdomain, now step by step would apply mods I had from 2.06.


  5. after all done, simply would switch test and live store folders of live store (config file needs to be edited after this).[/QUOTE]



    And…

[QUOTE]

Download Winmerge ([url]http://winmerge.org/[/url]) and compare and document your modified 2.06 against a clean install of 2.06. It will identify every file that you changed and what these exact changes were.



Upgrade to 2.011. You will first need to go through the other versions during the install. Do not worry.



Then use your documented changes and put them back into 2.011. You can use Winmerge again to do this.



Sounds hard, but is very easy and straightforward. I do this on my local system first. Then I upgrade my live site the same way and FTP over only the newly modified files.



I have used this approach since 2.04 through 2.011. It has worked smoothly every time.



David[/QUOTE]





----------



Good job, people.



In my case, I will not use this because my version is very very old (1.__, from 2006 maybe).



If possible, I would love to import at least CLIENTs data.



WinMerge I have never listened about, but looks a good software. And… it is opensource.





Thanks for sharing.



:slight_smile:

OK I never got around to upgrading to 2.0.11 but am here ready to go to 2.0.14. In the upgrade center it asks for FTP settings. Which ones does it want?



Also, I am trying the upgrade on a localhost version first to see how it goes. I have entered what I think should be correct FTP details for the folder on my hard drive containing the install, but it just keeps giving me an error saying the FTP details are incorrect.



Thanks in advance for any help.

It is the same FTP login your would use to upload files to your cart.

Where can I download a clean copy of the 2.0.6 in order to try to upgrade?

Nowere I see… thanks anyway, don’t know why, but these days nobody answers my simple questions, must be some kind of new “no reply” policy on me, this way I’m never going to upgrade…oh boy…:rolleyes:

[quote name=‘E.Qi.Librium’]Where can I download a clean copy of the 2.0.6 in order to try to upgrade?[/QUOTE]





Ask helpdesk.



Why do you want 2.0.6 anyway?

I want it because i need a clean install in order for me to upgrade, my version is the 2.0.6 but I changed almost everthing and can’t go file by file, so, if I do a clean install and then restore my database into it, maybe I can go trough the several upgrades needed without so many errors as I get now when I try to upgrade, it’s impossible for me to do it with my actual store, to messed up. I’m almost giving up on the upgrade thing…going nuts over here!

[quote name=‘E.Qi.Librium’]I want it because i need a clean install in order for me to upgrade, my version is the 2.0.6 but I changed almost everthing and can’t go file by file, so, if I do a clean install and then restore my database into it, maybe I can go trough the several upgrades needed without so many errors as I get now when I try to upgrade, it’s impossible for me to do it with my actual store, to messed up. I’m almost giving up on the upgrade thing…going nuts over here![/QUOTE]



What is ‘restoring the database’? I am still not able to get the hang of it. Please let me know all the steps to restore a database into a new installation. :confused: :confused: