Regularly updating your node is essential for maintaining optimal performance, security, and network compatibility.
This guide outlines the steps to update your node, whether you are running it manually, via an installation script, or using Docker. The process includes stopping your node, backing up important data, updating the binaries, and restarting the node to ensure its stays syncronized with the Juneo Mainnet. Follow each step carefully to preserve the integrity and connectivity of your node.
1. Stop your node
Depending on how you run your instance you should stop it, accordingly.
a. Running the node manually
Access the window where you are running the binary ./juneogo and stop it with Ctrl+c.
b. Running the node using the Install Script
As you run your Node as service you need to stop it with systemctl.
sudosystemctlstopjuneogo
c. Running with juneogo-docker
You can stop your docker with the following:
1) Go to juneogo-docker
2) Run docker-compose down
2. Backup your node
Carefully backup your Node if you are curently validating the Juneo Mainnet Network. ( You only need to backup the Node ID )
It's recommended to save your staking files in a different location than juneogo or juneogo-docker directory.