Updates without downtimeAlso called Zero-downtime deployments, rollbacks
Publish updates while visitors keep browsing.
The new version is prepared next to the one visitors see and only goes live when every step before it worked. If one fails, nothing changes for your visitors.
- Overview
- Updates
- Laravel
- Domain & HTTPS
- Backups
- Monitoring & logs
- Settings
Update of shop.example.com. Published. Visitors see the new version.
PublishedStarted by Samimain · 9556e18on web-1
Steps
How it works for you
Steps you can read
Every update lists its steps in plain words, with the command beside them for the people who want it. Open a step to read what it printed.
A failed step stops the update
Visitors keep the version that worked. You see the step that stopped and what it printed.
History, and going back
Every update stays in the history: who started it, which version and how long it took. "Go back to the previous version" puts an earlier one live again; it is still on the server, so it takes a moment. You choose how many versions are kept.
Updates on push, or builds from your CI
Turn on automatic updates and every push to your branch publishes. Or let your CI service, such as GitHub Actions or GitLab CI, build the site and send the finished build: it is published like any other update.
One site on several servers
Add servers to a site and one update reaches all of them, all at once or one server at a time. One at a time, the main server can go first and be watched for a few minutes; the others only follow if it keeps answering.
On which plans
Compare the plans| What you get | Starter | Pro | Business |
|---|---|---|---|
| Updates without downtimeYour site stays online while it updates. | Included | Included | Included |
| Go back to an earlier version in one step | Included | Included | Included |
| Update when you push your code | Included | Included | Included |
| One website on several serversUpdates reach every server, all at once or one at a time. | Not included | Not included | Included |
Good to know before you start
- Starts the new version beside the running one and sends visitors to it once it answers, so your site stays online. An app that always uses the same port is restarted in place instead (a short break). This applies to apps that run on their own, such as Node.js, Python and Go apps.
- Odoo updates its modules where they are and then restarts, so it has a short break.
- A site brought in from a server you already ran updates its files in place until you switch it to stay online during updates.
- Going back puts the earlier code live. It does not undo changes an update made to your database; a backup does that.
- Trying the new version on the main server first works across servers. It does not split the visitors of one server.
Questions
What do visitors see while an update runs?
The version that was live before, until the new one is ready and switched in. The exceptions are listed above, and the app says so on the step itself.
What happens when an update fails?
It stops at the step that failed and the live version stays as it was. You see the step and its output, and you can be told by email or in your team's chat.
Can updates start by themselves?
Yes: when you push to the branch you chose, or when your CI sends a finished build. You can also start one with the Publish update button or through the API.
Can I add my own steps?
Yes. Turn the default steps on or off, change them, or add your own, before or after the new version goes live.
Goes well with
- Sites and site kinds21 kinds of site, each set up with the settings it needs.
- Logs and error helpWhat went wrong in plain words, with the fix, for 27 common errors.
- API and automationLet your own tools publish updates and read status, with only the access they need.
Also in your sites: Sites and site kinds, Domains and HTTPS. Every service
Try it free.
Start with 14 days of everything in Business, with no card needed. Nothing on your server changes until you say so.