Support » Fixing WordPress » Update Failed: Download failed.

  • Resolved wzshop

    (@wzshop)


    Hi,
    I tried to update some plugins from the wordpress backend but it said:
    Update Failed: Download failed.

    When I refreshed the page, the update possibility was not there anymore and the plugin seemed to have been updated. Did it update itself?
    Can I be sure that the plugin update went okay?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    That generally means something interrupted the file transfer on your server’s end.

    To be safe, I’d recommend deleting and reinstalling the plugin, but good plugins do cleanup after themselves and also delete their settings and content when deleted from the Dashboard, so I know that’s not always a good option.

    If the plugin in question has a lot of settings and content that would be hard to recover if that happened, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/plugins/ and delete the plugin’s directory there. (since you’re just deleting the files this way, all settings and content will still be in the database)

    Then, re-install normally from Plugins > Add New.

    Hi,
    Thanks a lot for getting back to me!
    Question; How can I be sure that the failed update did not cause a error in the mysql db?
    I was thinking of restoring an (quite) old backup and go from there, but it might be a bit rigorous;)

    Thanks

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    That database isn’t touched until all of the files are done being copied over, and the database update has to be instigated by you hitting a button as prompted.

    So, that definitely didn’t happen here.

    Hi, ok thanks a lot. That saves some work then;)
    So when a database update is needed, after updating a plugin, there is always an additional ‘clicking action’ required by the administrator in order to initiate the MYSQL update process?
    Thanks again.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    As far as I’ve seen, yes, they all have their own prompts.

    Either way, a database update generally doesn’t fail (since it’s relatively quick), it either happens or it doesn’t, usually requiring a full server crash in that split second to fail. If a database update doesn’t go through, you’re simply prompted again.

    Okay, thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Update Failed: Download failed.’ is closed to new replies.