create account

Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix! by michaelx

View this thread on: hive.blogpeakd.comecency.com
· @michaelx · (edited)
$4.77
Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!
# Resuming mining on an Ubuntu mining setup after a hardfork doesn't have to be hard.

If you have problems updating your Ubuntu miner after a hardfork, just follow this quick fix guide to get back on the road!

![quick fix ubuntu mining server steemit hardfork](http://i.imgur.com/I1OnvV3.gif)

**NOT THAT KIND OF FIX!!!**

I must give a big shout to @fydel @anyx @killrathi were instrumental in helping me get this put together and sorted.

It's been a long time since I played with cmd line, and it seemed a little intimidating at first, especially after the first 12 or so hours of troubleshooting various errors coming up from all of the mining guides.

The guides I like to use are [@pfunks killer guide for Ubuntu mining on a Windows OS using VM Ware.](https://steemit.com/steem/@pfunk/guide-maximize-your-mining-hashrate-in-windows-by-mining-steem-in-a-vm)

And this [guide by @tuck-frehman on windows mining builds](https://steemit.com/steem/@pfunk/re-tuck-fheman-how-to-mine-steem-in-windows-20160529t050617981z)

I prefer the first guide now, as it enables me to use my Windows computer while mining with little to no performance issues.  The windows version is relatively easy to setup as well, though I would say that once you do the Ubuntu install...it is much easier.

If you are looking for [Windows Mining Fix For Steemit Mining Server Instructions](https://steemit.com/mining/@michaelx/sending-out-an-s-o-s-mining-errors-windows-version-bitcube-build), here are some that I wrote when having some installation challenges.

Ok, so let's say there is a hardfork (it's gonna happen sometimes).

The following commands will update your version of Steemd on your mining rig to the newest posted version in GitHub.

----------

If you have setup your server as in @pfunks guide, then you can go the KiTTY console, start it up, and then type in:

    cd ~/steem && git pull && rm -f CMakeCache.txt && cmake -DCMAKE_BUILD_TYPE=Release -DLOW_MEMORY_NODE=ON . && make && cd ~/steem/programs/steemd/witness_node_data_dir/blockchain/database/ && wget http://einfachmalnettsein.de/steem-blocks-and-index.zip && unzip -o steem-blocks-and-index.zip && cd ../../../ && ./steemd --replay

As long as http://einfachmalnettsein.de/steem-blocks-and-index.zip is updated to the new blockchain, it should update quickly.   You may also remove `http://einfachmalnettsein.de/steem-blocks-and-index.zip`
from the above code and replace it with a copy you have hosted, or someone else's somewhere such as [this copy of the Steemit blockchain backed up every 5 minutes](http://steemitup.eu).

After you run these commands, you may be prompted to install unzip to complete the last set of commands in the above code: `unzip -o steem-blocks-and-index.zip && cd ../../../ && ./steemd --replay`

If you ARE NOT prompted to install unzip, you should be good to go.  This got me on the road with one of my servers instantly.

If you ARE prompted to install unzip, simply type:

    sudo apt install unzip

If promted run that command to install a unzip .exe onto your server.

Then you can complete the blockchain being indexed by entering:
`unzip -o steem-blocks-and-index.zip && cd ../../../ && ./steemd --replay`

----------
**You should be good to go after this.**  

![hardfork steemit mining ubuntu](http://i.imgur.com/AxRAGiy.gif)

Happy mining.

Michael

### Other great posts from @michaelx 
Check my post about [Public Relations For Startups & Steemit - and learn how to become a Public Relations Badass](https://steemit.com/public/@michaelx/public-relations-training-for-steemers-and-steemit)...it would help you out tremendously!

[Are You Embarrassed By Your Ranking Steemit Posts Skills? Here’s What To Do!](https://steemit.com/steemit/@michaelx/are-you-embarrassed-by-your-ranking-steemit-posts-skills-here-s-what-to-do)

**[3 Tips For Mastering The HEART-STOPPING Headline](https://steemit.com/howto/@michaelx/3-tips-for-mastering-the-heart-stopping-headline)**

**[5 Ridiculously Simple Ways To Improve Your Footer In Your Steemit Post](https://steemit.com/writing/@michaelx/5-5-ridiculously-simple-ways-to-improve-your-footer-in-your-steemit-postsimple-ways-to-improve-your-footer-in-your-post)**
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
πŸ‘Ž  
properties (23)
authormichaelx
permlinkproblems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix
categorymining
json_metadata{"tags":["help","ubuntu","error","howto","steem","hardfork","mining","fix","ubuntumining","steemit","helpdesk","helpguide","miner"],"users":["fydel","anyx","killrathi","tuck-frehman","pfunks","michaelx"],"image":["http://i.imgur.com/I1OnvV3.gif"]}
created2016-07-16 23:02:45
last_update2016-07-17 03:56:57
depth0
children7
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value3.608 HBD
curator_payout_value1.163 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,199
author_reputation10,068,003,664,289
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id134,180
net_rshares2,249,932,867,310
author_curate_reward""
vote details (50)
@criticalproof · (edited)
$0.02
Thanks for this! I've been updating and then having to do the the long wait for a sync...this will help enormously!
πŸ‘  ,
properties (23)
authorcriticalproof
permlinkre-michaelx-problems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix-20160717t025712081z
categorymining
json_metadata{"tags":["mining"]}
created2016-07-17 02:57:15
last_update2016-07-17 03:00:27
depth1
children1
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.022 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length115
author_reputation21,720,926,844
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id135,577
net_rshares17,060,794,889
author_curate_reward""
vote details (2)
@criticalproof ·
Just as a heads up there is a method to do this without downloading the blocks, just some copy/pasta. It can be found here https://steemit.com/steemhelp/@gregory-f/clueless-user-s-guide-to-upgrading-to-steemd-0-8-x
properties (22)
authorcriticalproof
permlinkre-criticalproof-re-michaelx-problems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix-20160717t155135034z
categorymining
json_metadata{"tags":["mining"],"links":["https://steemit.com/steemhelp/@gregory-f/clueless-user-s-guide-to-upgrading-to-steemd-0-8-x"]}
created2016-07-17 15:51:36
last_update2016-07-17 15:51:36
depth2
children0
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length214
author_reputation21,720,926,844
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id147,054
net_rshares0
@fydel ·
$0.06
I will try to keep http://einfachmalnettsein.de/steem-blocks-and-index.zip updated on a daily basis.
πŸ‘  , , , , ,
properties (23)
authorfydel
permlinkre-michaelx-problems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix-20160717t011510542z
categorymining
json_metadata{"tags":["mining"],"links":["http://einfachmalnettsein.de/steem-blocks-and-index.zip"]}
created2016-07-17 01:15:09
last_update2016-07-17 01:15:09
depth1
children1
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.052 HBD
curator_payout_value0.003 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length100
author_reputation176,564,412,139
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id134,226
net_rshares59,908,714,749
author_curate_reward""
vote details (6)
@johnerfx ·
@michaelx Hi, doesn't this zip contains config.ini file too, so it replaces yours? I was looking for config.ini file yesterday to check if there were some WIF keys, but there were none ;) Remember not to include them.
πŸ‘  
properties (23)
authorjohnerfx
permlinkre-fydel-re-michaelx-problems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix-20160717t081515297z
categorymining
json_metadata{"tags":["mining"],"users":["michaelx"]}
created2016-07-17 08:15:21
last_update2016-07-17 08:15:21
depth2
children0
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length217
author_reputation1,455,868,290,913
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,208
net_rshares10,303,847,267
author_curate_reward""
vote details (1)
@killswitch ·
When I copy/paste that command into KiTTY, it says "fatal: Not a git repository (or any of the parent directories):  .git
πŸ‘  ,
properties (23)
authorkillswitch
permlinkre-michaelx-problems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix-20160717t052634906z
categorymining
json_metadata{"tags":["mining"]}
created2016-07-17 05:26:39
last_update2016-07-17 05:26:39
depth1
children2
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length121
author_reputation52,317,559,376
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id137,812
net_rshares14,095,805,090
author_curate_reward""
vote details (2)
@johnerfx ·
$0.02
clone repository first 'git clone https://................'
πŸ‘  , ,
properties (23)
authorjohnerfx
permlinkre-killswitch-re-michaelx-problems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix-20160717t082229968z
categorymining
json_metadata{"tags":["mining"],"links":["https://................"]}
created2016-07-17 08:22:36
last_update2016-07-17 08:22:36
depth2
children1
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.022 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length59
author_reputation1,455,868,290,913
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,287
net_rshares17,979,858,499
author_curate_reward""
vote details (3)
@killswitch ·
Thanks!
πŸ‘  
properties (23)
authorkillswitch
permlinkre-johnerfx-re-killswitch-re-michaelx-problems-updating-ubuntu-miner-after-a-hardfork-here-is-your-quick-fix-20160717t145434010z
categorymining
json_metadata{"tags":["mining"]}
created2016-07-17 14:54:33
last_update2016-07-17 14:54:33
depth3
children0
last_payout2016-08-23 22:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation52,317,559,376
root_title"Problems Updating Ubuntu Miner After A Hardfork? Here Is Your Quick Fix!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id146,317
net_rshares10,303,914,843
author_curate_reward""
vote details (1)