Guide for V0.12.0 nodes updating to v0.12.1.6 in servers like Vultr or VPS.ag
First of all, if you have not already stop your old node, it's time to stop it.
cd eternity-0.12.0/bin && ./eternity-cli stop
Let's update our server after that
cd
apt-get update
apt-get upgrade
It's time to download the new distro
Now we unpack it
tar -xzvf eternitycore-0.12.1-linux64.tar.gz
And start the new node:
cd eternitycore-0.12.1/bin && ./eternityd
Funny thing, in my nodes at least I didn't recieve the rpcuser and rpcpassword usual error message of the first turn on of the node, so I have to push ctrl+c and enter to exit from node execution
Now we have to configure the new eternity.conf file
cd
cd .eternitycore && nano eternity.conf
We include the usual info:
rpcuser=lonbfdsbsfbfbfdgbzfdbame
rpcpassword=longzbfbzbfdbzdbword
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
eternitynode=1
eternitynodeprivkey=
--> We can copy the priv key from our eternitynode.conf file in the controller wallet or go to the folder .eternity and copy from the old eternity.conf file. Also we can use Winscp or a similar program to directly copy the old file in the new .eternitycore folder.
Let's start our node:
cd
cd eternitycore-0.12.1/bin && ./eternityd
See if everything is working
./eternity-cli getinfo
And made some cleaning from old instalation and tar archives if neccesary:
cd
rm -Rf eternity-0.12.0 && rm -Rf eternity-0.12.0-linux64.tar.gz && rm -Rf eternitycore-0.12.1-linux64.tar.gz && cd eternitycore-0.12.1/bin
We can also erase the old eternity blockchain folder .eternity, but I forgot about it
FInally we wait to have downloaded all the chain (it ususally is a very fast download), go to the console, restart the node with eternitynode start-alias and go to our node to check if the eternitynode is correctly started with:
./eternity-cli eternitynode status
And that's all. If you detect any mistake, please, post it to update the guide.
Salute
Ahhh, tip jar if you have some eternity to give away
EVgCha8qvpXeT52WaBQyoeXP9QdgvcRsnf
Anyone know why I might be getting rpcuser/password authentication failed error? Im using the same rpxuser/pass as my old node and while trying to update the new conf file, I get that error