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?
Solved: Wordpress upgrade
-
mister_v
- Posts: 203
- Joined: Thu Mar 04, 2010 9:19 pm
Solved: Wordpress upgrade
Last edited by mister_v on Thu Nov 26, 2020 2:11 pm, edited 1 time in total.
-
chris
- Site Admin
- Posts: 216
- Joined: Mon Jul 21, 2008 9:52 am
Re: Wordpress upgrade
If the webserver-user has write access to the website directory,
an FTP-upload is not needed.
The following command should be enough:
or
The you can retry the automatic-update,
and it should continue.
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-siteCode: Select all
chown -R apache:apache /var/www/name-of-siteand it should continue.