Jump to content

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

Trying To Upgrade From 4.3.1 To 4.3.2 Rate Topic   - - - - -

 
  • Aron
  • Advanced Member
  • Members
  • Join Date: 10-Dec 14
  • 83 posts

Posted 12 September 2015 - 09:42 PM #1

I am trying to update my version of cs cart from 4.3.1 to 4.3.2 then up to 4.3.3

But when i am trying to update from 4.3.1 to 4.3.2 it wont finish. It stops on "zipping backup files" and keeps processing for ages but it wont finish.

 

I see that the system takes a backup so its apparent that something is happening.

Do anyone have any idea why this happens? I am getting pretty tierd of the update issues on cs-cart. 



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

Posted 12 September 2015 - 10:00 PM #2

Check your Apache "Timeout" value and make sure it's  at least 300.  Also, it could be a Phar error.  If you refresh the page, do you get an error notification that Phar failed to create the backup archive?


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.


 
  • Aron
  • Advanced Member
  • Members
  • Join Date: 10-Dec 14
  • 83 posts

Posted 12 September 2015 - 10:14 PM #3

Check your Apache "Timeout" value and make sure it's  at least 300.  Also, it could be a Phar error.  If you refresh the page, do you get an error notification that Phar failed to create the backup archive?

No, it just goes back to the update page like it was before i press update.

Not sure how i check my apache timeout.. Where can i find this?



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

Posted 13 September 2015 - 04:55 AM #4

If it redirects then apache timeout is not the problem. But it's in whm apache configuration or you can see it in httpd.conf if you have root access to your server.

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.


 
  • Aron
  • Advanced Member
  • Members
  • Join Date: 10-Dec 14
  • 83 posts

Posted 13 September 2015 - 08:24 AM #5

I have access to root directory but cant find the httpd.conf
Is there no other way of updating this mess? Like a zipped folder with files i can just update through ftp client?



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

Posted 13 September 2015 - 06:05 PM #6

httpd.conf is usually (but system dependent) located at:

/usr/local/Apache/conf/httpd.conf

 

And on some older systems (or newer with a link) it is in

/etc/httpd.conf

 

But as I said, if it redirects back to the upgrade center (or anywhere else) then the value of Timeout is NOT your issue.

 

Are there any errors in your error_log file for your site?


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.


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

Posted 14 September 2015 - 09:17 AM #7

Feel free to PM me if you still need help with the upgrade


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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • kchabraya
  • Newbie
  • Members
  • Join Date: 19-Sep 15
  • 1 posts

Posted 19 September 2015 - 02:03 AM #8

Hello,

Yes I am having the same issue.

Attempting to upgrade from 4.3.1 to 4.3.2

No errors noted, and processing bar never progressing. Checking the site, and yes the new core upgrade file is downloaded but beyond this no files are being updated or changed.  The error log is showing no fresh errors.

 

 



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

Posted 19 September 2015 - 08:40 PM #9

Do you have a var/upgrade/upgrade.log or var/upgrade/core.log files?

What step are you failing on?


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.


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

Posted 21 September 2015 - 09:09 AM #10

If you provide us with the temporary FTP access, we can check the issue. Thanks


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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • CutRiteFX
  • Senior Member
  • Members
  • Join Date: 02-Jun 08
  • 434 posts

Posted 22 September 2015 - 10:06 PM #11

If you provide us with the temporary FTP access, we can check the issue. Thanks

eComLabs. Having the same type of issue upgrading from  4.3.3.SP1 to - 4.3.4

. It starts then stops. I looked at my logs "core_log.txt" and seems that it is stopping at the database backup. I think this is somehow a timeout issue. My database is only 9mb. If I do a regular backup it works fine.

I sent you a PM with ftp access.



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

Posted 23 September 2015 - 06:33 AM #12

Its because 4.3.3 uses phar for archiving. Manually back up your site and db, then comment out the backup code.

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.


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

Posted 23 September 2015 - 10:32 AM #13

Open the app\Tygh\UpgradeCenter\App.php file and replace:

$backup_file = DataKeeper::backup(array(
                'pack_name' => $backup_filename,
                'compress' => 'zip',
                'set_comet_steps' => false,
                'move_progress' => false,
            ));

with

$backup_file = DataKeeper::backup(array(
                'pack_name' => $backup_filename,
                'compress' => false,
                'set_comet_steps' => false,
                'move_progress' => false,
            ));

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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • kbrand
  • Junior Member
  • Members
  • Join Date: 01-Dec 06
  • 26 posts

Posted 23 September 2015 - 08:38 PM #14

For upgrade from 4.3.3.SP1 to 4.3.4 that was hanging on compress backup

'compress' => false,

That code replacement worked perfectly.

 

Thank you eComLabs.



 
  • CutRiteFX
  • Senior Member
  • Members
  • Join Date: 02-Jun 08
  • 434 posts

Posted 28 September 2015 - 04:38 PM #15

What bothers me is when these upgrades fail I have to contact support and it just cost me to do an upgrade to an UNMODIFIED STORE. This is not the first time I have had this problem. Last time I had to completely start from scratch because the upgrade would not work. How about fix your upgrade process and not make me pay for it. Or at least add to knowledge base on what to do when it does fail. 

 

This was the message I got after they upgraded my store

 

"Thank you for your message.

I disabled the backup of some of the files and successfully upgraded the installation. Please check the result."



 
  • clips
  • Aged Resident Loon
  • Members
  • Join Date: 14-Jan 07
  • 1650 posts

Posted 30 September 2015 - 11:17 PM #16

 

Open the app\Tygh\UpgradeCenter\App.php file and replace:

$backup_file = DataKeeper::backup(array(
                'pack_name' => $backup_filename,
                'compress' => 'zip',
                'set_comet_steps' => false,
                'move_progress' => false,
            ));

with

$backup_file = DataKeeper::backup(array(
                'pack_name' => $backup_filename,
                'compress' => false,
                'set_comet_steps' => false,
                'move_progress' => false,
            ));

Worked like a charm on one of our small sites that still uses CS.


Regards,
Jim

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

Posted 01 October 2015 - 07:34 AM #17

Worked like a charm on one of our small sites that still uses CS.

 

I am glad to hear that! Guys, do not forget to create backups via default backup/restore feature before the upgrade


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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • mokeshop
  • Senior Member
  • Members
  • Join Date: 27-Jul 12
  • 1016 posts

Posted 01 October 2015 - 12:23 PM #18

Another upgrade bug? ;) does cs cart know?