The permissions are set as 770 for the upload file and I had the file permissions rechecked today.
When I attempt to deploy a custom module I get the following in the Suite CRM log.
Fri Sep 21 10:47:23 2018 [27193][1][FATAL] ERROR: rmdir_recursive(): argument is not a file or a dir.
Fri Sep 21 10:47:51 2018 [27096][1][FATAL] ERROR: rmdir_recursive(): argument is not a file or a dir.
In the PHP error Log I get the following
Fri Sep 21 11:47:19.441668 2018] [:error] [pid 27193] ] script ‘/var/www/html/cache/index.php’ not found or unable to stat, referer: REDACTED/cache/themes/SuiteP/css/Dawn/style.css?v=ppTqWF1Z2LgrrSPGz-hUeA
[Fri Sep 21 11:47:23.693510 2018] [:error] [pid 27193] [client ] PHP Warning: chown(): Operation not permitted in /var/www/html/include/utils/sugar_file_utils.php on line 330, referer: REDACTED/index.php?module=ModuleBuilder&action=index&type=mb
[Fri Sep 21 11:47:26.425934 2018] [:error] [pid 27216] [client 2] PHP Warning: chown(): Operation not permitted in /var/www/html/include/utils/sugar_file_utils.php on line 330, referer: /index.php?module=ModuleBuilder&action=index&type=mb
[Fri Sep 21 11:47:26.425967 2018] [:error] [pid 27216] [client 2] PHP Warning: chgrp(): Operation not permitted in /var/www/html/include/utils/sugar_file_utils.php on line 359, referer: /index.php?module=ModuleBuilder&action=index&type=mb
[Fri Sep 21 11:47:51.362398 2018] [:error] [pid 25834] [client 8] script ‘/var/www/html/cache/index.php’ not found or unable to stat, referer: REDACTED/cache/themes/SuiteP/css/Dawn/style.css?v=SANegX0BUJEEjTJZhAAdTw
[Fri Sep 21 11:47:51.806000 2018] [:error] [pid 27096] [client ] PHP Warning: chown(): Operation not permitted in /var/www/html/include/utils/sugar_file_utils.php on line 330, referer: /index.php?module=ModuleBuilder&action=index&type=mb
[Fri Sep 21 11:47:53.470030 2018] [:error] [pid 27102] [client ] PHP Warning: chown(): Operation not permitted in /var/www/html/include/utils/sugar_file_utils.php on line 330, referer: /index.php?module=ModuleBuilder&action=index&type=mb
[Fri Sep 21 11:47:53.470061 2018] [:error] [pid 27102] [client ] PHP Warning: chgrp(): Operation not permitted in /var/www/html/include/utils/sugar_file_utils.php on line 359, referer: /index.php?module=ModuleBuilder&action=index&type=mb
When I try to upload a package I do not get an error code in the SUITE CRM log but I do find errors in the php error log
Fri Sep 21 11:53:49.446754 2018] [:error] [pid 27216] [client ] PHP Notice: Undefined variable: manifest_type in /var/www/html/ModuleInstall/PackageManager/PackageManager.php on line 729, referer: REDACTED/index.php?module=Administration&action=index
[Fri Sep 21 11:53:49.446757 2018] [:error] [pid 27216] [client 0] PHP Notice: Undefined variable: manifest_type in /var/www/html/ModuleInstall/PackageManager/PackageManager.php on line 729, referer: REDACTED/index.php?module=Administration&action=index
[Fri Sep 21 11:53:55.546199 2018] [:error] [pid 27228] [client ] PHP Warning: chown(): Operation not permitted in /var/www/html/include/utils/sugar_file_utils.php on line 330, referer: REDACTED /index.php?module=Administration&action=UpgradeWizard&view=module
Looking to see if I can located any similar errors.