Windows

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/v1.2.0.0/saronite-linux64-v1.2.0.0.tar.bz2
  • tar xvf saronite-linux64-v1.2.0.0.tar.bz2
  • cd saronite-linux64-v1.2.0.0
  • ./saronited --service-node

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: cd ~/

(If you have a cronjob running, you need to temporarily disable it while updating your server daemon)

To do this, use command: crontab -e

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: ps x

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: wget https://github.com/Saronite/saronite-protocol/releases/download/v1.2.0.0/saronite-linux64-v1.2.0.0.tar.bz2

Once you have downloaded the most recent rev, you need to decompress it using this command: tar xvf saronite-linux64-v1.2.0.0.tar.bz2

Now, if you type “ls” you should see  your newly decompressed server daemon folder named “saronite-linux64-v1.2.0.0” – You’ll want to use this command to change directories: cd saronite-linux64-v1.2.0.0

Once inside “saronite-linux64-v1.2.0.0” you should see “saronited” by typing command: ls

Simply run this command to start your new updated server daemon: ./saronited --service-node

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: print_sn_key

This “updating service node” guide should apply to future releases as well, the concept is the same.

Congrats, you’ve successfully updated your service node – If you need assistance feel free to join our Discord or Telegram and ask for assistance. Discord: here Telegram: here