Master Node Update Guide
A Guide to update the master nodes
Last updated
A Guide to update the master nodes
Last updated
This document is for Master Node Operators who have used the previous Master Node Full Guide and wish to update the version of their Master Node.
Note that this update guide is for individuals running their Master Node as a Service on linux. If you are using any
screen
's you will need kill the screens and go back to the Master Node Full Guide and follow it once more.It is highly recommended running your Master Node as a Service due to the ease of updating.
If you are updating your VPS you would by now have a good understanding of how to log in to your server. If you don't check out how you prepared your server in this guide here.
Once we have logged in to our VPS we should update our package lists, the below command downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs.
You will notice a bunch of package lists were downloaded, once this is complete run the below command to fetch new versions of any packages we currently have installed on the system.
You will be prompted to authorise the use of disk space, type y
and enter to authorise.
If you are prompted during the upgrade that a new version of any file is available then click the up and down arrows until you are hovering over install the package maintainer’s version
and click enter.
Alright, good to go. Our server is now up to date. On to the fun part!
To download the Linux binaries use the following command:
Where <link>
is the download link of the latest linux release. To find the link go to https://github.com/beldex-coin/beldex/releases/latest, right click the latest linux release and click Copy Link Location
.
Your command should look something like:
To unzip the downloaded zip file run the following command (changing 3.1.3 to whatever version you downloaded above):
You will see something like this:
Note that they are unzipped into the beldex-linux-x64-v3.1.3
folder; you can check they are unzipped by running the following to change into the folder and then listing the files:
We now want to replace our "symlink" to the new extracted beldex-linux-x64-v3.1.3
folder. If you are unfamiliar with what the "symlink" was doing previously have a look at the Master Node Full Guide where you first set it up.
Otherwise, run the following command.:
Where <folder_name>
is the new folder we created when unziping the release. In this case if we were to update to v3.0.2
the commands we would use would be:
This replaces our virtual beldex
folder that pointed to an old folder to the beldex-linux-x64-v3.1.3
folder we created.
At this point it is wise to restart your system with the following command:
Once the system has restarted it will reboot the new version of beldexd
.
Log back in to your VPS and double check the new version of beldexd is running smoothly by running the following command:
NOTE: If you’re nervous about trusting the binaries or the download link, you should build it from source yourself. Instructions for that can be found in the README of https://github.com/beldex-project/beldex
Excellent! You have now updated your Master Node.