[wp-trac] [WordPress Trac] #33571: Improvements for plugin upgrades when disk space runs out (or other write failure)
WordPress Trac
noreply at wordpress.org
Thu Dec 11 10:52:25 UTC 2025
#33571: Improvements for plugin upgrades when disk space runs out (or other write
failure)
-----------------------------+------------------------------
Reporter: DavidAnderson | Owner: francina
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by DavidAnderson):
This ticket is still needed. The root problem that WordPress plugin
updates aren't atomic still remains. Consequently, when performing a
plugin update, you are likely to get fatal errors because only half the
plugin is present, during the unzip process. On any large site where
visits are continual, any plugin update operation has a reasonable chance
of causing fatal errors to be logged. Any developer of a sufficiently-
popular plugin will see support requests from users who've received
WordPress's email from the fatal error detector, during a plugin update,
as a result of fatal errors whilst files were still being unzipped.
So, to be clear: yes, it's rarer now to see plugin updates that are left
in a half-finished. But, because the method is still unchanged, it's still
possible to have fatal errors and user confusion and support requests
because of site visits that happen during the process itself. The affected
requests could be anything (checkout completions, background cron tasks,
etc.).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33571#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list