Can't download WordPress template in Linode VPS

In WordPress it requires me to provide FTP username & password, I tried both FTP & SFTP, use the server ip address instead of domain name, also changed port to 22 but none of these methods works. I wonder why I can access SFTP in Cyberduck but can't in WordPress, please help :)

2 Replies

This happens when WP is trying to update itself and does not have permission to write to the files/folders. One solution is to recursively chown the entire WP install to 'www-data:www-data', update, then chown it back to the previous owner.

-Tim

It works! THX for the quick reply!

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