• my site is hosted on digital ocean and recently moved to a Digital ocean droplet – since then i am getting this error when ever i update any plugin.

    Update Failed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.

    but when i check the wp-content or even plugin folders they are all 755 permissions – so i am not whats wrong

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @aapta

    It seems your droplet has FTP issue this is why your WordPress can’t download the plugin update to your server. You can override this FTP by using following code to the end of your wp-config.php file,
    define(‘FS_METHOD’,’direct’);

    I hope it will fix your issue.

    Thanks

    Thread Starter aapta

    (@aapta)

    i did that yet i seem to have same problem

    Hi,

    Your WordPress folders owner should be apache (For Debian based distro it will be www-data and RedHat based distro it will be apache)
    I think this is why your apache can’t write the plugin files to your web folder.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Updating Plugin’ is closed to new replies.