An error has occurred during deploy process, your package may not have installed correctly

I have a number of custom modules that used to be redeployable and have been forever, now I have migrated SugarCRM to suiteCRM and installed the latest version I get the above when I try and deploy the module again that was working fine before. I have just reset all file system permissions per but had to use “All other files can be 644 and all other directories can be 755” as when using the other variant I get a 500 error.

Any thougts please?

The file permissions required for SuiteCRM are;

sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php

You will also have to ensure that your owner/group user is set correctly.

Thanks, John