• Hello, I got error this “Update failed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.” while upgrading quform plugin.
    To resolve this issue, I searched for solution and got solution that, set file directory permission to 755 and file permission to 644 in root directory. And when I have changed the file permissions as per the solution, Now I am getting error while upgrading every plugin and WordPress as well.
    I have also checked this, define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/’);
    this is already defined in wp-config file.
    Error While upgrading plugin and WordPress version is: “Update failed: Download failed. Destination directory for file streaming does not exist or is not writable”.
    Please help , thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, This is usually caused folder permission of wp-content, please change once again the folder permission 755 and try to upgrade.

    Thread Starter prajktareke

    (@prajktareke)

    Thank you for your reply. yes I have tried to set file permission to 755 and tried but no luck. But when I changed permission to 777 it works, but according to security issue its not good. Also I am getting error “gateway timeout” error while upgrading Quform plugin, while all other plugins are upgrading successfully.
    I have searched for the solution, mostly the “Gateway Timeout” error is server side error, and its the fault of server configuration.
    More information: Site is hosted on 2 different servers and we used load balancer to manage loads
    Please help to resolve this issue as well. This is production issue and I need to resolve asap. Waiting to hear from you. Thanks

    • This reply was modified 2 years, 11 months ago by prajktareke.
    Dion

    (@diondesigns)

    Your problem has nothing to do with WordPress; your webserver (Apache or nginx) and PHP are set up incorrectly. You should contact the person who set up the load balancer and have them install PHP-FPM, and then set up PHP-FPM to run as the (non-privileged) user that owns the WordPress filesystem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting file permission error while upgrading WordPress as well as plugins’ is closed to new replies.