Update
Update Deplo and its servers in one click, or let Deplo update itself at night.
One update moves Deplo and the agent on every server. It lives on Settings -> Deplo -> Updates, instance admins only.
Your apps keep running. Only the panel is away for about a minute: no deploys, no logs.
Update now
Open the Updates tab
Settings -> Deplo -> Updates. A chip in the top bar names a new version and opens this tab. It turns red and reads Security fix when the new version fixes a flaw this instance has.
Read Before you update
A release that needs a step from you names it under Before you update to v0.9.1. Such a release never installs itself.
Verify the release (optional)
Every Deplo image is signed. With the GitHub CLI 2.49 or newer:
gh attestation verify oci://ghcr.io/deplocloud/deplo:0.9.1 --repo DeploCloud/deploAnything but Verification succeeded!: don't run it, and report it through
Deplo's security policy.
Click Update and confirm
The confirmation names the version and the servers that follow: Update Deplo to v0.9.1, then its 3 servers?
Wait about a minute
The page reloads on the new version. The servers follow on their own, one at a time:
2 of 3 servers are on the latest version.
Automatic updates
On by default. Deplo installs each new stable version by itself, at night. The tab says when:
v0.9.1 installs itself tomorrow at 02:00 (Europe/Rome).
- It tries at 02:00, 03:00 and 04:00, and skips a try while a deploy is building, or a backup, a restore, a cleanup or a migration runs.
- A new release waits a day. One that fixes a security flaw goes the first night.
- Canary versions never install themselves. They wait for Update.
The menu next to the Automatic updates switch:
| Option | What it does |
|---|---|
| Change schedule | The time of the first try, and the timezone |
| Postpone one night | Skips the next night. Pick it again to skip one more |
Turn the switch off to stop automatic updates. Nothing is installed or reset. To manage updates
yourself for a whole install, set DEPLO_AUTO_UPDATE=off: see Installers.
Stable or canary releases
Canary releases, on the same tab, is off by default.
- Off: only stable versions are offered.
- On: canaries too. They can have bugs: not for production.
The switch installs nothing. Turning it off never moves you back to stable. While it is on, automatic updates pause.
If an update did not take
It is rolled back on its own: the previous version comes back. The tab says The update to Deplo v0.9.1 did not install, with the reason under it.
- Automatic updates try again the next nights, up to 3, then wait for a newer release. Update still installs it.
- Update log, next to What changed, says what happened to every update and why.
- A server's agent did not update: its line on the tab says why. Retry now tries again at once.
- The panel cannot update itself: the tab shows Deplo could not update itself. Run this on the machine Deplo runs on:
deplo updateGood to know
- Deplo saves a dump of its database to
/opt/deplo/backupsbefore each update. It is on the same disk: keep your own copy too, see Recovery. - Alerts: Deplo update available, Deplo security fix and Automatic update stopped are on by default. See Notifications and alerts.
- Server agents only move forward. There is no downgrade and no version to pick.
Something wrong? See Servers and agents.
Did this page help you?