[wp-trac] [WordPress Trac] #54543: Updating Hello Dolly after upgrading 5.0.4 > 5.9.0 Beta 1 fails

WordPress Trac noreply at wordpress.org
Wed Dec 1 15:12:37 UTC 2021


#54543: Updating Hello Dolly after upgrading 5.0.4 > 5.9.0 Beta 1 fails
--------------------------------------------+---------------------
 Reporter:  costdev                         |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  5.9
Component:  Upgrade/Install                 |     Version:  trunk
 Severity:  normal                          |  Resolution:
 Keywords:  needs-testing has-testing-info  |     Focuses:
--------------------------------------------+---------------------

Comment (by costdev):

 === Site Health Log
 - https://gist.github.com/costdev/e9a66e0d83d2d7906cf2eb0a183753e2

 === Installed Plugins

 - Akismet 4.1 (not activated)
 - Hello Dolly 1.7.1 (not activated)
 - WordPress Beta Tester 3.1.4 (activated)

 === Errors/Notices
 - `Update failed: Could not create directory.` after clicking "update now"
 for Hello Dolly.

 === debug.log
 - No entries for the update failure.

 === Other logs
 - `DevTools > Network` shows this response from `admin-ajax.php`.

 {{{#!json
 {
   "success": false,
   "data": {
     "update": "plugin",
     "slug": "hello-dolly",
     "oldVersion": "Version 1.7.1",
     "newVersion": "",
     "plugin": "hello.php",
     "pluginName": "Hello Dolly",
     "debug": [
       "Downloading update from https://downloads.wordpress.org/plugin
 /hello-dolly.1.7.2.zip…",
       "The authenticity of hello-dolly.1.7.2.zip could not be verified as
 no signature was found.",
       "Unpacking the update…",
       "Installing the latest version…",
       "Removing the old version of the plugin…",
       "Could not create directory. <path>/wp-content/plugins/hello-
 dolly/",
       "Plugin update failed."
     ],
     "errorCode": "mkdir_failed_destination",
     "errorMessage": "Could not create directory."
   }
 }
 }}}

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


More information about the wp-trac mailing list