Restoring Database From Cs-Cart 4.2.4 To 4.6.1

Hi there,

I want to know if it's possible to make a backup of old 4.2.4 version and restore it to our new upgrade and clean install of 4.6.1 (installed under subdomain, only 1 license)?

Hi there,

I want to know if it's possible to make a backup of old 4.2.4 version and restore it to our new upgrade and clean install of 4.6.1 (installed under subdomain, only 1 license)?

Since database schema differs, you cannot restore database from 4.2.4 on 4.6.1 version. It will not work at all!

Since database schema differs, you cannot restore database from 4.2.4 on 4.6.1 version. It will not work at all!

Hi eComLabs, I had a try and it didn't work just like you said - got a service unavailable tag after restoring.

:(

What is my best option?

Hi eComLabs, I had a try and it didn't work just like you said - got a service unavailable tag after restoring.

:(

What is my best option?

Hello!

Please read the article to know how to upgrade the store.

Hi eComLabs, I had a try and it didn't work just like you said - got a service unavailable tag after restoring.

:(

What is my best option?

There are two ways:

- upgrade 4.2.4 up to 4.6.1 version by version

- install 4.4.2, make store import and upgrade up to 4.6.1 (unfortunately store import is not adapted to 4.6.1 yet)

http://marketplace.cs-cart.com/add-ons/store-import.html

In your case, I'd just buy a six-pack of your favorite beverage, turn on some music and do the individual upgrades from 4.2.4 through 4.6.2. You will do about 15 upgrades and depending on the size of your store might be 2-10 minutes/version. This assumes you want to maintain the bulk of your layout/styling of your current 4.2.4 site.

If you're wanting to start with a new theme/layout/design, then doing the install of 4.4.2 and getting the styling complete, then doing a store_import would be best and there are about 5 upgrades from 4.4.2 to 4.6.2.

Obviously if you have customized the core code or have 3rd party addons, you may have to do additional work to adjust those changes to the current version.

Haha, that's right. I have been upgrading from 4.2.4 until...

Encountered a problem at 4.3.2 -> 4.3.3 :

- Download button pressed, downloaded

- Install button pressed

When refreshed, Upgrade Centre page shows the same old 4.3.2 -> 4.3.3 page with Download button again!

Checked version, it's still stuck at 4.3.2

Please do help.

Look at the upgrade log file in var/upgrade

1502519476 - Backing up:design/themes/responsive/templates/blocks/product_filters/components/variant_item.tpl in /home/sandarts/public_html/te.sandarts.com/var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/uc_override.php on line 1907

1502519476 - Backing up:design/themes/responsive/templates/views/checkout/components/progressbar.tpl in /home/sandarts/public_html/te.sandarts.com/var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/uc_override.php on line 1907
1502519476 - Backing up:design/themes/responsive/templates/views/checkout/customer_info.tpl in /home/sandarts/public_html/te.sandarts.com/var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/uc_override.php on line 1907
1502519476 - Backing up:design/themes/responsive/templates/views/products/components/product_filters_advanced_form.tpl in /home/sandarts/public_html/te.sandarts.com/var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/uc_override.php on line 1907
1502519477 - Backing up database: /home/sandarts/public_html/te.sandarts.com/var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz in /home/sandarts/public_html/te.sandarts.com/var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/uc_override.php on line 1764
1502519481 - Using mysqldump in /home/sandarts/public_html/te.sandarts.com/var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/uc_override.php on line 2185

Last few lines.

Please PM me temporary FTP access so that we can check the issue or contact CS-Cart support team

I would check your Apache error log. It would appear you are getting an Apache Timeout.

One thing that can help is to define DEVELOPMENT to be true so that the ajax progress bar is disabled. This might help you see more of what's happening.

I've also had sites where mySQL blocks on a operation and then things queue up behind the blockage until mysql dies. But you usually see some indication of that in the log and/or your browser window.

probably because the crew didnt think before doing an uc_override that gets the domain name via http.. so if you are on a seperate server or somain is not resolving right you get that.... like me.. i have a seperate server i copy store / upgrade and move back....

so it was looking for domain.com//var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/restore.php

so i modded /etc/hosts to point localy..

var/upgrade/upgrade_4.2.4_ultimate-4.3.1_ultimate.tgz/uc_override.php

$restore_url = Registry::get('config.http_location') . '/var/upgrade/' . $_SESSION['uc_package'] . '/restore.php';
$restore_result = Http::get($restore_url);
if ($restore_result !== 'Access denied') {