Hi Fellow Witness,
Just creating a guide as I update my witness to v0.0.6. I believe most of the witness have already upgraded. However, creating this guide (even if one witness finds it helpful, I will be happy :D )
I'm not using hotbox at this point, so if you are already using hotbox then @jrswab should have taken care of this for you! ;-)
If you are not using hotbox, then you can follow this step:
Earlier , @stoner gave us an update that v0.0.6 was released with fix to many bugs and some features as follows:
- fix fc memory allocation issue
- fix rpc account_history in case from= limit= 0
- fix building
- embed fc into same repos
- print logo on start
The updated smoked and cli wallet location on github:
Ok folks, now lets update the witness:
I have two witness servers
- Main Witness
- Backup Witness
I need to switch the version to v0.0.6 on both the servers one by one.
In order to make sure that I don't miss a block, I make sure I start this process with Backup witness:
Login to Back Up Witness Server
cd to smoke folder you created during the setting up of witness(https://docs.smoke.io/#/witness)
Now check the smoke version
Download the smoked_lm (lm stands for low memory node) and cli wallet zip files from the gitbug using following command:
My boss is around, gotta minimize this window and act like I'm working on his project, I will be
Get's shit load of work for the weekend from my Boss ::facepalm::
Who care's, I'm addicted smoke.io, so now let's get back to smoke
Check whether the two .gz files are in your folder:
Alright, alright! you have the compressed files now, lets unzip them!
tar -xvf smoked_lm-0.0.6-x86_64-linux.tar.gz
tar -xvf cli_wallet-0.0.6-x86_64-linux.tar.gz
this will overwrite the existing files smoked and cli_wallet
You can do the following to see if the smoked and cli_wallet files are updated(check the date and time)
ls - lt
Alright! Next, remove the compressed files
Now, let's try swithcing to our smoked screen
screen -r smoked
Well, it's running fine (it's not producing blocks for me as I'm on backup witness, not the main
But, are we done yet? ----------------No!!!!!!!!!!!!!!------
Now we need to stop the ./smoked and start it again.
CNTRL + C
Ah!!!!!!!!!!!!!!!!! I see an error:
“Content of memory does not match data expected by executable”
blurred some content with a box , so that I don't expose any private info if it's there
so I reached out to @techcoderx on discord and he asked me to replay the blockchain!
Perform a replay of blockchain
Wola!!!!!!!!!!!!!! Worked like a charm!
Now run update witness on CLI Wallet to make this your current witness node.
Go back to the smoked screen to see you producing blocks!
Yayyyyyyyyyyyyy! My back up server is upgraded and producing the blocks!
Now, I will do the same steps for main witness server .
Okay, I have completed upgrading both backup and main witness to v0.0.6
I managed to perform this upgrade without missing a single block, yayy boy!!
To check if the smoked is running on v0.0.6
You should see a nice and cute ascii logo designed by @baabeetaa
it is cute as per @trees :D, well, I can't disagree to agree
Isn't it cute? Check it out!
I haven't smoked in a while, so I'm not getting any great quotes out of my heart! So let me use what I have already:
"We learn together, We smoke together and We grow together!"
“Until now we were walking alone, after smoke.io all those who were walking alone joined together to walk together "