[wp-trac] [WordPress Trac] #53705: Plugin upgrade deletes files from other in-progress upgrades
WordPress Trac
noreply at wordpress.org
Thu Jul 22 23:10:15 UTC 2021
#53705: Plugin upgrade deletes files from other in-progress upgrades
-----------------------------+---------------------
Reporter: bpayton | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Upgrade/Install | Version: 5.8
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+---------------------
Comment (by bpayton):
To make reproducing this easier, I added
[https://core.trac.wordpress.org/attachment/ticket/53705/wp-upgrader-
error-logging.diff a patch to add error logging to WP_Upgrader] and
updated the repro instructions to use that. Each log message is prefixed
with the request URI, and what is happening should be much clearer with
the error logging.
I also uploaded [https://core.trac.wordpress.org/attachment/ticket/53705
/avoid-corrupting-concurrent-plugin-upgrades.diff a small patch] to avoid
this issue by deleting only older files from the upgrade directory.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53705#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list