You are viewing a single comment's thread from:

RE: 🚨Emergency🚨 Update for Steem-in-a-box (witnesses, seeds, and RPCs)

Thanks for the quick update @someguy123!

However, I was a bit startled of how to update steemd without docker, but @drakos shared these important lines:

cp -rpn ~/steem-docker/data/witness_node_data_dir/config.ini ~/steem-docker/data/witness_node_data_dir/config.ini.bak
sed -i ~/steem-docker/data/witness_node_data_dir/config.ini -r -e 's/required-participation = false/required-participation = 0/g'

echo -e "seed-node = 52.207.85.82:2001\nseed-node = seed-east.steemit.com:2001\nseed-node = seed-central.steemit.com:2001\nseed-node = seed-west.steemit.com:2001\n$(cat ~/steem-docker/data/witness_node_data_dir/config.ini)" > ~/steem-docker/data/witness_node_data_dir/config.ini

cd ~/steem-docker ; ./run.sh stop ; cd ~/steem-docker/dkr ; docker build --no-cache -t steem .

# steps for a witness node only
cd ~/steem-docker ; ./run.sh start  ; docker logs --tail=30 witness -f # start when ready, wait for at least 128 blocks, then:

sed -i ~/steem-docker/data/witness_node_data_dir/config.ini -r -e 's/required-participation = 0/required-participation = false/g'

cd ~/steem-docker ; ./run.sh restart # final restart

Which was a way to update steemd without relying on your update.

Sort:  

The simple way is:

./run.sh stop
docker rmi someguy123/steem
docker rmi steem
./run.sh build
docker tag steem someguy123/steem:latest

then restart/replay as needed :)

Ah ok I see. Thank you! Yes, some lines were only for adding seed nodes etc.

I also did it this way and it worked for me. I had to replay the blockchain though.