On hosts where I didn't have the control over the server that I have now, I could update Wordpress' core, plugins, themes and the like from Wordpress' back end. Now, running multiple sites on virtual servers, if I try to update something, I get the following prompt:
To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed.
Under that are boxes for the Hostname, FTP User, and FTP Password, and then radio buttons for FTP or FTP (SSL).
I've tried the IP address of my server, the name of my server, 'localhost', and the domain name of the site I'm trying to update - none of which work. I'm able to log in to FTP (SSL) with Cyberduck with user/password when pointing to the server's IP, but it seems Wordpress doesn't know what to do with that.
Could someone help me fix this problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.
×
I don’t even have an FTP server, as I’ve soly been using Win SCP port 22 to upload and download files using explorer mode. I’m running an Ubuntu 16.04 SSD VPS, which would probably translate to a droplet in DO terms.
I tried adding # adduser wordpressuser www-data
chown wordpressuser:www-data -R /var/www/html
reboot
The same thing still kept happening.