[wp-trac] [WordPress Trac] #53043: Upgrade to WP 5.7.1 fails if wp-config-sample.php not in home directory

WordPress Trac noreply at wordpress.org
Fri Apr 16 02:12:14 UTC 2021


#53043: Upgrade to WP 5.7.1 fails if wp-config-sample.php not in home directory
-----------------------------+------------------------------
 Reporter:  dlanced          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  minor            |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by dlanced):

 Thanks!

 > The directory wasn't writable by WordPress
 In  my case, the directory is writable (www-data). After all, WordPress
 successfully updated all the other files there.
 > The server was experiencing a higher IO load causing failures
 I checked that. Loads of head room. And, again, the update succeeded just
 a few minutes later after I added a wp-config-sample.php file.
 > PHP thought it could write to the file, but failed to when actually
 doing it
 I would guess that was the culprit in my case: since the wp-config-
 sample.php file wasn't there, that write failed.

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


More information about the wp-trac mailing list