Upgrade 4.3.4 To 4.3.5 Does Not Complete

After bypassing PHP mac_execution_time warning at start of installation script (already set to 3600) installation seems to proceed but after a series of messages that the installer is backing up data (the last one begins with something like "backing up data for phnxlogNNNN... where N is 0-9 ) the installation seems to hang. There is an "Upgrade progress" window open with a barber pole progress bar that seems to turn indefinitely, with a status message of "Compressing backup file" displayed above it. It can stay like this for a long time. If the window is closed and I come back to admin I see the upgrade has not been installed. This occurs even with PHP max_execution_time of 7200. How do I get upgrade to finish? Since I have tried several times I'm wondering if I should delete the backups the installer says it is making before trying again.

After bypassing PHP mac_execution_time warning at start of installation script (already set to 3600) installation seems to proceed but after a series of messages that the installer is backing up data (the last one begins with something like "backing up data for phnxlogNNNN... where N is 0-9 ) the installation seems to hang. There is an "Upgrade progress" window open with a barber pole progress bar that seems to turn indefinitely, with a status message of "Compressing backup file" displayed above it. It can stay like this for a long time. If the window is closed and I come back to admin I see the upgrade has not been installed. This occurs even with PHP max_execution_time of 7200. How do I get upgrade to finish? Since I have tried several times I'm wondering if I should delete the backups the installer says it is making before trying again.

try this

http://forum.cs-cart.com/tracker/issue-6035-validator-restore-returned-fail-status/

Make a full backup of the store. Then 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,
'db_tables' => array(),
));

try this

http://forum.cs-cart.com/tracker/issue-6035-validator-restore-returned-fail-status/

Thanks demeldoo. Good information.

Make a full backup of the store. Then 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,
'db_tables' => array(),
));

Thanks eCom. Will give it a shot on our devx site.

Make a full backup of the store. Then 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,
'db_tables' => array(),
));

In our file there is an extra value in the backup array:

'extra_folders' => array(
'var/langs'
)
Should I delete it or leave it as is? It does not matter apparently, since deleting that text gives same result as leaving it in, which is the following error message:
ErrorMessage could not be sent.
Mailer Error: Could not instantiate mail function.
This is the original line in our file:
$backup_file = DataKeeper::backup(array(
'pack_name' => $backup_filename,
'compress' => 'zip',
'set_comet_steps' => false,
'move_progress' => false,
'extra_folders' => array(
'var/langs'
)
));
Here is what we changed it to, which still gives the above error message:
$backup_file = DataKeeper::backup(array(
'pack_name' => $backup_filename,
'compress' => false,
'set_comet_steps' => false,
'move_progress' => false,
'db_tables' => array(),
));

The e-mail cannot be send for some reason. You can ignore this error during upgrade

Just as some info, here's the extent of change from 4.3.4 => 4.3.5 (as reported by EZ Admin Helper after upgrade).

Notice: All actions: Monitor files, Check security
Notice: Monitor files: Started 2016-02-04 03:30:02
Warning: Monitor files:
Total files scanned: 14780
Unchanged files: 13207
New files: 117
Modified files: 1456
Removed files: 16