The client informed me that at any time when he tries to update the plugin, he receives an error message:
To complete the requested action, WordPress must access your web server. Enter your FTP credentials to continue. If you do not remember your credentials, contact your web host.
I do not have FTPd installed on the server, but this seems like a basic permission problem, right? I never had to use FTP credentials to update any other WordPress installations.
Well, I read a little and started messing around with permissions and a long story, because of disappointment, I ended up doing everything that everyone could write down:
sudo chmod -R 777 src
But I still get the same error. So it must be some kind of configuration issue, right?
I ran several commands find . -exec grepto determine if there is a hard-coded document root (as in Joomla), but I came up empty-handed.
- Do I need to install FTPd to update WordPress from the admin interface?
- Is there a configuration file somewhere where the location of the root directory is indicated?
- Is there any other configuration option that I am missing here?
Or maybe this is something in the database? The site was originally on a shared host, but was moved to DigitalOcean VPS a month ago.
source
share