Jump to content

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

Upgrade 4.3.4 To 4.3.5 Does Not Complete Rate Topic   - - - - -

 
  • merchantman
  • Senior Member
  • Members
  • Join Date: 23-Oct 13
  • 352 posts

Posted 02 February 2016 - 12:53 PM #1

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.



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

Posted 02 February 2016 - 02:29 PM #2

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...ed-fail-status/



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

Posted 02 February 2016 - 03:35 PM #3

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

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 руб.


 
  • merchantman
  • Senior Member
  • Members
  • Join Date: 23-Oct 13
  • 352 posts

Posted 02 February 2016 - 05:29 PM #4

 

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.



 
  • merchantman
  • Senior Member
  • Members
  • Join Date: 23-Oct 13
  • 352 posts

Posted 02 February 2016 - 05:58 PM #5

 

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

 



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

Posted 03 February 2016 - 09:39 AM #6

The e-mail cannot be send for some reason. You can ignore this error during 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    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
  • 11203 posts

Posted 04 February 2016 - 07:08 PM #7

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

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.