How I'm learning to Love Ubuntu
Let me start off by saying that I am a long time Windows user and only started using Ubuntu two weeks ago when I learned about Steem. So I dug up an old laptop and converted it to Ubuntu 16. So far pretty painless. Then I followed @joseph's Mining Steem for Dummies Guide. A few hours later I found my first block and had earned some Steem Power. A couple old hard drives and a few days later and I had my two desktops mining using Ubuntu also.
Then, this morning I noticed that two of my mining computers had not produced any Steem for the last 24 hours. I went to the computers and checked the mining screen to check their hash rate, but all I saw was a list of messages saying something like
Read_Loop ntp_delta_time updated.....
Didn't mean anything to me so I tried restarting steemd. I got a few messages showing 1hps hash rate but nothing else. So I opened the cli_wallet and ran the about command on all three computers and low the two non mining computers were version 0.4.3 and the one still mining was 0.5.0.
Well at least I had an idea of where the problem was. After stumbling around trying to the 0.4.3 computers I figured out an easy and fairly fast solution. Here it is:
Close any Terminal windows in Steem.
Using file manager rename the steem folder to old_steem.
Open a Terminal window and enter the following commands:
- git clone https://github.com/steemit/steem
- cd steem
- git submodule update --init --recursive
- cmake -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON CMakeLists.txt
- make
- cd programs/steemd
- ./steemd --rpc-endpoint --seed-node="seed.steemed.net:2001" --seed-node="52.74.152.79:2001"
Open a second Terminal window and enter the following commands:
cd steem/programs/cli_wallet
./cli_wallet
set_password "PASSWORD"
You can use the same PASSWORD as the original wallet.
unlock "PASSWORD"
import_key 5_Your_Original_WIF_Private_Key
ctrl+c
In the steemd terminal window:
- ctrl+c
Using file manager copy the old config.ini file from old_steem/programs/steemd/witness_node_date_dir and paste it into steem/programs/steemd/witness_node_date_dir, replacing the existing config.ini file.
Next copy the blockchain folder from old_steem/programs/steemd/witness_node_date_dir and paste it into steem/programs/steemd/witness_node_date_dir, replacing and merging with the existing blockchain folder and subfiles.
Finally in the steemd Terminal window enter the command:
- ./steemd --rpc-endpoint
At this point you should see that the miner starts Replaying Blocks and shortly afterwards you will see the messages with a Hash Rate of 1hps. When the miner finishes syncing you will see a higher hash rate. Congratulations, you back up and running.
Once again I would like to thank @joseph whose original guide I relied heavily on for this guide.
There was a hardfork and your older miners didn't have the updated code to operate on the newly forked blockchain. Steemd.com gave the warning about the hardfork, and hopefully will continue to give people a warning in the future too.
You don't need to mess with the cli_wallet at all if you're only mining. And to transfer the encrypted keys for cli_wallet you copy the wallet.json file in the /cli_wallet/ directory.
Also you can add rpc-endpoint = 127.0.0.1:8090 in your config.ini if you need to access steemd from another program (like cli_wallet) and you won't need to use the switch from command line.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the info. Copying the wallet.json file makes the upgrade process even simpler.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is why we need to fix the bot problem. This should be up voted. Sure it's not a dissertation, but its a good post with very useful information that people aren't reading because it's already buried.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks a lot.
This is exactly what I was looking for.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is a good post, I'll up-vote when my voting power recovered.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Where do You find the WIF Key?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Your original WIF key (assuming you are upgrading a working miner) would be in the config.ini file located in the steem/programs/steemd/witness_node_date_dir folder if following the instructions above. If you are looking for the WIF key for an existing acccount you can click on the permissions link under your profile icon, then click show for your owner or active account to display the WIF keys.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit