Previously, upgrades for SugarCRM were relatively small in size. However, with the pace at which the industry is evolving, the changes being made to the application to streamline processes, provide the best possible user experience and knowing how users actually interact with application have made the size of the upgrade file and time it takes to process much longer (but still not unbearable).
If you’re managing a SugarCRM system on your own (the system is being hosted by Sugar or by a hosting partner), then you may run into problems when upgrading such as configuration issues – it may just seem like nothing is happening at all during the upgrade.
We’ll now look at what happens if the default installation of Sugar has trouble being upgraded. This is particularly the case when using HostMonster, or any other hosting provider (apart from Sugar themselves, or a SugarCRM hosting partner).
We need to make changes to the php.ini file for your SugarCRM system. These changes are safe for SugarCRM and any other PHP application. This guide assumes your SugarCRM system is installed with HostMonster.
Create Your PHP.INI File
Log in to your HostMonster account (see point 4 of How to Setup SugarCRM Part 1: Installation). Then, go down to the Software/Services area and click on PHP Config.
Leave all the default options as is. Scroll about half way down and click on ‘Install PHP.INI Master File.
Go back to your main cPanel page.
Find the PHP.INI File
Now, go down to the Files section and click on File Manager
If the screen below pops up, just click ‘Go’ to continue.
In the File Manager, scroll down through the main window until you a file called “php.ini”. Click it once, then click on Code Editor at the top of the screen.
Editing the PHP.INI File
There are four lines you need to find and edit. First look for the section called ‘Resource Limits’ around line 225. There are three lines to be changed here.
max_execution_time = 300 max_input_time = 600 memory_limit = 312M
Now, scroll down to about line 485 or search for “upload_max_filesize”. Change that line to:
upload_max_filesize = 128M
Finally, click the ‘Save Changes’ button, then the ‘Close’ button at the top right of the screen.
Continue The Upgrade
Go to your SugarCRM system and complete the upgrade process as outlined in How to Setup SugarCRM Part 4: Upgrading.
If you continue to have problems, consider upgrading to Sugar Professional on a fully managed service by Sugar or another Sugar hosting provider.