Upgrade an Existing MasterNode VPS Hot Wallet¶
These instructions are intended for those that are already running a MasterNode and want to upgrade an existing VPS with the newest Rupaya Core 5 wallet.
Use Putty (PC) or Terminal (MAC) to login to the Linux VPS that is running the Rupaya Hot wallet.
Login as the user that you used to install the wallet. Below are some of the possible usernames you may have used, depending on which installation guide you followed:
- root (github)
- rupxmn (http://rupx.center/mnode)
- rupx01 (GoodTimes setup guide)
- Note: These instructions will assume that you did not use root as the default user and therefore provides the commands starting with sudo to allow the commands to run with root privileges.
Stop the current wallet daemon with the following command:
Download the new wallet:
Extract the wallet binaries:
tar -xvf rupaya-5.2.0-x86_64-linux-gnu.tar.gz --strip-components 2
Delete the unneccessary file:
Move the rupayad and rupaya-cli files to the /usr/local/bin/ directory:
sudo mv rupayad rupaya-cli /usr/local/bin/
Make sure you are in your home directory and make a copy of your rupaya.conf file:
cd ~/ cp ~/.rupayacore/rupaya.conf .
OPTIONAL STEP: If you want to perform a full resync of the wallet, to clean out all stale entries, issue these commands to delete the .rupayacore directory, recreate it, and copy your rupaya.conf file back into it:
rm -rf .rupayacore mkdir .rupayacore cp rupaya.conf .rupayacore/.
Restart the Hot wallet with the rupayad -deamon command:
- NOTE: If you get the error “error: couldn’t connect to server” then you may need to kill the process manually or reboot the VPS and then restart the wallet with the rupayad -daemon command.
Verify that the ~/.rupayacore/rupaya.conf file still has the right information in it:
NOTE: If the output is blank, or the information is incorrect, then you can use the following command to stop the wallet, copy the saved rupaya.conf file back into the correct directory and restart the daemon:
rupaya-cli stop && sleep 20 && cp rupaya.conf ~/.rupayacore/. && rupayad -daemon
Run the ps -ef |grep rupaya command to verify that the daemon is indeed running:
ps -ef |grep rupaya
NOTE: You should get output showing that the rupayad -daemon is running. If you only see one single line that contains this output “grep –color=auto rupaya” then the daemon is not actually running. In this case, you may need to reboot the VPS and then run the rupayad -daemon command to be able to start the daemon successfully.
Once the rupayad -daemon service is confirmed as running, the upgrade of your existing Hot wallet is complete. Please proceed to the next step to set up the Cold Wallet on your computer.