Skip to content
    Guide

    Automatic plugin updates with staging first and automatic rollback

    Last updated

    Automatic updates keep plugins current without you clicking anything, while still taking the precautions a careful person would. Every automatic update is backed up first, checked afterwards and rolled back if the site breaks. After that, the site is watched for a while before the update is called a success.

    You decide which plugins update automatically, where updates go first (staging or production), and which updates must wait for your approval. This guide explains each choice and how to read the run log.

    Where the settings are

    There are two places to work with automatic updates:

    • Updates & plugins in the left-hand menu, then the Auto Updates tab. This shows the run log for every site, and settings for one site at a time, picked with "Settings for".
    • A site’s own page, then Auto-updates in its side menu. This shows the same thing for just that site.

    Which plugins update automatically is set per plugin, in the Auto Update column of the All Plugins table on the Updates & plugins page (or the Plugins section of a site).

    Choose which plugins update: auto-update groups

    Every plugin is in one of three groups. Change a plugin’s group with the drop-down in its Auto Update column; it saves straight away.

    Auto-update groups
    GroupWhat happensGood for
    Auto updateMinor and patch versions update automatically, with a backup and health check.Well-known plugins with large install bases.
    Auto update with full backupLike auto update, but a full-site backup is taken first.Checkout, payment, forms and membership plugins.
    Manual onlyNever updated automatically. Security fixes are still offered for your approval.Custom or premium plugins, and plugins with known breaking changes.

    A minor or patch version is a small step such as 2.4.1 to 2.4.2 or 2.5. A major version is a bigger jump such as 2.x to 3.0, which is more likely to change how the plugin works.

    Per-site settings

    The Auto-update settings card has four choices. Change them, then click Save.

    Where updates go

    • Staging first (recommended): updates run on the site’s staging copy first. Production (the live site) follows only after staging updated cleanly and has had time to settle. Sites without a staging copy update directly.
    • Production directly: production updates as soon as the release has settled and its turn comes, without waiting for staging.
    • Staging only: only the staging copy updates automatically. Every production update waits for your approval.

    Be a canary

    Switch this on to receive new plugin versions in the first wave, before most other sites. It suits sites that can tolerate a little risk, such as your own site or a test site.

    Show maintenance on status pages

    Posts a maintenance window on any status page that shows this site while an update runs.

    Pre-update test for risky updates

    Before a major version, a full-backup plugin or a plugin your theme depends on reaches production, Gus reads its changelog (the list of what changed), checks your theme and must-use plugins for code that uses it, and tries it on staging first when there is one. If it finds a problem, production waits for your approval with the reasons. Choose Plan default, On or Off. Whether it is on by default depends on your plan; see pricing.

    What happens behind the scenes

    MaintainHQ looks for new plugin versions across all connected sites regularly through the day. When a new version appears:

    1. Each site that has the plugin set to auto update gets a planned update, sorted into a lane: Security fix, Normal or Major version.
    2. New releases wait a while before they are used, so problems other people find show up first. Security fixes move faster.
    3. Where fleet waves are in use, sites update in waves: canaries first, then a small share of sites, then the rest. A wave only opens once the previous one finished cleanly.
    4. When a site’s turn comes, the update is backed up, installed, checked and rolled back automatically if the site broke.
    5. After a successful update, uptime and PHP errors are watched for a while. Trouble in that time also rolls the update back.

    If an update has to be rolled back on one site because it broke it, the release is paused for every other site and the reason is recorded, so one bad version does not spread.

    Reading the run log

    The Automatic updates card lists every plugin update the auto-updater planned or ran, newest first. Each row shows the plugin, the site (on the all-sites view), the version, the lane, the status and when it happened. Use the filter to show All updates, Needs approval, Waiting or running, Updated or Problems.

    Run log statuses
    StatusMeaning
    WaitingWaiting its turn: settling time, wave or staging first.
    QueuedReady to run on the next pass.
    Backing up / Updating / CheckingIn progress.
    Updated, watchingUpdated; uptime and PHP errors are being watched before it is kept.
    KeptUpdated and stayed healthy.
    Rolled backThe site broke after updating, so the previous version was restored.
    Rollback failedThe update broke the site and restoring the previous version failed. Check the site now.
    FailedThe update could not be installed. The site was left on the old version.
    Needs your approvalThis update will not run until you approve it.
    SkippedNot needed any more.

    Rows that have been through a pre-update test show a badge: Tested: safe, Tested: caution or Tested: blocked. Click Why? to read what Gus found.

    Approving updates

    Some updates always wait for a person: major versions, plugins in the Manual only group that have a security fix, production updates on Staging only sites, and updates a pre-update test flagged. A badge on the card title shows how many need approval.

    1. Choose Needs approval in the filter.
    2. Read the row’s reason, and the pre-update test result if there is one.
    3. Click Approve to let it run. It then goes through the same backup, check and rollback steps.

    If nothing seems to run

    • Check the plugin’s group is Auto update or Auto update with full backup, not Manual only.
    • Check the site is connected. Disconnected sites cannot be updated.
    • Look at the row’s reason in the run log. "Waiting" rows tell you what they are waiting for.
    • If a row says auto-updates are not switched on for the account, contact support.

    Frequently asked questions

    Are themes and WordPress core updated automatically too?
    The auto-update groups and settings described here are for plugins. Theme and WordPress core updates can be run from the site’s Themes and WordPress core sections, using the same safe-update process with automatic rollback.
    What does staging first need?
    It needs a staging copy of the site linked in MaintainHQ, which you can make from the site’s Staging & hosting section. Without one, the site updates directly.
    Will a security fix wait for days?
    No. Security fixes move through the waiting and wave stages faster than normal updates, though every site still gets the backup, check and rollback steps.
    Can I stop one plugin ever updating by itself?
    Yes. Put it in the Manual only group. It will never update automatically, but security fixes will still be offered for your approval.

    Let MaintainHQ run the routine

    Updates with automatic rollback, backups, uptime, security checks and client reports, with Gus to fix what breaks.

    Start free trial

    From £29 a month for up to 2 sites. Every plan starts with a 14-day trial.