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 {} \;

Leave a Reply