• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Checking Automatic Updates

tony2452

New Pleskian
Server operating system version
Debian 11.9
Plesk version and microupdate number
Plesk Obsidian Version 18.0.59 Update #2, last updated on Mar 25, 2024 12:18 PM
I have experienced a problem with WP Toolkit where I SWEAR that I turned ON the Automatic Updated and the Automatic Plugin Updates for a site only to find later ON that these features are now OFF for some unexplained reason.

Is there any way in the Plesk WordPress Toolkit to see exactly which WordPress websites have Automatic Updates and Automatic Plugin Updates turned ON or OFF - WITHOUT having to check each WP site one-by-one?

I would REALLY appreciate knowing a shortcut for this process.
 
Hi, Can't say why WP Toolkit updates options might have reset, but, in case it helps...

I'm not aware of anyway to visually see the settings for all sites, however, you can go to WP Toolkit -> Updates -> Change Settings. On that page you can define settings for all sites and then apply all in one go (or to selected sites).

I also don't think there's any way (currently) to predefine WP Toolkit update settings for all sites as part of a Service Plan or template, so we use a bash script that runs on the "WordPress Installed" and "WordPress Registered" events, and applies the settings we want, using the Plesk API. This is the API method to use:

Bash:
curl -sSkX 'POST' \
  "https://$HOSTNAME:8443/api/modules/wp-toolkit/v1/features/updates/settings" \
  -H 'accept: application/json' \
  -H "X-API-Key: ${PLESK_API_KEY}" \
  -H 'Content-Type: application/json' \
  -d '{
  "installationsIds": ['$ID'],
  "autoUpdate": {
    "core": "minor",
    "plugins": {
      "forceUpdates": false,
      "newlyInstalledUpdates": true,
      "updateVulnerable": true,
      "deactivateVulnerable": false
    },
    "themes": {
      "forceUpdates": false,
      "newlyInstalledUpdates": false,
      "updateVulnerable": true
    }
  }
}'

Hope that helps!
 
What might be useful to know is, is you can view any WP toolkit related actions for a WP instance in the action log. You should be able to find out if you did enable automatic updates, and if they are disabled that should be logged too.
Schermafbeelding 2024-05-01 121044.png
 
Back
Top