Plugin update “Could not create directory” fix on ubuntu server

Login on ssh with root user & run command below

chown -R www-data:www-data /var/www/path-to-wp-directory

sudo find /var/www/path-to-wp-directory/ -type d -exec chmod 755 {} \;

sudo find /var/www/path-to-wp-directory/ -type f -exec chmod 644 {} \;

The following two tabs change content below.

Leave a Reply

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