Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Restoring Database From Cs-Cart 4.2.4 To 4.6.1 Rate Topic   - - - - -

 
  • hisa
  • Junior Member
  • Members
  • Join Date: 18-Aug 10
  • 38 posts

Posted 08 August 2017 - 08:54 AM #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)?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17996 posts

Posted 08 August 2017 - 02:01 PM #2

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!


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • hisa
  • Junior Member
  • Members
  • Join Date: 18-Aug 10
  • 38 posts

Posted 08 August 2017 - 08:34 PM #3

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? 



 
  • oleg.gorshkov
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 2957 posts

Posted 09 August 2017 - 05:40 AM #4

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.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Mega SEO Package - All you need for your SEO


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17996 posts

Posted 09 August 2017 - 06:37 AM #5

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.c...ore-import.html


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10838 posts

Posted 09 August 2017 - 06:15 PM #6

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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • hisa
  • Junior Member
  • Members
  • Join Date: 18-Aug 10
  • 38 posts

Posted 12 August 2017 - 09:17 AM #7

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.



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10838 posts

Posted 13 August 2017 - 07:51 PM #8

Look at the upgrade log file in var/upgrade


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • hisa
  • Junior Member
  • Members
  • Join Date: 18-Aug 10
  • 38 posts

Posted 14 August 2017 - 04:30 AM #9

 

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. 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17996 posts

Posted 14 August 2017 - 07:56 AM #10

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10838 posts

Posted 14 August 2017 - 07:00 PM #11

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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • vanderex
  • Senior Member
  • Members
  • Join Date: 27-May 10
  • 384 posts

Posted 09 April 2018 - 12:57 AM #12

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') {

Get Cost Effective Content Delivery CDN
Unbeatable speed, stats, & price
MaxCDN Site Acceleration