While installing Extension in Joomla I was getting below error message -
JFolder::create: Could not create directory
Warning! Failed to move file.
Unable to find install package
Solution :-
1. Permission of Files and Directories -
Check the permission for all files and directories. Directory permission should be 755 and file permission should be 644. Below are the command for your reference -
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
( Note - Please make sure to fire the above commands under 'public_html' directory under cPanel. Don't fire it under cPanel >> File Manager. )
2. configuration.php file -
Open 'configuration.php' file of your Joomla Installation and update below path -
public $log_path = './logs';
public $tmp_path = './tmp';
It fixed my issue!