Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page Tree
expandCollapseAlltrue
rootSecure and Super Nodes


Panel
borderColorgrey
bgColorwhite
titleColorblack
borderWidth1
titleBGColorwhite
borderStylesolid
titleLanguages


Use this page for common commands used to upgrade the node tracker software running on Secure, or Super Nodes

  • Upgrading the node tracker
  • Check tracker status

NOTE: You must be using systemd to manage zend and nodetracker for this procedure. If you're using an older install using PM2 & Monit, please follow PM2 / Monit - Migration to systemd

If you wish to continue using the legacy configuration, see Upgrading Tracker Software (Legacy - PM2/Monit)



DescriptionCommand

Upgrading the node tracker
1Stop the running nodetracker process


Code Block
sudo systemctl stop zentracker


2Change directory to where the node tracker was cloned, this will be ~/nodetracker for the official guide


Code Block
cd ~/nodetracker


3Update git with the new repository URL and retrieve the latest source code


Code Block
git checkout -- package.json
git pull


NOTE: If git returns an error regarding any files run the following command (replacing 'filename' with the file returned in the error message) and repeat the commands above

Code Block
git checkout -- filename


4Install the Node Tracker with npm


Code Block
NODE_ENV=production npm install



Optional - Run nodetracker setup to update configuration settings
5

NOTE: The nodetracker only permits a single setting to be changed at a time between reconnects (IP, FQDN, T-Address, Stake Address)

  • Enter/Return through all settings not needing to be updated
  • To update stake address, see Change Staking Address


Code Block
node setup.js



Start the nodetracker and check it's status
6Start the nodetracker


Code Block
sudo systemctl start zentracker


7

Verify the status after restarting by following the logs and checking for valid output, exit by pressing CTRL + c



Code Block
sudo journalctl -fu zentracker



Insert excerpt
Social Links
Social Links
nopaneltrue