Last Updated: March 05, 2021
UPGRADE (1/2) Update the masternode installer script to take advantage of new features:
Many new features and fixes have been added to the Exor Masternode Installer since it’s initial release, most notably:
- Added support for installation on any modern Ubuntu or Debian Linux release
- Masternodes will now gracefully shutdown by themselves when you reboot/shutdown the vps
- Simplified the wallet daemon and cli commands (no longer need to specify -datadir for multi-wallet installs)
You can view the full list of changes here.
Follow the steps below to update the masternode installer and take advantage of the new benefits:
-
On your masternode vps, run the following command to update the 1st installed wallet:
sudo sh exor-mn-installer.shNOTE: be sure to enter y to update the script when it asks, and then wait a few minutes for it to run through the update install. -
If you only have 1 masternode, then skip to Step #4. Otherwise, if you have more than 1 masternode on the same server, then continue to step #3.
-
Run this next command to update all installed masternodes with a single command:
sudo sh exor-mn-installer.sh -UNOTE: It can take a few minutes to update each masternode, so be patient and wait for it to finish. -
After all of your masternodes have been updated, it is strongly recommended to reboot the vps at this point to get ready for the big operating system update. To reboot, run the following command:
sudo reboot
UPGRADE (2/2) Update Ubuntu v16.04 to v18.04:
Previously, the Exor masternode install script was only specifically compatible with Ubuntu 16.04 and no other operating system. Ubuntu 16.04 is going to be end-of-life on April 30, 2021 which means it will no longer receive critical bug fixes or updates after that date. It is strongly recommended to no longer use Ubuntu 16.04 after that date as it potentially opens the door to hackers getting in and other security issues.
Follow these steps to upgrade Ubuntu 16.04 to Ubuntu 18.04:
-
It is not 100% required, but it is recommended to shut down all masternodes before doing the upgrade, otherwise you risk blockchain corruption if your server is low on memory. You can shut down all wallets with a single command:
sudo sh exor-mn-installer.sh -R stopNOTE: Keep in mind that if you do shut down your masternodes and the upgrade takes longer than an hour, you may need to restart some of your masternodes from the controller wallet afterwards. -
To upgrade of Ubuntu 16.04 to 18.04, run the following commands one at a time, and wait for each to complete before running the next:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get install update-manager-core -y
sudo do-release-upgrade -f DistUpgradeViewNonInteractiveNOTE: The last command in the batch above will do the actual operating system upgrade which typically takes 15-30 minutes on a $5 vps server. Just be patient and wait for the upgrade to complete. -
Once the upgrade has finished, it is recommended to do one more reboot to complete the upgrade, which will also restart your masternodes automatically:
sudo reboot -
At this point you are done, although it is recommended to wait a few minutes and then log back onto the server one last time to double-check that everything is still working. You can run the following command to check the masternode status of all running wallets, but keep in mind you may need to wait more than a few minutes for all wallets to fully reload themselves before you will get a proper response:
sudo sh exor-mn-installer.sh -R getmasternodestatusNOTE: It’s also recommended to check your controller wallet for the masternode statuses to ensure that all masternodes that are on the server that was just upgraded are showing an ENABLED status.
That’s it! If all went well, you should have all your masternodes running smooth and secure with all the upgrades.
If you run into problems during this process or are unsure and need a bit of help, please visit us on our Telegram support channel