Steem-in-a-box updated for v0.19.2

in #witness-category7 years ago (edited)

STEEM-in-a-box Description - Steem-in-a-box is a toolkit made for witnesses, to ease the pain of deploying a witness or seed server. It includes helpful commands such as dlblocks which automatically grabs the Blockchain from @gtg's server, extracts it, and installs it into the correct directory.

If you're looking to set up a NEW witness server, please follow the Steem-in-a-box HF19 instructions

The v0.19.2 update is important for witnesses as it adds in some fixes to the P2P code. This may help resolve the spout of block misses we've seen recently.

Upgrade Step 1. UPDATE YOUR SEED NODES

This is important. It's been a while since Steem-in-a-box had it's seeds updated, and many of them are offline. I have published a new seed list into the example config, which means new witnesses will already have the updated seeds.

Please update your config.ini with this seed list (you may want to also remove all previous seeds incase they are offline).


# P2P nodes to connect to on startup (may specify multiple times)
seed-node = anyx.co:2001                        # @anyx (CA)
seed-node = gtg.steem.house:2001                # @gtg (PL)
seed-node = seed.steemnodes.com:2001            # @wackou (NL)
seed-node = 192.99.3.29:2001                    # joseph
seed-node = 5.9.18.213:2001                     # pfunk
seed-node = lafonasteem.com:2001                # lafona
seed-node = seed.rossco99.com:2001              # rossco99
seed-node = steem-seed.altcap.io:40696          # ihashfury
seed-node = seed.steemfeeder.com:2001           # au1nethyb1
seed-node = seed.roelandp.nl:2001               # roelandp
seed-node = steem.global:2001                   # klye
seed-node = seed.esteem.ws:2001                 # good-karma
seed-node = 176.31.126.187:2001                 # timcliff
seed-node = seed.thecryptodrive.com:2001        # thecryptodrive
seed-node = steem-id.altexplorer.xyz:2001       # steem-id
seed-node = seed.bitcoiner.me:2001              # bitcoiner
seed-node = 104.199.118.92:2001                 # clayop
seed-node = seed.steemviz.com:2001              # ausbitbank
seed-node = steem-seed.lukestokes.info:2001     # lukestokes
seed-node = seed.blackrift.net:2001             # drakos
seed-node = seed.jerrybanfield.com:2001         # @jerrybanfield (USA)

Upgrade Step 2.

Grab the latest Steem-in-a-box code. There may have been improvements to the run.sh script.

cd steem-docker
git pull

Upgrade Step 3.

Disable your signing key, or switch to your backup server.

@furion's conductor

conductor disable

cli_wallet

update_witness "yourname" "https://steemit.com/witness-category/@yourname/thread" "STM1111111111111111111111111111111114T1Anm" {"account_creation_fee":"0.200 STEEM","maximum_block_size":65536,"sbd_interest_rate":0} true

Upgrade Step 4.

Stop the server

./run.sh stop

Install the new release

./run.sh install

Assuming you were on v0.19.1 previously, you should be able to start the server again, without the need for a replay.

./run.sh start

Check your logs with

./run.sh logs

If all went well, you'll see this:

802147ms th_a       witness_plugin.cpp:487        plugin_startup       ] witness plugin:  plugin_startup() begin
802147ms th_a       witness_plugin.cpp:492        plugin_startup       ] Launching block production for 1 witnesses.
802147ms th_a       witness_plugin.cpp:493        plugin_startup       ] _witnesses: ["someguy123"]
802147ms th_a       witness_plugin.cpp:507        plugin_startup       ] witness plugin:  plugin_startup() end
802148ms th_a       main.cpp:198                  operator()           ] Started witness node on a chain with 15079834 blocks.
804050ms th_a       application.cpp:514           handle_block         ] Got 17 transactions on block 15079867 by busy.witness -- latency: 50 ms
807070ms th_a       application.cpp:514           handle_block         ] Got 18 transactions on block 15079868 by bhuz -- latency: 70 ms

You're now on v0.19.2 - congratulations. It may take a while to show up on Steemd/SteemDB, as it is only updated when you get a block.


Do you like what I'm doing for STEEM/Steemit?

Vote for me to be a witness - every vote counts.

Don't forget to follow me for more like this.


Have you ever thought about being a witness yourself? Contact me on STEEMIT.CHAT, or just ask in the witness channel. I'm happy to guide you! Join in shaping the STEEM economy.

Are you looking for a new server provider? My company @privex offers highly-reliable and affordable dedicated and virtual servers for STEEM, LTC, and BTC! Check out our site https://www.privex.io

This post is 100% powered up

Sort:  

Would you please add

seed-node = seed.jerrybanfield.com:2001 # @jerrybanfield (USA)

because my seed node is online indefinitely also?

Done :)

Thank you very much!

Thank you for your help with my witness servers! tip! 150

What is this program about?

Hi,

This is a technical article for witnesses, related to a new release of the STEEM software.

If you don't know what a witness is, check out my article: Seriously, what is a STEEM witness? Why should I care? How do I become one? (Answer)

Thanks for the link, I was also searching for "How to become a witness"

Hope your shared link will help me

I have few questions regarding app development.

I want to develop some apps for steem platform. From where I can start ?? How app developer will earn from his app ??

Thank you. Maybe I will try to became a witness.

Thanks for sharing followed you up! ^_^

This looks pretty damn cool man, upvoted!

follow me back i follow you

now I started follow u.. as a new I need some support also

Let's hope steem can now get on to more exchanges and also for it to not get its wallets put under maintenance on the existing exchanges constantly

Thank you for all your work as witness and running the platform as smoothly as it is now and trying to do everything to better steemit @someguy123

Great. Thanks for sharing. I'm starting to follow you.

Wow !!! a very interesting post. really a very useful post, by following these steps is very helpful in solving the problem. thank you for sharing information.

If this is steem in a box, I can only wonder what steem without the box could be ... ))

Very good info, I go and look this more :)

great tool. I'll run it as soon as I'll have a dedicated machine for a full node

that's cool . follow me upvote my post .

Good Work. Thanks.

I badly need this my newly setup witness always missed a block.

Very interested in becomming a whitness, this whole scene is so enspiring to all of the people that surround it, I can only imagine the questions people ask themselves on a daily basis to do with cryptocurrency and it's future. All I can say is.. It looks bright!

Great reference to upgrade your server and guidelines on how to expand your works. Good P2P decentralize server where everyone are participating!

Thanks for share

thank you
just have to figure out how...

Thank for sharing this new information on Steemit. The more I use the platform, the more that I'm convinced of Steemit's bright future.

a good post and I will try to do it .. wait for me friend

still do not undestand about this. I have to read a lot about this. thank you for sharing

great info thank you

Wow nice post.

nice information.

Yea, sounds great! Look complicated though

You're a wizard man, thanks! This is such a big time saver.

Great article. Could you please let me know what's the minimum hardware I need to run a witness? Also what are my choices (VPS maybe?)
Thanks for your time @someguy123

Last I checked 2 core 2Ghz cpu, 8gb ram, and 40gb hard disk. But you want to have room to grow to 12gb and eventually 16gb of ram.

Thanks for answering. I will take that on account. I'm getting one of those. Willing to contribute with a witness. Steem ON!

This is very useful info for those looking to set up a witness server.

Thank you, Ill check out your other article too.

Ah, so complicated even with your ready made installers. Guess, witness job is certainly not for everyone!!!

Hello @someguy123, I saw that you've down-voted one of SneakPeek Bot's comment. I'm so sorry for the inconvenience it has caused, and as a result, I'm taking it down.

Nice, I may use this soon.

Id: tumble
hi , I created an account with anonsteem
The account was not created properly.
Request you to check.

after 12 days still a lot of witnesses on 19.1 as you can see in https://steemd.com/witnesses , isn't that a sign for people to unvote those witnesses ?

Not really. 0.19.2 is not a major update, it supposedly has some network fixes, but nothing that requires consensus.

So far as a top 20 I have not had any issues with 0.19.2, and would encourage people to go ahead and upgrade, but many witnesses follow "if it ain't broke, don't fix it".

ahh so it doesn't give any compatibility issues between an upgraded and a non upgraded witness .

Hi there! Thanks for the guide. Followed the tut but keep getting this error:

tcp_socket.cpp:162 bind ] Exception binding outgoing connection to desired local endpoint 0.0.0.0:45039: bind: Bad file descriptor

Any ideas? Byw, upvoted!

UPDATE: Solved!

Just ran ./run.sh stop and then ./run.sh start.

Worked like a charm though I still don't know what cause the initial error

... happened again when I checked this morning. Same error. Wonder what's happening. Any thoughts @someguy123 ?

It's a rare bug in certain versions of Docker. You can try to downgrade or upgrade your Docker version.

If for some reason you have issues stopping or removing it at any point, here's a fix:

docker stop witness
docker rm -f witness
docker network disconnect --force bridge witness
./run.sh stop

Got it, thanks! Been periodically checking every few hours. Seems to be fine now but, no increase in Steem, Steem Power or SBD.... wondering if I need to get more votes first

Thanks @someguy123, just started my own witness with your instructions.

Trying to use this on my Fedora 26 system, but once starting the container, it dies immediatly. In the logs I have the following error:

terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::status: Permission denied: "/steem/witness_node_data_dir/config.ini"
Aborted (core dumped)


Any idea what this might be?

As the error says, it's a permission error. Docker normally runs as root, but fedora has SELinux and other security features which can cause issues.

I'd recommend googling something like "docker selinux" or "docker fedora permission errors".

Hm, okay. Not had SELinux on the radar on this one. Will have a closer look if something there causing an access block. thx!