To updated your Saronite daemon for Windows, follow the steps below
- Go to your folder where your Saronite daemon is
- Deleted your current saronited.exe
- Upload the latest saronited.exe
- Open command prompt as administrator
- cd <enter your directory> > press enter
- type saronited.exe –service-node
- Press enter
That’s all you need to do for Windows
Ubuntu / Linux – Quick Notes
- wget https://github.com/Saronite/saronite-protocol/releases/download/v22.214.171.124/saronite-linux64-v126.96.36.199.tar.bz2
- tar xvf saronite-linux64-v188.8.131.52.tar.bz2
- cd saronite-linux64-v184.108.40.206
Ubuntu / Linux – Long Notes
Here’s an overview of what needs to happen in order to update your daemon.
Firstly, you need to SSH/Connect into your server, login and navigate to your home dir – You’ll typically be put in your home dir, if not use command:
(If you have a cronjob running, you need to temporarily disable it while updating your server daemon)
To do this, use command:
Remove the entire line just after the marked out content (#) it should start with a * – I would save this line into a notepad as you will need it later to update your cronjob.
For instructions on updating your cronjob + saroscript please visit this link, and scroll to the very bottom.
(If you DO NOT have a cronjob running, skip the above section)
In order to run the new server daemon you need to kill / turn off the old server daemon, which should be named “saronited”. You can list all running processes by running this command:
Once you have identified the running “saronited” process, it should have a “PID” (Process ID) typically a number.
To kill the process, use command:
kill (process ID here)
Another way to stop the server daemon is to simply
screen -x (idhere) into your detached “saronited” screen and hit ctrl + c – the daemon should stop.
Once the old daemon is stopped, you need to wget the latest server daemon release – for this example the command would be:
Once you have downloaded the most recent rev, you need to decompress it using this command:
tar xvf saronite-linux64-v220.127.116.11.tar.bz2
Now, if you type “ls” you should see your newly decompressed server daemon folder named “saronite-linux64-v18.104.22.168” – You’ll want to use this command to change directories:
Once inside “saronite-linux64-v22.214.171.124” you should see “saronited” by typing command:
Simply run this command to start your new updated server daemon:
Everything should sync up and you should have the same service node ID – check this by running this command once the daemon has fully started:
This “updating service node” guide should apply to future releases as well, the concept is the same.