AnsweredAssumed Answered

Sugar upgrade from 6.5.7 to 6.5.20 issue

Question asked by John Goode on Apr 17, 2015
I am trying to upgrade Sugar from 6.5.7 to 6.5.20 

I am able to upload the 6.5.20 zip file. And the software passes the preflight check. After I click next on the preflight window. 



The copying files window pops up, and after 60 or so seconds it reloads a new blank page. 



Sugar is running on Windows 2008r2 with IIS 7 and PHP 5.3.27. 
I have changed memory_limit, max_execution_time, max_input_time to large values. (1G, 600, 600)

The PhP log only shows these two warrnings, no fatal errors. I do not think they are related.

[17-Apr-2015 12:31:36 America/New_York] PHP Warning:  unlink(cache/themes/Sugar/pathCache.php): Permission denied in C:\inetpub\wwwroot\sugardev\include\SugarTheme\SugarTheme.php on line 339[17-Apr-2015

12:31:36 America/New_York] PHP Warning:  unlink(cache/themes/Sugar/spriteCache.php): Permission denied in C:\inetpub\wwwroot\sugardev\include\SugarTheme\SugarTheme.php on line 341

The Update log ends with these lines. 

Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - Marking as deletedFri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - Performing UWrebuild()...
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - Registering rebuild record: DELETE FROM versions WHERE name='Rebuild Extensions'
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - Rebuild done.
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - Registering rebuild record in versions table: INSERT INTO versions (id, deleted, date_entered, date_modified, modified_user_id, created_by, name, file_version, db_version) VALUES ('2f792190-4964-1523-bacf-55313a63a507', '0', '2015-04-17 16:54:25', '2015-04-17 16:54:25', '1', '1', 'Rebuild Extensions', '4.0.0', '4.0.0')
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - UWrebuild() done.
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - post_install() done.
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - check if current_db_version in $_SESSION equals target_db_version in $_SESSION
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - finished check to see if current_db_version in $_SESSION equals target_db_version in $_SESSION
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - running deleteChance() function
Fri, 17 Apr 2015 12:54:25 -0400 [UpgradeWizard] - running deleteCache() function

Now the odd part is, when I go check the version in about it says 6.5.20. But it does not seem like it actually upgraded.


I restore to an earlier snapshot and try the silent upgrade.

It also fails;

***************         step1 failed         ***************: 255
***************         silentupgrade failed         ***************: 255

and its log shows 

Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - UWrebuild() done.Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - begin check default permissions .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - end check default permissions .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - begin check logger settings .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - begin check logger settings .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - begin check lead conversion settings .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - end check lead conversion settings .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - begin check resource settings .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - begin check resource settings .
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - Set default_theme to Sugar
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - Set default_max_tabs to 7
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - Upgrade the sugar_version
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - post_install() done.
Fri, 17 Apr 2015 13:07:28 -0400 [UpgradeWizard] - Registering upgrade with UpgradeHistory

The php-error.log is unchanged 


At this point I am at a lost. Somthing is fowling up, But I have no clue to what it is. 

Outcomes