A simple script to assist with updating ZelNodes to the latest version.
NOTE: This installation guide is provided as is with no warranties of any kind.
NOTE: To run this version of the script (v1.0), please use the same login that was used to install the ZelNode.
This script has been tested on Ubuntu Server 16.04 & 18.04.
- Already running ZelNode that was installed using the previous script
- SSH client such as Puttyor MobaXterm
- Connect to your VPS server console using PuTTY terminal program
Please use the same login as was used to install the ZelNode.
- Download script & begin update of ZelNode
PLEASE BE SURE YOU ARE LOGGED IN AS YOUR USERNAME (not root) BEFORE RUNNING THIS SCRIPT
wget -O zelnodeupdate.sh https://raw.githubusercontent.com/ZelScripts/ZelNodeUpgrade/master/zelnodeupdate.sh && chmod +x zelnodeupdate.sh && bash ./zelnodeupdate.sh
The script will update your OS, install the new ZelNode binaries, and create a cron job to compress & rotate zel log files
NOTE: This process may take anywhere from 3 to 5 minutes, depending on your VPS HW specs.
- Once the script completes, reboot your VPS by typing the following command:
sudo reboot -n
- Log back into your VPS and verify your node is running
zelcash-cli getinfo
NOTE: Please wait a few minutes for your node to connect and sync with the network before running this command.
A special thank you to Skyslayer, AltTank fam, dk808, & Packetflow for their contributions to this scrypt, and Orthoreb for debugging.