• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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