[wp-trac] [WordPress Trac] #51823: Native auto updater caused plugin update to fail and disappears plugin from directory

WordPress Trac noreply at wordpress.org
Fri Nov 20 06:40:04 UTC 2020


#51823: Native auto updater caused plugin update to fail and disappears plugin from
directory
-----------------------------+------------------------------
 Reporter:  richards1052     |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  5.6
 Severity:  major            |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by richards1052):

 OP: I wanted to add two comments that may be relevant to figuring out what
 this issue/bug is.  They were each posted to different WP forum threads.

 This is from a Yoast Support person in the WP forum:

 "we have also seen similar reports before and can confirm the issue mostly
 occurs when there’s a network connection hiccup between the update host
 (WordPress plugins repository) and the webserver as the auto-update
 feature is handled by the WordPress itself rather than a plugin."

 This is from a Jetpack Contributor in the Jetpack WP forum:

 "The significant part is here:

 So some files were really missing during the upgrade

 This indicates that some files were missing from the plugin update (which
 can happen with larger plugins containing a lot of files) so the update
 failed and the plugin was deactivated. Then if you tried to reinstall the
 plugins you would also get an error because the plugin folder already
 exists (just without all the files).

 Regarding the Jetpack query your host mentioned, that looks like Jetpack
 was trying to fetch related posts from WordPress.com (which it does every
 12 hours when the related posts cache expires). It’s not related to the
 plugin update though, just coincidental timing.

 So in summary, it seems the plugins failed to update because the updater
 encountered an error when copying files, and some of the files were not
 copied. This is more likely to happen with large plugins like Mailpoet and
 Yoast SEO, which have a lot of files to copy."

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51823#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list