• Resolved Steve

    (@steveatty)


    I use SSH to update my site (the web process owner does not own any of the core files or directories and simply has read access).

    Since the WordPress 4.3 update the SHH method of updating is failing with errors like:

    Unpacking the update…
    Installing the latest version…
    Removing the old version of the plugin…
    Plugin update failed.
    
    An error occurred while updating Custom Facebook Feed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. fonts, img, js, custom-facebook-feed-admin.php, README.txt, css, custom-facebook-feed.php, gpl-2.0.txt, fonts/fontawesome-webfont.ttf, fonts/fontawesome-webfont.svg, fonts/fontawesome-webfont.woff, fonts/fontawesome-webfont.eot, fonts/fontawesome-webfont.woff2, fonts/FontAwesome.otf, img/layout-half.png, img/loader-light.gif, img/layout-full.png, img/pro.png, img/layout-thumb.png, js/cff-scripts.js, js/cff-admin-scripts.js, css/font-awesome.min.css, css/cff-admin-style.css, css/cff-style.css

    I’ve checked that the files are still owned by the user the SSH connects as and if I manually download and upload the files using the same user it works.

    So that suggests something is broken in the SSH update process.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Steve

    (@steveatty)

    OK here’s an update.

    Permissions on the directories looked like this:

    drwxr-xr-x  5 wooble www-data  4096 Aug 12 19:52 nextgen-gallery

    and I use wooble as the SSH user to do the updates

    This used to work – it no longer does.

    I changed the permssions using chmod -R g+w to change the permissions to

    drwxrwxr-x 5 wooble www-data 4096 Aug 12 19:52 nextgen-gallery

    I ran the updates and it worked. So obviously the process that is running the upgrade is running was www-data and NOT as wooble.

    AFTER the update had completed the permissions had been changed BACK to how I’d initially got them set up

    drwxr-xr-x 5 wooble www-data 4096 Aug 29 09:05 nextgen-gallery

    …. so the next update will fail.

    If anyone can confirm this then I’ll raise it as a bug.

    Thread Starter Steve

    (@steveatty)

    Apparently its a know bug (I found it by digging right down through the sticky post)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updates fail since the 4.3 upgrade’ is closed to new replies.