• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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