Upgrading Horcrux version on a running system - Cumulo-pro/Horcrux-Architecture GitHub Wiki

1️⃣ Access the following information

✔️ View the current version of horcrux:
horcrux version
image

✔️ Info about the current leader:
horcrux leader
image

2️⃣ Perform the update on the two non-leading signer nodes.

sudo systemctl stop horcrux
wget https://github.com/strangelove-ventures/horcrux/releases/download/v3.2.3/horcrux_linux-amd64
mv horcrux_linux-amd64 horcrux
sudo cp horcrux /usr/bin/
sudo cp horcrux /usr/local/sbin/horcrux

✔️ Restart the service:
sudo systemctl restart horcrux
sudo journalctl -u horcrux -f

3️⃣ Change the current leader to one of the signers that have already been updated.

horcrux elect 2

4️⃣ Once you have changed leaders, repeat step 2️⃣ with the last node.

Restart the node and change the leader again if you want to