Updating Plugins Fails after 2.0.1 Upgrade

Hey,

I just updated to the new Local v 2.0.1. Now when updating plugins in the admin area, they fail with a message of “Update Failed: Could not remove the old plugin.”. Seems usually like a permissions issue, but is odd as it’s a local dev environment. I am on macOS Sierra

Any ideas?

Thanks,
-Lee

1 Like

Same problem here with OSX Sierra.

Same problem here. Also broke Divi theme.
The update fails and removes items from the plugin/theme folder so you need to replace the entire thing again.
When I tried a second time, I updated each plugin individually, which worked.
Then, another batch update failed.
Also on Sierra.

UPDATE - installed 2.02 and, after going through headless-restart bits with VirtualBox, everything seems fine now. Just did plugin update and it worked. Maybe the VirtualBox headless restart is required for everyone, not just those experiencing hanging after update to 2.02?

Intermittently same problem here – local 2.0 on macOS sierra 10.12.5.

Same here, on Mac Sierra, not just with Divi plugins but even CF7 and the like. Is there at least a way to roll back to the previous version until this is fixed? I use it all the time for development work and it’s crushing my workflow :frowning:

Having the same problem…I have to remove the plugin folder manually. This seems to be happening on all my existing sites after the update. I’m on MacOS Sierra, 10.12.5, Local version is 2.0.1

Noticed that when I went to remove the plugin folder, a number of the files inside were missing, including the php that makes it recognisable by the admin. Basically, everything except what was inside subfolders had been deleted.

Edit:

This is still happening after the 2.0.2 update.

Edit:

Example:
(updated vs pre-update)

We’re looking into this.

Thanks everyone for the info!


Edit: We haven’t been able to reproduce this on our installations so we’d like to gather some more information.

If anyone is having this problem and wants to help out, please try the following:

  1. Right-click on the site having trouble in Local
  2. Go to “Open Site SSH”
  3. Run and save the output of df -T /app/public/wp-content/plugins
  4. Run and save the output of ls -la /app/public/wp-content/plugins
  5. Reply here with the output of those two commands
Filesystem                                             Type 1K-blocks      Used Available Use% Mounted on
192.168.75.1:/Users/Lexi/Local Sites/diviblueprint/app nfs  340820352 231569152 108995200  68% /app
root@900ada8c2803:/# 
total 104
drwxr-xr-x 25 501 dialout  850 Jun  2 12:51 .
drwxr-xr-x  8 501 dialout  272 Jun  2 12:51 ..
-rw-r--r--  1 501 dialout 6148 Jun  2 12:51 .DS_Store
drwxr-xr-x  3 501 dialout  102 May 20 16:53 Divi Widget Builder
drwxr-xr-x  6 501 dialout  204 May 20 16:51 child-theme-wizard
drwxr-xr-x 15 501 dialout  510 May 20 17:10 codelights-shortcodes-and-widgets
drwxr-xr-x 12 501 dialout  408 Jun  1 12:48 contact-form-7
drwxr-xr-x 17 501 dialout  578 Jun  1 13:00 divi-builder
drwxr-xr-x 13 501 dialout  442 May 20 17:15 duplicator
drwxr-xr-x 10 501 dialout  340 Jun  1 12:48 google-analytics-for-wordpress
-rw-r--r--  1 501 dialout   28 May 19 14:33 index.php
drwxr-xr-x 13 501 dialout  442 Jun  1 12:48 mailchimp-for-wp
drwxr-xr-x 12 501 dialout  408 May 20 17:10 smart-slider-3
drwxr-xr-x 14 501 dialout  476 Jun  2 12:41 so-widgets-bundle
drwxr-xr-x  8 501 dialout  272 May 20 17:10 tm-woocommerce-package
drwxr-xr-x 15 501 dialout  510 May 20 17:10 use-any-font
drwxr-xr-x  6 501 dialout  204 May 20 16:56 woo-checkout-field-editor-pro
drwxr-xr-x 11 501 dialout  374 May 20 16:51 woocommerce
drwxr-xr-x  8 501 dialout  272 Jun  1 12:47 woocommerce-jetpack
drwxr-xr-x 14 501 dialout  476 Jun  2 12:51 wordfence
drwxr-xr-x 17 501 dialout  578 Jun  1 12:49 wordpress-seo
drwxr-xr-x 10 501 dialout  340 May 20 17:09 worker
drwxr-xr-x 11 501 dialout  374 May 20 17:08 wp-maintenance-mode
drwxr-xr-x 10 501 dialout  340 Jun  1 12:49 wp-smushit
drwxr-xr-x 14 501 dialout  476 May 20 16:55 wp-super-cache
root@900ada8c2803:/# 

These plugins are all deactivated (the ones I don’t use during development get removed), since I use this site to update and create a blueprint for my other sites.
But this is the case for every site I have on Local at the moment.

1 Like

@lexiblack

Thanks! We’re continuing to look into this.

1 Like
Filesystem                                     Type 1K-blocks      Used Available Use% Mounted on
192.168.75.1:/Users/chadbush/www/ravensegg/app nfs  936852928 447600704 488996224  48% /app`
total 204
drwxr-xr-x 49 501 dialout 1666 Jun  2 23:45 .
drwxr-xr-x 10 501 dialout  340 Jun  2 23:46 ..
-rw-r--r--  1 501 dialout 8196 Jun  2 23:45 .DS_Store
drwxr-xr-x 11 501 dialout  374 Dec  5 05:22 adminimize
drwxr-xr-x  8 501 dialout  272 Jun  2 23:37 advanced-custom-field-repeater-collapser
drwxr-xr-x 13 501 dialout  442 Jun  2 23:33 advanced-custom-fields-pro
drwxr-xr-x  6 501 dialout  204 Oct  6  2016 ajax-thumbnail-rebuild
drwxr-xr-x  4 501 dialout  136 Oct  6  2016 ambrosite-nextprevious-post-link-plus
drwxr-xr-x 22 501 dialout  748 Jun  2 23:12 backupbuddy
drwxr-xr-x 10 501 dialout  340 Apr  4 23:25 custom-post-type-ui
drwxr-xr-x  7 501 dialout  238 Jun  2 23:44 debug-bar
drwxr-xr-x 11 501 dialout  374 Apr 10 19:21 duplicate-post
drwxr-xr-x 10 501 dialout  340 Feb 15 17:58 enable-media-replace
drwxr-xr-x  5 501 dialout  170 Jun  2 23:33 file-renaming-on-upload
drwxr-xr-x  8 501 dialout  272 Oct  6  2016 force-regenerate-thumbnails
drwxr-xr-x  7 501 dialout  238 Jun  2 23:33 ga-google-analytics
drwxr-xr-x  8 501 dialout  272 Oct  6  2016 gravity-forms-css-ready-selector
drwxr-xr-x 32 501 dialout 1088 May 25 03:40 gravityforms
drwxr-xr-x  4 501 dialout  136 Oct  6  2016 hide-youtube-related-videos
drwxr-xr-x 10 501 dialout  340 Jun  2 23:44 imsanity
-rw-r--r--  1 501 dialout   30 Jul  1  2011 index.php
drwxr-xr-x 19 501 dialout  646 Jun  2 23:37 iwp-client
drwxr-xr-x  8 501 dialout  272 Mar  9 07:19 jquery-collapse-o-matic
drwxr-xr-x  4 501 dialout  136 Jun  2 23:33 kiwi-social-share
drwxr-xr-x 19 501 dialout  646 Feb 15 17:59 members
drwxr-xr-x 10 501 dialout  340 Jan 18 16:36 options-pixie
drwxr-xr-x  5 501 dialout  170 Oct  6  2016 php-compatibility-checker
drwxr-xr-x 10 501 dialout  340 Oct  6  2016 protected-posts-logout-button
drwxr-xr-x 10 501 dialout  340 Dec  4 17:54 require-featured-image
drwxr-xr-x  7 501 dialout  238 Oct  6  2016 restricted-site-access
drwxr-xr-x 14 501 dialout  476 Oct  6  2016 safe-redirect-manager
drwxr-xr-x  9 501 dialout  306 Apr  4 23:26 simple-custom-post-order
drwxr-xr-x  7 501 dialout  238 Oct  6  2016 simple-image-widget
drwxr-xr-x  5 501 dialout  170 Oct  6  2016 simply-show-ids
drwxr-xr-x 11 501 dialout  374 Apr 10 19:21 so-clean-up-wp-seo
drwxr-xr-x  7 501 dialout  238 Jun  2 23:33 social-networks-auto-poster-facebook-twitter-g
drwxr-xr-x  5 501 dialout  170 Oct  6  2016 stop-spam-comments
drwxr-xr-x  6 501 dialout  204 Jun  2 23:33 the-events-calendar
drwxr-xr-x  9 501 dialout  306 Oct  6  2016 theme-check
drwxr-xr-x  8 501 dialout  272 Dec  4 17:54 typekit-fonts-for-wordpress
drwxr-xr-x  8 501 dialout  272 Oct  6  2016 user-switching
drwxr-xr-x  3 501 dialout  102 Jun  2 23:33 widget-logic
drwxr-xr-x  7 501 dialout  238 Jun  2 23:33 woocommerce
drwxr-xr-x 12 501 dialout  408 Oct  6  2016 woothemes-updater
drwxr-xr-x 17 501 dialout  578 Jun  2 23:45 wordpress-seo
drwxr-xr-x  8 501 dialout  272 Dec 26 23:38 wp-migrate-db-pro
drwxr-xr-x  8 501 dialout  272 Dec 26 23:38 wp-migrate-db-pro-media-files
drwxr-xr-x 10 501 dialout  340 Oct  6  2016 wp-pagenavi
drwxr-xr-x 10 501 dialout  340 Mar  9 07:20 wp-sweep

I’m having the same problem. I took this after re-installing a bunch of plugins. The main plugin directories were left, but essential plugin files were deleted. This has just cost me a lot of time.

Tried but have so far been unable to replicate the problem using local 2.0.2, using both Apache or NGiNX as webserver.

Edit: found a site where a plugins php files were deleted while updating yesterday:

    Filesystem                                     Type 1K-blocks      Used Available Use% Mounted on
192.168.75.1:/Users/philby/Sites/zerowaste/app nfs  467664896 375508416  91900480  81% /app
    root@cf67b0231709:/# ls -la /app/public/wp-content/plugins
total 132
drwxr-xr-x 32 501 dialout 1088 Jun  2 07:42 .
drwxr-xr-x 14 501 dialout  476 Jun  3  2017 ..
-rw-r--r--  1 501 dialout 6148 Jun  3 14:29 .DS_Store
drwxr-xr-x 15 501 dialout  510 Jan 23 22:27 LayerSlider
drwxr-xr-x 10 501 dialout  340 May 25 09:50 admin-columns-pro
drwxr-xr-x 13 501 dialout  442 May 18 19:21 advanced-custom-fields-pro
drwxr-xr-x 15 501 dialout  510 Jan 23 22:27 basic-google-maps-placemarks
drwxr-xr-x  5 501 dialout  170 May 25 09:50 cac-addon-acf
drwxr-xr-x  9 501 dialout  306 Jan 23 22:27 cmsms-content-composer
drwxr-xr-x 10 501 dialout  340 May 25 09:50 custom-post-type-ui
drwxr-xr-x  7 501 dialout  238 May 25 10:03 facetwp
drwxr-xr-x  6 501 dialout  204 Jun  2 07:42 facetwp-conditional-logic
drwxr-xr-x  3 501 dialout  102 Jun  1 07:17 facetwp-hierarchy-select
drwxr-xr-x 13 501 dialout  442 May 21 12:59 facetwp-map
drwxr-xr-x  5 501 dialout  170 Mar 17 13:41 facetwp-polylang
drwxr-xr-x  7 501 dialout  238 May 25 09:48 google-analytics-dashboard-for-wp
drwxr-xr-x 32 501 dialout 1088 May 25 10:03 gravityforms
drwxr-xr-x  8 501 dialout  272 Apr 23 14:13 gravityformsmailchimp
drwxr-xr-x  6 501 dialout  204 Mar  1 20:48 gravityformspaypalpaymentspro
drwxr-xr-x  9 501 dialout  306 May  5 10:12 gravityformsstripe
drwxr-xr-x  9 501 dialout  306 Mar  1 20:47 gravityformsuserregistration
-rw-r--r--  1 501 dialout   28 Jan 23 22:24 index.php
drwxr-xr-x  5 501 dialout  170 Mar  1 20:51 integrate-gravity-forms-polylang
drwxr-xr-x 19 501 dialout  646 Feb  8 14:27 members
drwxr-xr-x 17 501 dialout  578 Jun  1 07:14 polylang
drwxr-xr-x  6 501 dialout  204 Jun  2 07:43 the-events-calendar
drwxr-xr-x  6 501 dialout  204 Jan 23 22:27 wordpress-importer
drwxr-xr-x 10 501 dialout  340 Apr 23 14:13 worker
drwxr-xr-x  8 501 dialout  272 Jan 23 22:28 wp-migrate-db-pro
drwxr-xr-x  8 501 dialout  272 Jan 23 22:28 wp-migrate-db-pro-media-files
drwxr-xr-x  9 501 dialout  306 Feb 28 16:37 wp-rocket
drwxr-xr-x  4 501 dialout  136 Jun  2 08:02 zerowaste-plugin

(The plugin in question is Tribe’s the-event-calendar, BTW)

OK, just got another hit using local 2.0.3:

    df -T /app/public/wp-content/plugins
    Filesystem                                     Type 1K-blocks      Used Available Use% Mounted on
    192.168.75.1:/Users/philby/Sites/zerowaste/app nfs  467664896 361874880 105534016  78% /app

and

    ls -la /app/public/wp-content/plugins
    total 132
    drwxr-xr-x 32 501 dialout 1088 Jun  7 08:48 .
    drwxr-xr-x 14 501 dialout  476 Jun  7 08:49 ..
    -rw-r--r--  1 501 dialout 6148 Jun  7 08:50 .DS_Store
    drwxr-xr-x 15 501 dialout  510 Jan 23 22:27 LayerSlider
    drwxr-xr-x  4 501 dialout  136 Jun  7 08:49 admin-columns-pro
    drwxr-xr-x 13 501 dialout  442 May 18 19:21 advanced-custom-fields-pro
    drwxr-xr-x 15 501 dialout  510 Jan 23 22:27 basic-google-maps-placemarks
    drwxr-xr-x  5 501 dialout  170 May 25 09:50 cac-addon-acf
    drwxr-xr-x  9 501 dialout  306 Jan 23 22:27 cmsms-content-composer
    drwxr-xr-x 10 501 dialout  340 May 25 09:50 custom-post-type-ui
    drwxr-xr-x  7 501 dialout  238 May 25 10:03 facetwp
    drwxr-xr-x  6 501 dialout  204 Jun  2 07:42 facetwp-conditional-logic
    drwxr-xr-x  3 501 dialout  102 Jun  1 07:17 facetwp-hierarchy-select
    drwxr-xr-x 13 501 dialout  442 May 21 12:59 facetwp-map
    drwxr-xr-x  5 501 dialout  170 Mar 17 13:41 facetwp-polylang
    drwxr-xr-x  7 501 dialout  238 May 25 09:48 google-analytics-dashboard-for-wp
    drwxr-xr-x 32 501 dialout 1088 May 25 10:03 gravityforms
    drwxr-xr-x  8 501 dialout  272 Apr 23 14:13 gravityformsmailchimp
    drwxr-xr-x  6 501 dialout  204 Mar  1 20:48 gravityformspaypalpaymentspro
    drwxr-xr-x  9 501 dialout  306 May  5 10:12 gravityformsstripe
    drwxr-xr-x  9 501 dialout  306 Mar  1 20:47 gravityformsuserregistration
    -rw-r--r--  1 501 dialout   28 Jan 23 22:24 index.php
    drwxr-xr-x  5 501 dialout  170 Mar  1 20:51 integrate-gravity-forms-polylang
    drwxr-xr-x 19 501 dialout  646 Feb  8 14:27 members
    drwxr-xr-x 17 501 dialout  578 Jun  1 07:14 polylang
    drwxr-xr-x  5 501 dialout  170 Jun  7 08:49 the-events-calendar
    drwxr-xr-x  6 501 dialout  204 Jan 23 22:27 wordpress-importer
    drwxr-xr-x 10 501 dialout  340 Apr 23 14:13 worker
    drwxr-xr-x  8 501 dialout  272 Jan 23 22:28 wp-migrate-db-pro
    drwxr-xr-x  8 501 dialout  272 Jan 23 22:28 wp-migrate-db-pro-media-files
    drwxr-xr-x  9 501 dialout  306 Feb 28 16:37 wp-rocket
    drwxr-xr-x  6 501 dialout  204 Jun  6 16:19 zerowaste-plugin

@clay Is switching off “Faster Docker Volumes” the recommended way to get around this bug?

Same problem.

If anyone is having this issue please go to Preferences » Advanced and disable Faster Docker Volumes.

This should resolve the issue at the expense of a speed decrease. We’ll continue to look into why this is happening though.

Hi Clay,

Thanks for giving us updates on this issue :slight_smile:

I do not have that option under Preferences > Advanced, I also noticed I’m on 2.0.1, what is the best way to update? I haven’t received a notification anywhere that I can see. My site that was getting the errors when updating plugins has now white screened and I’m kinda stuck.

1 Like

@clay In the latest version of Local by Flywheel, I’m not finding an Advanced section under Preferences.

1 Like

I have an advanced section, but that particular option isn’t available.

Hi all,

That option is available on 2.0.3 and newer for macOS only.

If the issue is happening on Windows please let me know.

Thanks @clay! Disabling Faster Docker Volumes seems to have done the trick, but I sure did like the speed before disabling that. Please let us know as soon as you have a fix, or if you’d like me to be a guinea pig as you work on it.

1 Like