Jump to content

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

Upgrade From 4.3.1 - 4.3.2 Fails Silently Rate Topic   - - - - -

 
  • krasool
  • Junior Member
  • Members
  • Join Date: 09-Oct 09
  • 30 posts

Posted 28 August 2017 - 12:50 AM #21

 

Hi, thanks for response.

 

I tried both this: define('DB_ROWS_PER_PASS', 4000);

 

and this: $backup_file = DataKeeper::backup(array(

'pack_name' => $backup_filename,
'compress' => false,
'set_comet_steps' => false,
'move_progress' => false,
));

 

Make no difference. Still fails. 

 

 

Hello, 

 

I have been trying to upgrade my cs-cart from 4.6.1 to 4.6.2 but have the same issue!

 

Any suggestion to disable backup compression, please?

 

Thanks 


K.Rasool


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

Posted 28 August 2017 - 08:01 AM #22

Hello, 

 

I have been trying to upgrade my cs-cart from 4.6.1 to 4.6.2 but have the same issue!

 

Any suggestion to disable backup compression, please?

 

Thanks 

 

Try to exclude tables from the backup with the following code

 

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

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • krasool
  • Junior Member
  • Members
  • Join Date: 09-Oct 09
  • 30 posts

Posted 28 August 2017 - 02:18 PM #23

Thank you eCom Labs for your response.

 

I had tried many codes with the new version of App.php but not working.

 

The original code of new version is:

                $params = DataKeeper::populateBackupParams(array(
                    'pack_name' => $backup_filename,
                    'compress' => 'zip',
                    'set_comet_steps' => false,
                    'move_progress' => false,
                    'extra_folders' => array(
                        'var/langs'
                    )                ));

I tried to replace it with: 

                $params = DataKeeper::populateBackupParams(array(
                    'pack_name' => $backup_filename,
                    'compress' => false,
                    'set_comet_steps' => false,
                    'move_progress' => false,
                    'extra_folders' => array(
                        'var/langs'
                    )                ));

It's stuck during copy var/langs files.

 

Also, if tried this code:

                $params = DataKeeper::populateBackupParams(array(
                    'pack_name' => $backup_filename,
                    'compress' => false,
                    'set_comet_steps' => false,
                    'move_progress' => false,
                    'db_tables' => array()
                ));

It's stuck during copy vendor.php file!! 

 

I don't understand why cs-cart has not an option to disable backup compression and copy files during upgrade! 


K.Rasool


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 9,818 posts

Posted 28 August 2017 - 05:08 PM #24

Note that if you're going to modify App.php, you need to do it AFTER the download and BEFORE Install.  Otherwise your changes will be overwritten by the download.


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
  • 14,635 posts

Posted 29 August 2017 - 05:30 AM #25

 

I don't understand why cs-cart has not an option to disable backup compression and copy files during upgrade! 

 

This feature exists in the latest versions.

 

What do you see in the upgrade logs?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • krasool
  • Junior Member
  • Members
  • Join Date: 09-Oct 09
  • 30 posts

Posted 29 August 2017 - 06:42 AM #26

This feature exists in the latest versions.

 

Please, where can I get this feature? I use 4.6.1v.

 

 

What do you see in the upgrade logs?

 

I received 'Access denied' error when upgrading trying to access restore php file, as the following message: 

Requests (http/https request)
URL: http://www.mydomain.com/upgrades/core_4.6.1-4.6.2/restore_2017-08-29_##-##-##.php
Request: ''
Response: Access denied

The restore file has 0644 after created by upgrade system. 

I use https and even when disabling secure connection, the stuck still occurred. 


K.Rasool


 

Posted 29 August 2017 - 07:18 AM #27

 

Please, where can I get this feature? I use 4.6.1v.

 

Please refer to step 2.6 of the following article:

 

http://docs.cs-cart....de_process.html

 

I received 'Access denied' error when upgrading trying to access restore php file, as the following message: 

Requests (http/https request)
URL: http://www.mydomain.com/upgrades/core_4.6.1-4.6.2/restore_2017-08-29_##-##-##.php
Request: ''
Response: Access denied

The restore file has 0644 after created by upgrade system. 

I use https and even when disabling secure connection, the stuck still occurred. 

 

This is correct behaviour. What do you see in the log?


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation