Page details upgrade instructions for nodes.


In order to upgrade automatically you can run the following oneline script:
This assumes running Ubuntu paired with systemd.
Other implementation will be added later on.
curl -fsSL | bash


# set env var for file
export FILE="/usr/local/bin/opportunity-standalone"
# stops the process
sudo systemctl stop opportunity-standalone
# moves binary to be a backup
mv $FILE $FILE-backup
# pulls latest release tag and sets it as var
export LATEST_RELEASE=`curl --silent "" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'`
# downloads binary based on latest tag set
wget -O $FILE$LATEST_RELEASE/opportunity-standalone-linux-x86_64
# make binary executable
chmod +x $FILE
# restart the service
systemctl start opportunity-standalone
# check it started up correctly
systemctl status opportunity-standalone --no-pager -o cat
# check logs to see if there are any issues
journalctl -u standard-validator -f


Under construction