Upgrade
New HelloBox versions bring fixes, security updates and features. Upgrading takes a few minutes, and HelloBox is down for about a minute while it restarts.
Find out what's new
Releases are listed on the releases page,
named by date: 2026.12.1 is the first release of December 2026. To see which version you
run:
cd ~/hellobox/docker
grep ^HELLOBOX_VERSION .envRead the notes of every release between yours and the new one. Most changes need nothing from you. Lines starting with Breaking: do: they say what you have to change, such as a setting that was renamed. Do those steps along with the upgrade.
To hear about new releases, open the repository on GitHub, press Watch → Custom, and tick Releases.
Upgrade, step by step
-
Back up. Run your backup script:
./backup.sh -
Get the new version's files, so
compose.ymlmatches the new images. Replace<version>with the new version, for example2026.12.1:git fetch --tags git checkout <version>If Git refuses because "your local changes would be overwritten", you edited a file that came with HelloBox (often
compose.yml). Rungit diffto see what you changed, thengit stash, check out again, and redo your change by hand. -
Set the version in
.env:sed -i "s|^HELLOBOX_VERSION=.*|HELLOBOX_VERSION=<version>|" .env -
Do any
Breaking:steps from the release notes. -
Download and restart:
docker compose pull docker compose up -d -
Check it, as after the install:
docker compose psEvery part should become
healthywithin a couple of minutes. Then sign in and open a conversation.
What happens during an upgrade
The worker starts first and updates the database for the new version (these updates are
called migrations). The web app waits until the worker is ready, then starts. If a
migration fails, the worker stops, the web app doesn't start, and
docker compose logs worker says why.
Going back
Migrations only go forward: an older version can't read a database that a newer one
updated. To go back, check out the old version again, set it in .env, and
restore the backup you took in step 1.
Why pin a version
HELLOBOX_VERSION=latest takes whatever is newest each time you pull, which can include
a breaking change you haven't read about. With a pinned version, HelloBox only changes when
you decide to upgrade.
Something wrong or missing? Open an issue or edit the file in the repository.
Back up and restore
A server can die, a disk can fail, an upgrade can go wrong. A backup is a copy of everything HelloBox needs, kept somewhere else, so you can start again on a new server without losing mail.
Use your own S3 storage
HelloBox keeps attachments and the original copy of every message in object storage: a place for files that programs reach over the web. The common way to talk to it is called S3, after Amazon's service, and many companies offer the same thing.