CS-Cart 3 RC to CS-Cart 3 Final Database Upgrade Tool

The database upgrade tool from CS-Cart 3 RC to CS-Cart 3 Final has been released!



It works with all CS-Cart 3 release candidates - RC1 to RC6.



Important! Please note that this tool only handles the core database of your store and can not deal with add-ons. All add-ons will be uninstalled during the upgrade process and you will have to re-install them via the admin panel after the upgrade is complete.



Prepare for the upgrade:


  1. Make sure the PRODUCT_STATUS value in the config.php file in your CS-Cart installation root directory equals RC1, RC2, RC3, RC4, RC5 or RC6. Otherwise problems may occur during the upgrade.



    The corresponding line in the file must be similar to:



    define('PRODUCT_STATUS', 'RC6');


  2. Clean cookies and session in your browser.



    In order to perform the upgrade do the following:[list=1]

    []Download the tool archive;

    [
    ]Create folder rc_upgrade in your CS-Cart 3 Release Candidate installation root directory and extract the archive into it;

    []Enter the prior created folder and run index.php in your browser;

    [
    ]Follow the instructions in the installation wizard;

    []After the installation is complete remove all files and folders except for config.local.php, folder images and storefront folders (only for CS-Cart Ultimate edition) from your upgraded CS-Cart installation root directory;

    [
    ]Download CS-Cart 3 Final installation archive (the same edition as your RC) from the Help Desk file area and install it to a separate temporary location;

    []Move all the files and folders except for the ones listed in step 5 from the temporary CS-Cart 3 Final installation root directory to the upgraded CS-Cart 3 installation root directory;

    [
    ]Remove the folders var/cache and var/compiled from the upgraded CS-Cart 3 installation root directory.

    [/list]



    After you have accurately gone through the above steps you will have a CS-Cart 3 Final installation with your database transferred from the prior installed release candidate version.

How about a tool to convert V2.2.4 to V3?

When the “2.2.4 to 3.01 Upgrade Tool” will be available?

Indeed I gave a look on both databases and I found small differences.

Is it possible to merge all data of 2.2.4 database into 3.01 database overwriting and updating 3.01 data, creating (if needed) new table's records and fields?



I am not interested about keeping old skins and templates. I will re-create them from scratch.



Thank you!

Hello



‎"6.Download CS-Cart 3 Final installation archive (the same edition as your RC) from the Help Desk file area and install it to a separate temporary location;"



“install”, or rather to extract final edition to separate temporaty location ?



Robert

[quote name='soft-solid' timestamp='1338548490' post='137837']

Hello



‎"6.Download CS-Cart 3 Final installation archive (the same edition as your RC) from the Help Desk file area and install it to a separate temporary location;"



“install”, or rather to extract final edition to separate temporaty location ?



Robert

[/quote]

Dear Robert,





Simply extracting the content of the downloaded CS-Cart 3 Final archive to your CS-Cart 3 RC location is not enough.





You should namely install the final version into a separate location, that is, run and complete an installation process as for a regular CS-Cart release.



Only after that you should move the CS-Cart 3 Final files and folders to the CS-Cart 3 RC installation location.



I hope the explanation has cleared the question for you. If there's still anything unclear, please ask.

That is good news but most of cs-cart users need upgrade tool from 2.2.4. I hope it will be ready soon.

  1. I see no mention of VERSION_STATUS nor RC3 value in the config.local.php for RC3. Please advise.

    [list]

    [*]Create folder rc_upgrade in your CS-Cart 3 Release Candidate installation root directory and extract the archive into it;

    [/list]

    This is not quite clear. extracting the zipfile will give a master directory named 'cscartv3_rc_upgrade'. Your instructions indicate that you want this directory placed in the rc_upgrade directory. That doesnt sound logical.



    I run the ultimate edition.

[quote name='P-Pharma' timestamp='1338562833' post='137856']

  1. I see no mention of VERSION_STATUS nor RC3 value in the config.local.php for RC3. Please advise.[list]

    [*]Create folder rc_upgrade in your CS-Cart 3 Release Candidate installation root directory and extract the archive into it;

    [/list]

    This is not quite clear. extracting the zipfile will give a master directory named 'cscartv3_rc_upgrade'. Your instructions indicate that you want this directory placed in the rc_upgrade directory. That doesnt sound logical.



    I run the ultimate edition.

    [/quote]

    When extracting a ZIP-file you can specify the destination location for the extracted content.

    The behavior you refer to is just one of the options that many GUI-based archive management programs provide: create a folder of the same name as the archive and extract its content there. Please note that this is just an option and not the default behavior!

    You should not use this option as it is explicitly stated that the archive should be extracted to a specific location and not to a folder of the same name as the archive.

please release the upgrade tool from 2.2.4

[quote name='stephan4appiah' timestamp='1338805662' post='137994']

please release the upgrade tool from 2.2.4

[/quote]

The upgrade tool from CS-Cart 2.2.4 to 3.0.1 will be released later, hopefully in June.

[quote name='kmolchanov' timestamp='1338800798' post='137990']

When extracting a ZIP-file you can specify the destination location for the extracted content.

The behavior you refer to is just one of the options that many GUI-based archive management programs provide: create a folder of the same name as the archive and extract its content there. Please note that this is just an option and not the default behavior!

You should not use this option as it is explicitly stated that the archive should be extracted to a specific location and not to a folder of the same name as the archive.

[/quote] Thank you.

Could you please provide the answer to the following question:[list]

[*]I see no mention of VERSION_STATUS nor RC3 value in the config.local.php for RC3. Please advise.

[/list]

[quote name='P-Pharma' timestamp='1338813970' post='137998']

Thank you.

Could you please provide the answer to the following question:[list]

[*]I see no mention of VERSION_STATUS nor RC3 value in the config.local.php for RC3. Please advise.

[/list]

[/quote]



Dear P-Pharma,

This was a mistake, please take our apologies.

Please see VERSION_STATUS in config.php. We've updated the first post.

Thanks.

kmolchanov, I can't upgrade my RC6 store using this procedure. I did every step mentioned, and in step 6 the installer told me that the database existed and the tables would be replaced. I just thought that my products would be reloaded later or something, so I followed through with it (after backing it my database). But nope, it just installed a clean version of the shop. What should I do?



I also tried reloading the tables via PHPMYADMIN after installing the new version, but it just made the system crash with a single 'error' message and no description whatsoever. I have now reverted to the RC6 shop (which I have also backed up). It is back to work, however I have no idea on how to follow through with this upgrade.

Nevermind, I think I figured it out. I had to install to a different database so the installer for the final version wouldn't overwrite my tables, and then change the settings on the config.local.php file. Also, I forgot to delete the /var/cache and /var/compiled.



BTW the installer for the final version should not overwrite the tables, and nothing about this is mentioned in these instructions.

Everyday I’m checking here for upgrade tool from CS-Cart 2.2.4 to 3.0.1. Am I the only one who wait for this? C’mon guys lets make pressure to CS-Cart developers and then they can release it soon :)

[quote name=‘stephan4appiah’ timestamp=‘1339589040’ post=‘138611’]

Everyday I’m checking here for upgrade tool from CS-Cart 2.2.4 to 3.0.1. Am I the only one who wait for this? C’mon guys lets make pressure to CS-Cart developers and then they can release it soon :)

[/quote]I am waiting also, but the CS team is a good team & I’m sure they are doing their best. I’ll just be patient. :grin:

I am waiting with my biggest patience :D

We are also waiting and and disguises feet ;)

[quote name=‘stephan4appiah’ timestamp=‘1339589040’ post=‘138611’]

Everyday I’m checking here for upgrade tool from CS-Cart 2.2.4 to 3.0.1. Am I the only one who wait for this? C’mon guys lets make pressure to CS-Cart developers and then they can release it soon :)

[/quote]

I vote to give CS-Cart a chance to fix some of the bugs in Version 3 and get the RC upgrade working smoothly before they create an upgrade from 2.2.4 and a bunch of people jump too fast only to crash their websites.

Absolutely. Bug fix before upgrade script. It's been awhile since it was released, I was hoping a bug fix would be already released by now.