Error: Download failed for Wordpress Toolkit Updates

kmaw

Member
Jul 24, 2006
7
0
151
Hello Forum,

I'm having an issue with Wordpress Toolkit performing updates - any updates - core, plugins, themes, etc. See attached screenshot.

  • It occurs when using WHM Toolkit Plugin as root, or logged in to the user cpanel
  • It's been going on for at least month, including with the prior version of WHM (98)
  • My host (which provides the cpanel licence), has not been able to solve the issue or find any cause - they indicated they had a ticket open with cpanel and hadn't heard back after a few days (I haven't nudged them lately or heard any further updates). This was just over a month ago. Using CSF firewall and they did not believe it to be an issue with that or a port being blocked. They suggested I post here.

dedicated server
cpanel_and_whm: 11.100.0
operating_system_name: centos
operating_system_version: 7


Thanks in advance.
 

Attachments

kmaw

Member
Jul 24, 2006
7
0
151
Thanks for the reply, Anthony. When I prompted my host for the ticket ID, seems they submitted another and received a different result. They didn't provide me this new ticket ID, but seems we're working toward a resolution. I'm not able to see the article, as it asks to login with a cpanel ID when I click the link provided. Will post back here if we don't have any luck.


Hi Kyle,

cPanel has published a support article about this issue:

https://support.cpanel.net/hc/en-us...te-Error-Download-failed-Updating-to-version-

It is a bug and they are working on resolving it. Once a resolution is found they will update that article. I'll also reply to this ticket.
 

kmaw

Member
Jul 24, 2006
7
0
151
Hello @cPanelAnthony - just seeing if there is any timeline or update on this item. I moved all my Wordpress sites to Toolkit... from Installatron.... which was working beautifully... now I'm stuck backing up and updating manually... or leave them lingering with pending updates...
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,041
111
118
Houston, TX
cPanel Access Level
Root Administrator
Hello! I will copy/paste the article contents here.

Symptoms
When attempting to perform updates with WordPress Toolkit, you can observe the following errors:

"Error: Download failed. Updating to version 5.8.2 (en)... Downloading
update from https://en.wordpress.org/wordpress-5.8.2-en.zip..."

"Error: Download failed. Updating to version 5.8.2 (en)... Downloading
update from https://es.wordpress.org/wordpress-5.8.2-es.zip..."


Description
When WordPress is configured to use a locale, this can trigger WordPress Toolkit to download the locale-specific update. The update will fail if the package isn't available. However, performing the update manually in CLI allows WordPress to update.

We've opened an internal case for the WordPress Toolkit development team to investigate this further. Follow this article to receive an email notification when a solution is published in the product.



Workaround
Update manually via CLI/SSH.

Find the instance ID for the WordPress install:

wp-toolkit --list
Perform the update: ( Replace $number with the WordPress Toolkit instance ID for the WordPress install )

wp-toolkit --wp-cli -instance-id $number -- core update
To update all Outdated instances:

for each in `wp-toolkit --list| grep Outdated|awk '{print $1}'`; do "wp-toolkit --wp-cli