Updating SugarCRM from 5.2 to 5.5
SugarCRM’s integrated upgrade wizard, failed to update my Sugar 5.2 install. The diagnose stated that all requirements were met, but then it silently [no explanation given] redirected me to the homepage after the upload of the upgrade package, which in my case was SugarCE-Upgrade-5.2.0-to-5.5.0.zip.
Tired of the failures, I downloaded the silentUpgrade-CE-5.5.1RC.zip. This file unpacks to a single PHP script that should be run from the command prompt: it just works!
Here is my successful command line:
php -f silentupgrade.php c:\_dls_\silentUpgrade-CE-5.5.1RC\upgrade.log c:\webs\mylocal\cgi-bin\sugarcrm administrator
let me detail:
php is the PHP interpreter, and this call without a full path to php.exe will work, because your PATH environment variable should be pointing also to the active PHP system in your PC.
-f is a mandatory command line switch, explained in the README file that goes with the upgrade package.
silentupgrade.php is the script that will be run to upgrade the installation.
c:\_dls_\silentUpgrade-CE-5.5.1RC\upgrade.log is a FULL path to the log file that will be created. It is mandatory to be a FULL path. Your full path may be different, of course.
c:\webs\mylocal\cgi-bin\sugarcrm is a FULL path to the local file system home of the SugarCRM install. It is mandatory to be a FULL path. Your full path may be different, of course.
administrator is a configured SugarCRM user with an administrative profile; this name can be different – it all depends on what you configured during the SugarCRM install, or later, by adding new users/administrators.
Below is a snapshot reporting everything went fine.

1 comment January 28 2010 5:31 am | am | ENG, sw
Now this is the reason why I love this site.