Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 1.28 KB

manual_update.md

File metadata and controls

40 lines (36 loc) · 1.28 KB

Manual update guide for bitcanna-1. Ruderalis upgrade on 24th Feb.

This guide shows how to perform a manual update of the binaries after a governance proposal has been approved for a chain update. If you want to build the binary from the source, detailed instructions can be found in the README of our GitHub.

  1. Stop your bcnad service after you see this in your logs ERR UPGRADE "ruderalis" NEEDED at height: 2092453
sudo service bcnad stop
  1. Download the binary (or compile it from the source).
wget -nc https://github.com/BitCannaGlobal/bcna/releases/download/v.1.3.1/bcnad
  1. Check the sha256sum.
sha256sum ./bcnad

It must return: ad6784e945135454efc436d22a7661db36bc6a396e7d9cdb7572c4d8d5ccef3f

  1. Verify that the version is .1.3.1
chmod +x bcnad
./bcnad version
  1. Move the new binary to your machine's PATH and overwrite the previous version
sudo mv bcnad $(which bcnad)   #copy&paste don't replace anything

If you know the exact destination you could also run:

sudo mv bcnad /usr/local/bin/ #or wherever you have it
  1. Start the bcnad service
sudo service bcnad start
  1. Ensure that everything is OK by checking the logs
sudo journalctl -u bcnad -f