A few days ago an interesting topic came up on the SugarCRM Forums.
In short, a user attempting to upgrade their SugarCRM instance ran into a problem in doing so. The problem was the result of a system limitation imposed by the hosting provider, which in turn affected the functionality of the SugarCRM Upgrade Wizard.
For those not familiar with this wizard, a step within it requires one to upload a zip file -- provided by SugarCRM -- containing the various files needed to complete the upgrade. In this particular case, the system limitation restricted the size of the file which one could upload to a size smaller than the zip file that needed to be uploaded. End result: the upgrade files could not be uploaded, and without completing this step, the upgrade cannot be completed.
However, there is a way to get around this problem, assuming we have the ability to upload files to the server in question through other means, such as FTP or even the File Manager tool in cPanel.
So how do we accomplish this in such a way that SugarCRM thinks the files were uploaded via the Upgrade Wizard? Let us take a look.
We will assume that you have already downloaded the files you intended to use via the Upgrade Wizard. If you have not, do so at this point. Upgrades, patches and other install files are available for download here: http://www.sugarforge.org/frs/?group_id=6.
It is important that you DO NOT modify the contents of the zip file in any way. i.e. Copy the manifest.php file, but not delete it, etc. We will need the original zip file to complete the process.
Lastly, we need to upload the files to the server so that the Upgrade Wizard is tricked into thinking they were uploaded via the normal process. To do so, we will assume we are performing this step via FTP access.
Once the upload completes, you should be able to proceed through the Upgrade Wizard and complete the upgrade of your instance.
Hello Angel, I tried your approach for uploading files to be installed with the module loader. However I don't where to save the files for them to show up in the list of packages to be installed. Do you know how to do it?
ReplyDeleteThanks
I should have said I am running SugarCRM CE 6.4.2
ReplyDeleteFrom the bottom portion of the post...
Delete"All we need to do to complete the step is to upload both the original zip file and the renamed version of the manifest.php file. Upload both files to the /cache/upload/upgrades/patch directory. "
Exactly what I was looking for. Why is this not part of the SugarCRM documentation?!
ReplyDeleteI would assume it is not there because it is hack of the system. One shouldn't have to use this technique, as there is a mechanism built into the software to handle it already. It is only necessary to know it because sometimes people use SugarCRM within environments that are more restrictive than they should be for the purposes of hosting SugarCRM.
DeleteHi Angel, I needed to upgrade my CE platform from 6.1.8 to 6.5.4. I ran into this procedure and everything was working, but when performing the last step (from 6.4 to 6.5.4) I had an error that drives me to bring up the backup and make changes to my database.
ReplyDeleteNow that I rolled back to the 6.1.8 version and want to repeat the procedure, when performing the upgrade wizard having previously uploaded my zip and manifest file, the application is not seeing the files and not working.
Do you have any ideas?
Many thanks in advance