• Resolved whosgoat

    (@whosgoat)


    Hi, when I try to upgrade through the wordpress UI to W3 Total Cache Version 2.1.1, I get the following error:
    “Update failed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.”

    Could you please help? I temporarily updated my permissions to look like this, so I am not sure what the problem can be:

    drwxrwsrwx 2 apache apache 42 Mar 3 01:56 w3tc-config
    drwxrwsrwx 5 apache apache 63 Feb 7 05:09 cache

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @whosgoat

    Thank you for your inquiry and I am happy to assist you with this.
    This issue is usually caused by incorrect file permissions on your server (rather than being a problem with the plugin itself). Basically, WordPress isn’t able to properly access its own plugins folder, and as a result, can’t put the updated Divi Booster files in there.

    It should be possible to solve this by following the instructions in this post.
    In the “list of critical files and folders” make sure that the “wp-content/” and “wp-content/plugins/” directories are set to the recommended permissions.
    If you’re not comfortable doing this yourself, your WebHost may be able to make the necessary permissions changes for you.
    Thanks!

    Thread Starter whosgoat

    (@whosgoat)

    Thank you for your reply. I used the plugin you mentioned, and updated all of the permissions (all are green now). However, I still get the same error. Are there any other possible causes?

    Thanks!
    Greg

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @whosgoat

    Nothing related to W3 Total Cache but with your environment and the permissions.
    Try completely removing and re-installing the W3 Total Cache.
    1. Purge Cache
    2. Deactivate and Delete Plugin
    3. Check .htaccess File (make backup)
    W3TC will create many directives in .htaccess file to control the caching behavior. Each section will start and end with comments like “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache core”.
    Ensure that no residual entries are left over in your .htaccess file after deleting the plugin.
    4. Delete wp-content files and folders
    – cache folder
    – w3tc-config folder
    – object-cache.php (if exists)
    – advanced-cache.php (if exists)
    – dbcache.php (if exists)
    – upgrade folder
    – delete w3-total-cache folder in wp-content (if exists)
    5. Delete Cached Files from CDN (if using CDN)
    Besides deleting all the relevant files, if you use CDN then ensure to purge the cached content from your CDN. This is necessary when you enabled minify option in W3TC settings. You should delete the minified and combined scripts and CSS files from your CDN server to avoid the site breaking on the browser.
    6. Go to your wp dashboard and re-install W3 Total Cache
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot upgrade to Version 2.1.1 – File Permissions Issue’ is closed to new replies.