This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Update bandd & yoda guide (for v1.2.7 release)
Bun Uthaitirat edited this page Nov 27, 2020
·
1 revision
This guide explains how to upgrade yoda
program that currently running. The aim of this guide is to allow validators on BandChain to smoothly update their yoda
service without any significant downtime.
- Go to BandChain directory and checkout to the latest release.
cd $HOME/bandchain/chain
git fetch
git checkout v1.2.7
- Build the new version
make install
- Check the built
bandd
andyoda
versions
> bandd version --long
name: bandchain
server_name: bandd
client_name: bandcli
version: 1.2.7
commit: e677f114eb723491b03b925c9803bb9e6a108cf7
build_tags: ledger
go: go version go1.14.9 darwin/amd64
> yoda version
1.2.7
- Stop the old
yoda
process.
sudo systemctl stop yoda
- Restart the
bandd
process
sudo systemctl restart bandd
Make sure bandd
service continues to mine blocks by running journalctl -f -u bandd.service
- Start
yoda
back afterbandd
has started processing the blocks
sudo systemctl start yoda
You can check the log of yoda after restarting it by journalctl -f -u yoda.service