Question

How do I enable Wordpress to update itself through its back end?

  • Posted September 30, 2013

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:

<b>To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed.</b> 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?

Subscribe
Share

This comment has been deleted

This comment has been deleted

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>

Bingo! Permissions problems, indeed! <br> <br>Easy fix, my friend: <br> <br><code>sudo chown -R www-data:www-data /var/www</code>