Upgrade From 4.3.1 - 4.3.2 Fails Silently

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

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(),
));

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!

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.

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?

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.

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.com/latest/upgrade/upgrade_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?