Need help with error Wed Aug 24 15:17:54 2016 [4133][1][FATAL] ERROR: rmdir_recursive(): argument cache/upgrades/temp/GMb7Fb is not a file or a dir.

Hi

My logs have this error when i try to install a module using module loader:

Wed Aug 24 15:17:54 2016 [4133][1][FATAL] ERROR: rmdir_recursive(): argument cache/upgrades/temp/GMb7Fb is not a file or a dir.
I have checked all permissions are fine still this error.

Pls help

Regards
Bobby

Hi,

I’ve not come across this issue myself at any point, but previous posts with similar issues do indeed point towards permissions issues.

As you said, you’ve checked permissions. I assume that you are referring to permissions on the CRM directory?

Just to double check, would it be possible to give a brief detail of what permissions you have running on the CRM Directory?

I also found a post that mentions setting permissions in a few files also.
If you navigate to the config.php file, and find the array:

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

Insert the following values:


'default_permissions' => array (
'dir_mode' => 1517,
'file_mode' => 420,
'user' => '<webservice user>',
'group' => '<webservice user>',
),

(Where I have entered , please enter the user in which the web service runs under. For example, this will likely be www-data for Ubuntu, or possibly apache or daemon for other Linux distros)

Then save, and run a Quick Repair and Rebuild.

If you do the above, are you still experiencing this issue?