“Could not create directory. /public_html”

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

If trying to update plugins and you get an error “Could not create directory. /public_html” you can solve with some simple steps.

1. Remove the ‘/wp-content/upgrade’ directory,
2. Recreate the ‘upgrade’ folder (SSH – # mkdir upgrade)
3. Change permissions to 777

If doing through filezillla then thats it, if using root user via command line dont forget to chown ownership

4. chown -R user:usergroup upgrade/

All fixed?

SSH Commands:

root@mail [/home/user/www/wordpress/wp-content] rm -rf upgrade/
root@mail [/home/user/www/wordpress/wp-content]# mkdir upgrade
root@mail [/home/user/www/wordpress/wp-content]# chown user:user upgrade/
root@mail [/home/user/www/wordpress/wp-content]# chmod 777 upgrade/

Thanks for making me page 1 on google for this fix!

Leave a Reply

Your email address will not be published. Required fields are marked *