Wordpress Automatic Upgrade FTP

I just installed my first Wordpress site on Linode, and am having trouble using the Automatic Upgrade feature. When it asks for my FTP credentials, I use my node's IP address as the host, and my root username and password. I still get the error "Failed to connect to FTP Server 192.xxx". I've tried selecting both the FTP and FTPS options, and I get the same thing for both.

Does anybody know what I'm doing wrong?

5 Replies

Unless you have installed an FTP server you will not be able to use this upgrade method.

Personally I did install pure-ftp.. some will advise against that for security reasons..

What I do is log in via ssh, chown the wordpress files to whatever user the web server is running under, run the update, then chown them back.

No need for a ftp server that way.

Wordpress's automatic upgrade thing fails if the files aren't writeable by PHP, and it gives the "FTP Denied" message as a result - go figure.

chown the files to the correct user and the auto upgrade thing will work.

-Chris

Can't CURL (php5-curl) do that for you? At least it's OK for me

@caker:

Wordpress's automatic upgrade thing fails if the files aren't writeable by PHP, and it gives the "FTP Denied" message as a result - go figure.

chown the files to the correct user and the auto upgrade thing will work.

-Chris

Something new every day, thanks for that!

@Amar:

Can't CURL (php5-curl) do that for you? At least it's OK for me

Care to elaborate please?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct