Upgrading a VICIdial cluster without losing your custom changes
Upgrading VICIdial replaces its files, so your edits vanish unless you merge them. How to list every change on every machine and keep them through an upgrade.
Two years ago someone added a button to your agent screen. Agents use it all day. Then you upgrade VICIdial, and on Monday morning the button is gone.
Nothing broke. That's how upgrades work, and a cluster gives a change more places to disappear from.
Why an upgrade erases your changes
Upgrading VICIdial replaces its files with the new revision's files. If you edited one of them, say the agent screen page or a script that handles calls, your edit is overwritten along with everything else. VICIdial has no idea which lines were yours.
An upgrade has other steps too, and the order matters. Our walkthrough on how to upgrade VICIdial safely covers the full sequence. The part that bites people later is the custom changes.
On a cluster, changes live on more than one machine
A single server keeps everything in one place. A cluster spreads it out, as our guide to VICIdial clusters explains:
- The database and web machine serves the admin pages, the agent screens and the reports. Edits to any of those live here.
- Each dialer runs Asterisk and handles the calls, so changes to call handling, such as the Dialplan (the rules that route each call), live on every dialer.
- Some changes sit outside VICIdial's files altogether: a database index, network settings on the dialers, the hang-up rules on agent phones and trunks.
Every dialer has to match. Merge a change onto two dialers and forget the third, and a third of your agents get the old behaviour. The fault looks random, because it follows whichever dialer an agent's phone landed on.
Make the list before you touch anything
Start with an inventory. Compare each machine's VICIdial files with the stock files of the revision you run, and write down every difference: which file, which machine, what it does, and who asked for it.
Then add the changes that live outside VICIdial's files, so the test after the upgrade checks them too. On the clusters we build, three are always on that list:
- A phone-number index on the call log. Without it, a lead search by phone reads the whole call log; on one floor that meant 4–12 second dialer freezes (the missing index, explained).
- Network buffers sized for hundreds of calls. One 60-agent server on the default sizes threw away 458,000 voice packets in four days.
- A two-minute no-audio hang-up on every agent Softphone and every SIP trunk, so a dropped browser phone can't leave customers connected to silence.
Merge onto the new files, then test end to end
Take the new file and apply your change to it again. That's a merge: you keep your change and the new revision's fixes.
Then run the new revision on a test server before any floor sees it. Test it end to end, the way agents work: log in, take a call, pick a Disposition, do a 3-way, pull a report, and use every change on your list.
flowchart TD
A[List every change on every machine] --> B[New revision on a test server]
B --> C[Merge each change into the new files]
C --> D[Test end to end]
D --> E{Everything on the list works?}
E -- no --> C
E -- yes --> F[Wait until nobody is logged in]
F --> G[Upgrade every machine]
G --> H[Test calls, then check the list again]Upgrade the cluster only when nobody is logged in, and move every machine to the new revision in the same window, so no dialer runs a different version from the database and web machine. Afterwards, make test calls before the floor logs in and walk the list once more: every change, on every machine.
This is how we upgrade the clusters we run. A new revision runs on our demo server first and is tested end to end, changed files are merged with the new version, and servers move only when nobody is logged in.
Frequently asked
- It replaces VICIdial's files, so any edit inside those files is overwritten unless you merge it into the new version.
- No. That brings back the old revision of the file and undoes the upgrade's fixes in it. Apply your change to the new file instead.
- When nobody is logged in, after the new revision has been tested end to end on a separate server.
› Does upgrading VICIdial delete custom changes?
› Can I copy my old file back after the upgrade?
› When should a VICIdial cluster be upgraded?
The same rules hold on a single server, which is where most floors start; our plans cover that. If you're planning a cluster, book a sizing call and bring your list of custom changes with you.
Related from VICIfast
- Running VICIdial across several serversA database, dialers and a standby, sized from load we measured on a live floor.
- A whole machine for your dialerEvery core yours, mirrored NVMe, delivered in minutes to days. Priced from live stock.
- Downloads and install mediaImages, tools and install media for VICIdial operators.
About VICIfast
We run VICIdial servers for call centres, so you don’t have to. You get the dialer set up, secured and kept running — we handle the server, the updates and the backups. Bring your own phone carrier at no markup, or use VICIfast Voice, our own US calling and numbers, from $0.0085 a minute. From $49 a month per server.
Questions? Call +1 636 556 0022 and talk to someone who runs dialers.
Citing this article
VICIfast Engineering. “Upgrading a VICIdial cluster without losing your custom changes”. VICIfast LLC, November 23, 2026. Retrieved from https://vicifast.com/blog/upgrade-vicidial-cluster-keep-custom-changes
Have questions?
Related posts
You might be interested in
Guides & tutorials
What happens when the VICIdial database machine fails
Guides & tutorials
What happens to live calls when a VICIdial dialer fails
Guides & tutorials
Why nobody can say why the floor had a bad day, and how to find out
Guides & tutorials
Watching a whole VICIdial cluster: what to check every 10 seconds
VICIfast newsletter
Liked this? Get the next one in your inbox.
We ship the kind of stuff you just read - concrete, numbers-first, no drip. One email when a new post goes live. Unsubscribe in one click.
Comments
No comments yet - be the first.



