Applicable to:
- Plesk Obsidian for Linux
- Plesk Obsidian for Windows
Symptoms
- Unable to install WordPress for a domain in Plesk, the process fails with the error:
PLESK_ERROR: Unable to download the WordPress 6.0.1 package from https://wordpress.org/. Please try again later or contact the server administrator.
- After execution of the scheduled task below, WordPress instances are marked as quarantined:
CONFIG_TEXT: /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/wp-toolkit/scripts/instances-auto-update.php'
Cause
The wordpress.org website was offline and due to this update/scan operations could not be finished properly in WP Toolkit.
On the Plesk side, this behavior was considered a WP Toolkit bug with the ID #EXTWPTOOLK-7761.
Resolution
Apply one of the solutions below:
- Log into Plesk.
- Go to WordPress > example.com.
- Press the refresh button that is highlighted on the screenshot below:
- Log into the server via SSH.
- Run the following script:
# for j in $(plesk ext wp-toolkit --list | awk '(NR>1)' | awk {'print $1'}); do plesk ext wp-toolkit --clear-cache -instance-id $j; done
- Log into the server via RDP.
- Start a command prompt as an Administrator.
- Execute the command:
C:\> powershell
- Run the commands below one by one to reset cache for all WP instances:
PS plesk ext wp-toolkit --list > C:\wplist.txt
PS Get-Content C:\wplist.txt | Foreach {($_ -split '\s+',4)[1]} | findstr -v ID > C:\wplistids.txt
PS foreach ($j in get-content C:\wplistids.txt) { plesk ext wp-toolkit --clear-cache -instance-id $j"}}
Comments
3 comments
The error is about installing a new site for a new customer, not existing wordpress instance. In my case cannot click at icon because the wp instance does not created at initialize a new customer.
Same here. New WP instances cannot be created. They fail with the above shown error message on installation, regardless of the selected WP version on different servers and regardless of whether the domain is new or exists or a WP installation existed on a domain or not.
same issue, Plesk denies to connect to wordpress and no solution offered so far seems to work? Anyone alive that can help with this?
Please sign in to leave a comment.