● Ship · New versions
Updating
to a new version.
Your data and settings live outside the code, in data/ and .env. An update replaces the code, compiles it again and keeps both.
01Steps
Windows
On your server use the Linux shell; on a local copy run the commands in WSL or Git Bash.
- Read
CHANGELOG.mdof the new version (also on Changelog). - Back up
data/and.env(Backups). - Stop the server:
sudo systemctl stop answerbell. - Replace the files except
data/and.env. - Install, compile and start:
pnpm install && pnpm build
pnpm test # optional, offline
sudo systemctl start answerbell
The database schema is created and extended on start; there is no separate migration step. Forgetting pnpm build leaves the old compiled code in dist/ running.
02After the update
Open Status. If Every client's agent is up to date warns, press Update N agents on the Clients page: it pushes every out-of-date agent at once. Agents made before an upgrade get the new tools then (for example caller_history in 1.2 and the post-call labels in 1.1).