Replies: 1 comment
-
Have you found a solution yet? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After following this guide to update a plugin you have to SFTP the file, but if you add
define('FS_METHOD', 'direct');
to wp-config.php then it will bypass the FTP, which is great for a development site, but you get a write error when trying to update a simple plugin. I believe the user is nginx and the group is www-data but the following commands does not seem to give write permission in Wordpress to simply update a plugin.sudo chown -R nginx:www-data /usr/share/nginx/html
Wordpress Update Plugin Error Message: Could not create directory. /usr/share/nginx/html/wp-content/upgrade
Beta Was this translation helpful? Give feedback.
All reactions