Upgrading SugarCRM Community Edition from 4.5 to 5.0 is supposed to be a walk in the park, and if you do have the right settings it will be. As in IT everything depends on the little details, SugarCRm wouldn’t be different. Don’t get me wrong I really like SugarCRM that’s why I post errors and “workarounds” here.
While upgrading from version 4.5 to 5.o, using the option to upload from local file,after clicking the upload upgrade button the page would hang for a while and then take me back to the home page without any error message. I checked the installation, checked my PHP.ini and the upload size limit was set to 40M as instructed during the installation. Then I look in more detail at my PHP.ini and noticed that post_limit = 8M… mmm …. stupid detail overlooked and I’m sure I’m not the only one. I increased it to 40M and the upgrade moved very smoothly.
Here is how you do it:
Under Linux (do it as Root or use sudo if applicable)
1 – Open PHP.ini # vi /etc/php5/apache2/php.ini
2 – Scroll down until you see the line post_size_limit = 8M (change 8 to 40)
3 – restart Apache #/etc/init.d/apache2 restart
(the vi editor opens as read-only, to enable editing press “i”, to disable editing press “esc”, to save (write) press “:w” (editing needs to be disabled for this) and to exit “:q” )
Thank you! Your note saved quite a bit of headache.