Skip to content

Instantly share code, notes, and snippets.

@kaypon
Last active January 18, 2019 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaypon/12476e97ba0af13ba39feb4e02620e25 to your computer and use it in GitHub Desktop.
Save kaypon/12476e97ba0af13ba39feb4e02620e25 to your computer and use it in GitHub Desktop.
Simple guide on updating sentinel on master nodes.

Sentinel Update

Sentinel is an autonomous agent for persisting, processing and automating ANON governance objects and tasks. Sentinel is implemented as a Python application that binds to a local version anond instance on each ANON Masternode.

This update is necessary as it fixes several bugs that were surfaced during the creation of proposals. This update serves to fix those errors ensuring that proposals remain on the network and are not automatically deleted by the Sentinel.

This guide covers updating an already installed version of Sentinel to the newest version v2.0.1.

Update Process

If you have not yet installed sentinel on your masternode, we advise that you follow the guide on the Sentinel Repo and install it.

To update, enter the following commands in your VPS where your masternode is located:

cd ~/sentinel

git fetch 

git checkout master

git reset --hard origin/master

git pull origin master

These commands will:

  • fetch the latest code saved on Github.
  • checkout to the correct branch.
  • reset your code if any changes have been made.
  • pull the latest changes and update the source code.

This is all that is needed for the update, if you installed Sentinel correctly in the first place, your crontab will run the Sentinel for you at the required time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment