Page 1 of 1

Solved: Wordpress upgrade

Posted: Mon May 20, 2019 8:21 am
by mister_v
Hi,

I want to (automatic) update my wordpress site,
But it asked for a ftp account ?
I'm not comfortable with giving the (root)-account.
I don't see why it is needed.

The plugins can get updated without a problem;
But for wordpress itself it is needed?

Re: Wordpress upgrade

Posted: Mon May 20, 2019 8:05 pm
by chris
If the webserver-user has write access to the website directory,
an FTP-upload is not needed.

The following command should be enough:

Code: Select all

chown -R www-data:www-data /var/www/name-of-site
or

Code: Select all

chown -R apache:apache /var/www/name-of-site
The you can retry the automatic-update,
and it should continue.

Re: Wordpress upgrade

Posted: Thu Nov 26, 2020 2:10 pm
by mister_v
Thanks, that works.