The uploaded file is not compatible with this version of Sugar…

By | November 3, 2011

Well, this is one of those most common error that used to trouble me when I started working with sugarcrm for the very first time. Fortunately, I have a small trick that might help you folks to get over the error. Note that this may not work with all the modules, but if your luck favours, you might just cross this barrier.

To fix this error, you have to edit the module and make a small tweek. For instance, let me consider a sample module called I made a directory called edit and copied to edit.

cp ./edit
cd ./edit

I’m using a linux debian server and I extracted the package using following command.


Now, I removed the actual package. My current edit directory has all the files in the module.


Now, you should find a file called “manifest.php”. Just edit it and search for “acceptable_sugar_versions”. “acceptable_sugar_versions” is an array that talks about the sugarcrm version on which it can be installed. Just check out a sample code.

‘acceptable_sugar_versions’ => array (
‘regex_matches’ => array (
“5.0.*”, “5.1.*”, “5.2.*”, “5.5.*”, “6.0.*”

Now, all you need to do is to add a regular expression that matches your sugar crm version. Suppose, you are using 6.3.0 your code changes as follows.

‘acceptable_sugar_versions’ => array (
‘regex_matches’ => array (
“5.0.*”, “5.1.*”, “5.2.*”, “5.5.*”, “6.0.*”, “6.3.*”

Now, save the file and re-create the zip file.

Here is how you create the zip file. Make sure you are in the edit directory.

zip -r /home/vamsi/Desktop/ *

The above command would recreate your zip file. Now, try to install the module and it should be installed. Do let me know if this tip helped you.

If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!

Leave a Reply

Your email address will not be published. Required fields are marked *