Plesk

Unable to install WordPress: Unable to download the WordPress package from wordpress.org

Symptoms

Cause

The wordpress.org website was offline and due to this update/scan operations could not be finished properly in WP Toolkit.

Resolution

Apply one of the solutions below:

For one WP instance

  1. Log into Plesk.
  2. Go to WordPress > example.com.
  3. Press the refresh button that is highlighted on the screenshot below:

For all WP instances on Linux server

  1. Log into the server via SSH
  2. 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

For all WP instances on Windows server

  1. Log into the server via RDP.
  2. Start a command prompt as an Administrator.
  3. Execute the command:

    C:> powershell

  4. 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"}}

Exit mobile version