Cannot upload a Module using Module Loader

Hello again, I have preogressed tremendously with SuiteCRM, but from time to time, I come across some trouble. Here is the issue.

I am using all these packages for my webserver installation: (under a FreeNAS jail)

p5-Net-SMTP-SSL-1.04           SSL support for Net::SMTP
p5-Net-SSLeay-1.80             Perl5 interface to SSL
p5-Socket-2.024                Networking constants and support functions
pcre-8.40                      Perl Compatible Regular Expressions library
perl5-5.24.1                   Practical Extraction and Report Language
php56-5.6.30                   PHP Scripting Language
php56-bz2-5.6.30               The bz2 shared extension for php
php56-ctype-5.6.30             The ctype shared extension for php
php56-curl-5.6.30              The curl shared extension for php
php56-filter-5.6.30            The filter shared extension for php
php56-gd-5.6.30                The gd shared extension for php
php56-iconv-5.6.30             The iconv shared extension for php
php56-imap-5.6.30              The imap shared extension for php
php56-json-5.6.30              The json shared extension for php
php56-mbstring-5.6.30          The mbstring shared extension for php
php56-mcrypt-5.6.30            The mcrypt shared extension for php
php56-mysqli-5.6.30            The mysqli shared extension for php
php56-openssl-5.6.30           The openssl shared extension for php
php56-session-5.6.30           The session shared extension for php
php56-xml-5.6.30               The xml shared extension for php
php56-zip-5.6.30               The zip shared extension for php
php56-zlib-5.6.30              The zlib shared extension for php
phpMyAdmin-4.6.6               Set of PHP-scripts to manage MySQL over the web
pkg-1.9.4_1                    Package manager
png-1.6.28                     Library for manipulating PNG images
printproto-1.0.5               Print extension headers
python27-2.7.13_1              Interpreted object-oriented programming language
redis-3.2.8                    Persistent key-value database with built-in net interface
serf-1.3.9_1                   Serf HTTP client library
sqlite3-3.16.2                 SQL database engine in a C library
subversion-1.9.5               Version control system
t1lib-5.1.2_4,1                Type 1 font rasterization library for Unix/X11
xextproto-7.3.0                XExt extension headers
xproto-7.0.31                  X11 protocol headers
root@suitecrm:~ #

I am trying to upload a Module Called SendSMS, and when i try to do so, the following error pops up:

Specified directory '' for zip file 'upload://sendsms.zip' extraction does not exist.

This is what the log says:

Sun Feb 26 13:13:51 2017 [48306][1][FATAL] ERROR: rmdir_recursive(): argument  is not a file or a dir.
Sun Feb 26 13:16:40 2017 [48430][1][FATAL] ERROR: rmdir_recursive(): argument  is not a file or a dir.
Sun Feb 26 13:17:55 2017 [48490][1][FATAL] ERROR: rmdir_recursive(): argument  is not a file or a dir.
Sun Feb 26 13:18:35 2017 [48494][1][FATAL] ERROR: rmdir_recursive(): argument  is not a file or a dir.
Sun Feb 26 13:27:39 2017 [48806][1][FATAL] ERROR: rmdir_recursive(): argument  is not a file or a dir.
Sun Feb 26 13:30:43 2017 [48816][1][FATAL] ERROR: rmdir_recursive(): argument  is not a file or a dir.
Sun Feb 26 13:36:49 2017 [49029][1][FATAL] ERROR: rmdir_recursive(): argument  is not a file or a dir.

After extensive googling and looking around, it appears to be a permissions issue:

This are the permissions and the user:group for the sendsms.zip:

-rwxrwxrwx   1 www   www      68061 Feb 26 13:39 sendsms.zip*

This is my config.php:

 'default_permissions' =>
  array (
    'dir_mode' => 1528,
    'file_mode' => 493,
    'user' => '',
    'group' => '',
  ),

This is my config_override.php


<?php
/***CONFIGURATOR***/
$sugar_config['disable_persistent_connections'] = false;
$sugar_config['default_module_favicon'] = false;
$sugar_config['default_permissions']['user'] = '';
$sugar_config['default_permissions']['group'] = '';
$sugar_config['dashlet_auto_refresh_min'] = '30';
$sugar_config['stack_trace_errors'] = false;
$sugar_config['developerMode'] = true;
$sugar_config['import_max_records_total_limit'] = '9999999';
$sugar_config['logger']['file']['maxSize'] = '45MB';
$sugar_config['logger']['file']['maxLogs'] = '25';
$sugar_config['upload_maxsize'] = '92056000';
$sugar_config['passwordsetting']['SystemGeneratedPasswordON'] = '0';
$sugar_config['passwordsetting']['forgotpasswordON'] = '0';
$sugar_config['SAML_loginurl'] = '';
$sugar_config['SAML_X509Cert'] = '';
$sugar_config['authenticationClass'] = '';
$sugar_config['email_xss'] = 'YToxMzp7czo2OiJhcHBsZXQiO3M6NjoiYXBwbGV0IjtzOjQ6ImJhc2UiO3M6NDoiYmFzZ$
/***CONFIGURATOR***/

This are all the permissions for the SuiteCRM directory: (which are under /usr/local/www/apache24/data/)

drwxr-xr-x  17 www  www  53 Feb 26 13:36 suitecrm/
total 627
-rwxr-xr-x    1 www  www    1413 Feb 17 13:10 .htaccess*
-rwxr-xr-x    1 www  www    2811 Feb 17 11:01 HandleAjaxCall.php*
-rwxr-xr-x    1 www  www   34539 Feb 17 11:01 LICENSE.txt*
drwxr-xr-x    3 www  www       6 Feb 17 11:01 ModuleInstall/
-rwxr-xr-x    1 www  www    2655 Feb 17 11:01 README.md*
-rwxr-xr-x    1 www  www    5327 Feb 17 11:01 SugarSecurity.php*
-rwxr-xr-x    1 www  www    5843 Feb 17 11:01 TreeData.php*
drwxr-xr-x    2 www  www       4 Feb 17 11:01 XTemplate/
drwxr-xr-x    8 www  www      16 Feb 17 11:01 Zend/
drwxrwxr-x   15 www  www      15 Feb 26 13:36 cache/
-rwxr-xr-x    1 www  www    3590 Feb 17 11:01 campaign_tracker.php*
-rwxr-xr-x    1 www  www   10694 Feb 26 13:53 config.php*
-rwxrwxr-x    1 www  www    1317 Feb 26 13:54 config_override.php*
-rwxr-xr-x    1 www  www    3922 Feb 17 11:01 cron.php*
-rwxr-xr-x    1 www  www    2446 Feb 17 11:01 crossdomain.xml*
drwxrwxr-x    9 www  www      10 Feb 26 12:38 custom/
drwxrwxr-x    3 www  www       7 Feb 17 11:01 data/
-rwxr-xr-x    1 www  www    2388 Feb 17 11:01 dictionary.php*
-rwxr-xr-x    1 www  www   12403 Feb 17 11:01 download.php*
-rwxr-xr-x    1 www  www    2392 Feb 17 11:01 emailmandelivery.php*
-rwxr-xr-x    1 www  www    4912 Feb 17 11:01 export.php*
-rwxr-xr-x    1 www  www  967627 Feb 17 11:01 files.md5*
-rwxr-xr-x    1 www  www    2371 Feb 17 11:01 ical_server.php*
drwxr-xr-x   56 www  www      86 Feb 17 11:01 include/
-rwxr-xr-x    1 www  www    2374 Feb 17 11:01 index.php*
drwxr-xr-x    6 www  www      46 Feb 17 13:10 install/
-rwxr-xr-x    1 www  www   21883 Feb 17 13:10 install.log*
-rwxr-xr-x    1 www  www   30016 Feb 17 11:01 install.php*
-rwxr-xr-x    1 www  www   13373 Feb 17 11:01 json_server.php*
drwxr-xr-x    3 www  www       8 Feb 17 11:01 jssource/
-rwxr-xr-x    1 www  www    2313 Feb 17 11:01 log_file_restricted.html*
-rwxr-xr-x    1 www  www    2376 Feb 17 11:01 maintenance.php*
drwxr-xr-x    2 www  www      87 Feb 17 11:01 metadata/
drwxrwxr-x  112 www  www     114 Feb 17 11:01 modules/
-rwxr-xr-x    1 www  www    2890 Feb 17 11:01 pdf.php*
-rwxr-xr-x    1 www  www      73 Feb 17 11:01 robots.txt*
-rwxr-xr-x    1 www  www    3588 Feb 17 11:01 run_job.php*
drwxr-xr-x   11 www  www      11 Feb 17 11:01 service/
drwxr-xr-x    2 www  www      13 Feb 17 11:01 soap/
-rwxr-xr-x    1 www  www    4091 Feb 17 11:01 soap.php*
-rwxr-xr-x    1 www  www     154 Feb 17 11:01 sugar_version.json*
-rwxr-xr-x    1 www  www    2263 Feb 17 11:01 sugar_version.php*
-rwxr-xr-x    1 www  www  123836 Feb 17 13:10 sugarcrm.log*
-rwxr-xr-x    1 www  www  208766 Feb 26 13:36 suitecrm.log*
-rwxr-xr-x    1 www  www     169 Feb 17 11:01 suitecrm_version.php*
-rwxr-xr-x    1 www  www     957 Feb 17 11:01 testinstall.php*
drwxrwxr-x    6 www  www       6 Feb 17 11:01 themes/
-rwxr-xr-x    1 www  www    3471 Feb 26 13:38 upgradeWizard.log*
drwxr-xr-x    4 www  www    1529 Feb 26 13:44 upload/
-rwxr-xr-x    1 www  www    2980 Feb 17 11:01 vCard.php*
-rwxr-xr-x    1 www  www    2707 Feb 17 11:01 vcal_server.php*

If anybody has any idea, please let me know…! THANKS in advance…!

I think I have narrowed it down to being the installation environment, and I think that is the issue because I have created a VM on a different computer and installed CentOS and accessed the SuiteCRM installation using Gnome desktop, and the module works just fine. Also, I have installed SuiteCRM on a remote server I use for hosting websites and such, and it also works. Meaning that the problem is my installation environment.

Now, the question is, what other packages do i need to install? Any ideas? Something to do with Writable Upload Directory?

Anybody have any idea? suggestion? please, I really need to fix this :dry: I think its something with the installation environment, some package that I did NOT add, because that happened to me when I tried to import contacts, I had to install the -iconv- package otherwise it would not let me import contacts. Anybody?>

Do you guys have NO SUGGESTION? really? like an idea, a thought, something I could try, idk something?

I make a really nice post, with all the info anyone could probably need, and get 0 responses? is the issue like impossible to fix? please help me!

have you tired setting user and group in configoveride

$sugar_config[‘default_permissions’][‘user’] = ‘’;
$sugar_config[‘default_permissions’][‘group’] = ‘’;

mine are apache

just a thought i am no expert i think this sets the ownership created files its probably worth doing even if this isnt the problem