Update APR to 3.0

XeZZ
2 min readDec 19, 2018

--

Updating your masternodes to APR 3.0 will require you to resetup the nodes from scratch as the chain was rolled back several blocks which means some collaterals might not be valid anymore. To avoid confusion for low-tech people we start the nodes from scratch again.

First of all update your windows/mac wallet from here: https://github.com/APRCoin/zenith-repository/releases/tag/V3.0

Go to %appdata%\Roaming\AprCoin and backup your wallet.dat and backups folder. Put them safely on an USB stick (You should have done that long ago if you did not already). Remove everything else despite those 2 files and aprcoin.conf. Open aprcoin.conf with an editor and put the following in:

rpcuser=yourrandomname
rpcpassword=yourrandompw
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=16
staking=1
addnode=142.93.142.33
addnode=206.189.160.179
addnode=178.128.166.102
addnode=167.99.171.144
addnode=209.97.183.237
addnode=104.248.244.144
addnode=159.89.207.84
addnode=80.85.158.36
addnode=91.211.248.160
addnode=164.132.135.102
addnode=185.235.131.132
addnode=178.159.38.187

Now we go to the VPS side. First you will need to cleanup the old stuff as some people experienced shutdown problems cause they changed configs or for whatever reason we will go the complicated way here now. Connect to your VPS with your favourite client (Putty most likely) and type the following commands:

ps -ef | grep aprcoin

You will see something like this:

This is all processes that run with apr. Everything that has aprcoind in it must be stopped (Means ignore the “grep…” output) to do so do the type the following:

kill -9 processid

Where processid is the first number in each line of the output. Do it for all the lines. If you did it right the command will give nothing back but the process is killed. If you did it wrong you will get an error (No such process)

After all are killed type the following command:

rm -r setup*.sh update*.sh .aprcoin* bin/apr*.sh /usr/bin/apr*

Your VPS is now cleaned up and you can start again with setting up masternodes. To do so you can just take the previous guides which are up to date. The one for setting up a single node on the VPS can be found here and the more complicated one which will allow a multiple node setup on a single server here.

Thats it have fun updating and thanks for reading ;)

--

--