AnsweredAssumed Answered

Failure during upgrade from 7.1.5 to 7.2 with silent upgrader

Question asked by Gaelle Fernandez on Jun 18, 2014
Latest reply on Jun 18, 2014 by Gaelle Fernandez
Hello everyone,
I've follow the instructions on http://support.sugarcrm.com/02_Documentation/01_Sugar_Editions/03_Sugar_Corporate/Sugar_Corporate_7.... to upgrade my Sugar Pro 7.1.5 to Sugar Pro 7.2, using the silent upgrader.

I've created a /var/www/sites/upgrades folder, and then, uploaded silentUpgrade-PRO-7.2.0-v1.0.2.zip and SugarPro-Upgrade-7.1.x-to-7.2.0.zip to this folder.
The folder and all its contents are set on 775 www-data:www-data.

Under my console terminal, i unzipped silentUpgrade-PRO-7.2.0-v1.0.2.zip (and set the right chmod and chown, the same as the"upgrades" folder)

And then, being placed into /var/www/sites/upgrades, i launch the command line 
sudo php CliUpgrader.php /var/www/sites/upgrades/SugarPro-Upgrade-7.1.x-to-7.2.0.zip  ./upgrade.log /var/www/sites/sugarnew systeme
But, after a little time (like 1 or 2 minutes), the terminal shows me : "Step "unpack" Failed!
So, i've reached the upgrade.log file and found this :

Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Setting context to: array (  'zip' => '/var/www/sites/upgrades/SugarPro-Upgrade-7.1.x-to-7.2.0.zip',
  'log' => '/var/www/sites/upgrades/upgrade.log',
  'source_dir' => '/var/www/sites/sugarnew',
  'admin' => 'systeme',
  'php' => '/usr/bin/php',
  'script' => '/var/www/sites/upgrades/CliUpgrader.php',
  'argv' => 
  array (
    0 => 'CliUpgrader.php',
    1 => '/var/www/sites/upgrades/SugarPro-Upgrade-7.1.x-to-7.2.0.zip',
    2 => './upgrade.log',
    3 => '/var/www/sites/sugarnew',
    4 => 'systeme',
  ),
)
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Upgrader v.1.0.2 (build 1226) starting
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Running /usr/bin/php -f /var/www/sites/upgrades/CliUpgrader.php --  -z '/var/www/sites/upgrades/SugarPro-Upgrade-7.1.x-to-7.2.0.zip' -l '/var/www/sites/upgrades/upgrade.log' -s '/var/www/sites/sugarnew' -u 'systeme' -S 'unpack'
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Setting context to: array (
  'zip' => '/var/www/sites/upgrades/SugarPro-Upgrade-7.1.x-to-7.2.0.zip',
  'log' => '/var/www/sites/upgrades/upgrade.log',
  'source_dir' => '/var/www/sites/sugarnew',
  'admin' => 'systeme',
  'stage' => 'unpack',
  'php' => '/usr/bin/php',
  'script' => '/var/www/sites/upgrades/CliUpgrader.php',
  'argv' => 
  array (
    0 => '/var/www/sites/upgrades/CliUpgrader.php',
    1 => '-z',
    2 => '/var/www/sites/upgrades/SugarPro-Upgrade-7.1.x-to-7.2.0.zip',
    3 => '-l',
    4 => '/var/www/sites/upgrades/upgrade.log',
    5 => '-s',
    6 => '/var/www/sites/sugarnew',
    7 => '-u',
    8 => 'systeme',
    9 => '-S',
    10 => 'unpack',
  ),
)
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Upgrader v.1.0.0-dev (build 999) starting
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Stage unpack staring
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Checking preflight: PHP
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Checking preflight: SugarFiles
Wed, 18 Jun 2014 14:20:13 +0200 [Upgrader] - Initializig SugarCRM environment
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - DB timeout set to 28800
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Loading language fr_FR from /var/www/sites/sugarnew/install/language
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Loading language file from /var/www/sites/sugarnew/install/language/fr_FR.lang.php
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Loading language fr_FR from /var/www/sites/sugarnew/modules/UpgradeWizard/language
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Loading language file from /var/www/sites/sugarnew/modules/UpgradeWizard/language/fr_FR.lang.php
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Done initializig SugarCRM environment
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: IIS
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: PHPModules
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: PHPSettings
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: WriteUnzip
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: WriteSugar
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: WriteCustom
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: DB
Wed, 18 Jun 2014 14:20:14 +0200 [Upgrader] - Checking preflight: DuplicateUpgrade
Wed, 18 Jun 2014 14:20:15 +0200 [Upgrader] - ERROR: ZIP Error(19): Status(0): Arhive(/var/www/sites/upgrades/SugarPro-Upgrade-7.1.x-to-7.2.0.zip): Directory(/var/www/sites/sugarnew/cache/upgrades/temp)
Wed, 18 Jun 2014 14:20:15 +0200 [Upgrader] - ERROR: Package verificaition failed



What is wrong? what should i do to the sugarnew/cache folder? is it a permission problem??

Thanks for your time,
Gaëlle






Outcomes