SuiteCRM installing New Modules Error
"Specified directory '' for zip file 'upload://upgrades/module/cert_of_insuranceA252016_06_17_033953.zip' extraction does not exist." including a log file error of "…[FATAL] ERROR: rmdir_recursive(): argument is not a file or a dir."
I created a few new modules for 1 Reason's insurance CRM (customer relationship management system), including one module to allow clients to create and print commercial insurance information online 24/7, but when I tried to upload the module, I received the above errors.
There were two things that I did to correct the error:
I changed the permissions of many files, but I don't think that actually had an impact.
Then, I changed the config.php file in the following manner:
// array ( // Changed 6/16/16 in attempt to fix the uploading of new modules problem // 'dir_mode' => 1533, // 'file_mode' => 493, // 'user' => 'sitecrm', // 'group' => 'sitecrm', // 'chown' => 'sitecrm', // 'chgrp' => 'sitecrm', // ), array ( 'dir_mode' => 1528, 'file_mode' => 432, 'user' => '', 'group' => '', 'chown' => 'sitecrm', 'chgrp' => 'sitecrm', ),
As you can see, I changed the dir_mode and file_mode, and removed the user and group variables. After making the config.php edits, the module uploader worked perfect.
SuiteCRM is a great open-source CRM solution