Autopilot
Let Autopilot apply safe updates on its own, with a backup first, a health check after and a rollback when something breaks.
Autopilot is FleetWP's hands-off update agent. Every few hours it checks each site it's enabled on, sorts every available update by your policy, and either applies it, sends it to you for approval, or leaves it alone. Each site has its own policy, and nothing runs on its own until you arm the site.
Autopilot needs the Autopilot AI add-on. Only owners and admins can change or arm it.
Turn it on for a site
- Open the site, go to Settings, and turn on the Autopilot module.
- Open the site's Autopilot page.
- Turn on Active, set your policy (below) and choose Save policy.
A site starts in Shadow mode.
Shadow and Live
- Shadow assesses the site and sends its decisions to your approval queue, but never changes anything on its own. Use it to see what Autopilot would do before you trust it.
- Live lets Autopilot apply updates marked Auto by itself: back up, update, health check, roll back if needed.
Setting Execution to Live only records the intent. The site keeps behaving like Shadow until you also arm it.
Arm live execution
Under Live execution, choose Arm live execution, tick the confirmation and confirm. Arming:
- needs two-factor authentication on your account (enable it on your profile first),
- needs a saved policy with Execution set to Live,
- applies to this one site only. It's never inherited from another site.
You can Disarm at any time. Switching the policy back to Shadow also disarms the site. Every arm and disarm is recorded in the activity log.
The policy
Each kind of update gets one of three answers: Auto (apply it), Propose (send it to your approval queue) or Never (leave it alone).
| Lane | What it covers | Default |
|---|---|---|
| Patch updates | x.y.Z, fixes only | Auto |
| Minor updates | x.Y.z, backward-compatible features | Auto |
| Major updates | X.y.z, may include breaking changes | Propose |
| Security (CVE) fixes | Updates that resolve a known vulnerability | Auto |
| E-commerce plugins | WooCommerce, payment gateways and similar store plugins | Propose |
When an update fits more than one lane, the first match wins, in this order: excluded, security, e-commerce, version size. An update whose version number can't be read is treated as a major update.
Other settings on the same page:
- Back up before applying: take a fresh backup before any automatic update (on by default).
- Roll back on regression: revert automatically if the health check fails (on by default).
- Visual check: screenshot key pages before and after each automatic update. A page that looks different fails the health check. You choose how much of a page has to change (1%, 2% or 5%). Off by default. See Visual checks.
- Never touch these plugins/themes: comma-separated slugs Autopilot skips entirely.
Autopilot also never updates the FleetWP connector, items you've locked on the Updates page, or updates that can't be downloaded because a license has expired. See Updates and rollback.
What a live run does
Autopilot checks enabled sites every six hours. On an armed site with Auto updates waiting, a run:
- Assesses the site's plugins, themes and WordPress version, and sorts each update by your policy.
- Backs up the site. If the backup fails, nothing is updated.
- Applies the Auto updates. Propose updates go to your approval queue instead.
- Checks the site's health:
- the homepage still responds without a server error,
- no new fatal PHP errors have appeared since the update,
- the homepage hasn't slowed down sharply (more than three times slower than before the update, and over 1.2 seconds),
- with Visual check on, the key pages still look the same.
- Keeps or reverts the update.
If the disk is almost full, the run is held and nothing is applied. It shows as "held: disk almost full" in Recent runs.
When the health check fails
- If every update in the run was a wordpress.org plugin, Autopilot rolls each one back to the version it had before.
- If the run included WordPress core, a theme, or a plugin not hosted on wordpress.org, Autopilot doesn't restore anything by itself. It queues a full restore of the pre-update backup for your approval.
- With Roll back on regression off, it leaves the site as it is and alerts you.
Auto-disarm
If the last two live runs on a site both failed or had to roll back, Autopilot disarms the site and sends a critical alert. Review the site, then arm it again when it's healthy.
Approvals
Proposed updates, the updates Autopilot would have applied in Shadow mode, and queued restores all wait under Pending approvals on Settings → Agents & API. Approve runs the action now; Deny drops it. While a proposal is waiting, Autopilot doesn't add another one for the same site.
Run history and alerts
Recent runs on the site's Autopilot page lists each pass: the mode, what was applied, proposed or skipped, and each update's version change. Runs with a visual check have a View screenshots link.
Autopilot sends autopilot alerts to your enabled channels when updates need
review, when it applies or rolls back updates, when a run can't finish, and when
it disarms a site. See Notifications.