From v0.13.x to v0.14.0
This guide is exclusively for Validators and Node Operators, please pay Maximum attention and Perform a backup before upgrading!
The node will automatically stop at block height
2023-02-17 16:57:00 UTC. The log file will indicate that in order to continue, you must replace the
bitsongdbinary. At that point you can finish the
sudo systemctl stop bitsongd
sudo systemctl disable bitsongd
In the event that the update is unsuccessful, you will need to restore the previous status and install a future patch (example
In order to perform the backup, you just need to copy the content present on the home directory of
go-bitsong, in this case
Remember to have at least 50% free disk space
cp -Rv ~/.bitsongd ~/backup_bitsongd_0100
This operation should take 5/10 minutes, however, in the event that you're using low performance servers, the process might take up to 30/40 minutes.
The upgrade to
v0.13.0requires a version of
wget -q -O - https://git.io/vQhTU | bash -s -- --remove
wget -q -O - https://git.io/vQhTU | bash -s -- --version 1.19.5
First of all we need to make sure we're using the
We should get the
At this point we have to download and compile the new binary
rm -rf go-bitsong # (only in the event that a previous directory is already present)
git clone https://github.com/bitsongofficial/go-bitsong.git
git checkout v0.14.0
make installcommand will compile and install the new binary.
Let's check if the binary was properly updated
If we get the answer
0.14.0the process was successffully executed and we can proceed to restart the node.
sudo systemctl enable bitsongd
sudo systemctl start bitsongd
At this point the node will start performing the update of all the existing modules. Keep into consideration that the operation might take up to 10 minutes.
To view the logs:
sudo journalctl -u bitsongd -f