Upgrading problem

I am using a CentOs server that managed with Plesk panel. All domains have different users. I have 2 different installation of WordPress. One is installed from FTP and the other one is installed from Plesk.

WP installed from FTP cannot be updated from admin panel of WP. The error is;

Read More

Downloading update from
http://wordpress.org/wordpress-3.4.2-no-content.zip…

Unpacking the update…

Could not copy files.

Installation Failed

WP installed from Plesk can be updated successfully from admin panel of WP. So I check the permissions and file ownership and did the same as WP installed from Plesk. But it doesn’t fix the issue.

Any suggestion?

PS: I know how to update from FTP.
PS2: I won’t disable ‘define(‘FS_METHOD’, ‘direct’);’.

Related posts

Leave a Reply

3 comments

  1. Just because you have write access from the ftp user doesn’t mean that the user Apache/PHP is running in has write access.

    I’d advise you upgrade manually, or check your write permissions and ownership for whichever user Apache is running as on those files.

  2. Try to run these commands (Commands are for both Dashboard and ftp)

    sudo usermod -aG www-data $USER
    
    sudo chown -R www-data:www-data /var/www
    
    sudo chmod -R 774 /var/www