AnsweredAssumed Answered

Cannot upgrade SugarCE from 6.4.x to 6.5.16

Question asked by ebcot ebcot on Jul 17, 2015
Latest reply on Jul 20, 2015 by ebcot ebcot
Hello,

we have SugarCE 6.4.2 (Build 7526) and therefore I use SugarCE-Upgrade-6.4.x-to-6.5.16.zip for the Upgrade Assistent. But after successfully uploading the file the next step is not visible, that means a blank web page. So I used the SilentUpgrader, but it does not work, too. After upgrade there is a blank web page under the SugarCRM URL, too. No login is possible.

I changed all permissions of the Sugar directory to chmod 777 and the owner to the right one, but even this is no solution.

I think the error (I find it in the error.log) is:
[Fri Jul 17 16:00:24 2015] [error] [client 87.139.30.10] PHP Warning:  require_once(include/HTMLPurifier/HTMLPurifier.standalone.php): failed to open stream: Permission denied in /srv/www/HOST/htdocs/include/clean.php on line 38
[Fri Jul 17 16:00:24 2015] [error] [client 87.139.30.10] PHP Fatal error:  require_once(): Failed opening required 'include/HTMLPurifier/HTMLPurifier.standalone.php' (include_path='/srv/www/HOST/htdocs/include/..:.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/HOST/htdocs/include/clean.php on line 38

But the upgrade is successfully, see the console out:
********************************************************************
***************This Upgrade process may take sometime***************
********************************************************************

********************************************************************
*************************** SUCCESS*********************************
********************************************************************
******** If your pre-upgrade Leads data is not showing  ************
******** Or you see errors in detailview subpanels  ****************
************* In order to resolve them  ****************************
******** Log into application as Administrator  ********************
******** Go to Admin panel  ****************************************
******** Run Repair -> Rebuild Relationships  **********************
********************************************************************
and the upgrade.log:
Fri, 17 Jul 2015 13:24:34 +0000 [UpgradeWizard] - *** SILENT UPGRADE INITIATED.
Fri, 17 Jul 2015 13:24:34 +0000 [UpgradeWizard] - *** UpgradeWizard Upgraded 
Fri, 17 Jul 2015 13:24:34 +0000 [UpgradeWizard] - Wait Timeout before change ***** 28800
Fri, 17 Jul 2015 13:24:34 +0000 [UpgradeWizard] - Wait Timeout after change *****
Fri, 17 Jul 2015 13:24:39 +0000 [UpgradeWizard] - Starting post_install()...
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - At updateVersions()... updating config table and sugar_version.php.
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - sugar_version.php successfully updated!
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Deleting old DB version info from config table.
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Inserting updated version info into config table.
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - updateVersions() complete.
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Performing UWrebuild()...
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Registering rebuild record: DELETE FROM versions WHERE name='Rebuild Extensions'
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Rebuild done.
Fri, 17 Jul 2015 13:24:40 +0000 [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 ('b69f238c-0df8-97f1-4b76-55a9029ce8f5', '0', '2015-07-17 13:24:40', '2015-07-17 13:24:40', '1', '1', 'Rebuild Extensions', '4.0.0', '4.0.0')
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - UWrebuild() done.
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - begin check default permissions .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - end check default permissions .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - begin check logger settings .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - begin check logger settings .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - begin check lead conversion settings .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - end check lead conversion settings .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - begin check resource settings .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - begin check resource settings .
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Set default_theme to Sugar
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Set default_max_tabs to 7
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Upgrade the sugar_version
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - post_install() done.
Fri, 17 Jul 2015 13:24:40 +0000 [UpgradeWizard] - Registering upgrade with UpgradeHistory
Fri, 17 Jul 2015 13:24:45 +0000 [UpgradeWizard] - Upgrading user preferences start .
Fri, 17 Jul 2015 13:24:45 +0000 [UpgradeWizard] - Upgrading user preferences finish .
Fri, 17 Jul 2015 13:24:45 +0000 [UpgradeWizard] - Call deleteCache
Fri, 17 Jul 2015 13:24:45 +0000 [UpgradeWizard] - About to repair the database.
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - database repaired
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - Start rebuild relationships.
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - End rebuild relationships.
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - Begin merge_config_si_settings
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - Loading config.php file at (/srv/www/HOST/htdocs/config.php) for merging.
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - config_si.php file at (modules/UpgradeWizard/config_si.php) could not be found.  Skip merging.
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - End merge_config_si_settings
Fri, 17 Jul 2015 13:24:46 +0000 [UpgradeWizard] - Begin upgrade_connectors
Fri, 17 Jul 2015 13:24:47 +0000 [UpgradeWizard] - End upgrade_connectors
Fri, 17 Jul 2015 13:24:47 +0000 [UpgradeWizard] - Taking out the trash, unlinking temp files.
Fri, 17 Jul 2015 13:24:48 +0000 [UpgradeWizard] - Taking out the trash, done.
Fri, 17 Jul 2015 13:24:48 +0000 [UpgradeWizard] - **** Potential PHP generated error messages:
Fri, 17 Jul 2015 13:24:48 +0000 [UpgradeWizard] - ***** SilentUpgrade completed successfully.

Kind regards,
Oliver

Outcomes