someguy123 / steem-docker Goto Github PK
View Code? Open in Web Editor NEWSteem-in-a-box - The easy way to manage Steem blockchain nodes (including witnesses, seeds and RPC nodes)
License: GNU Affero General Public License v3.0
Steem-in-a-box - The easy way to manage Steem blockchain nodes (including witnesses, seeds and RPC nodes)
License: GNU Affero General Public License v3.0
I have been good to version 0.19.6
but HF20(latest) version is some error.
the contents are as follows
./run.sh replay
Removing old container
seed
Running steem with replay...
8c2eba93bd44a7bc12d8d7c1bf3a72b4db9cf80bdbb89e8a8fcc78d559dd0a3c
Started.
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8c2eba93bd44 steem "steemd --data-dir=/…" 9 seconds ago Exited (132) 8 seconds ago seed
The docker exited as soon as it starts
Can i found a solution?
Would you provide instructions or a link to instructions on how to run this?
The replay stops at around 9%, and nothing more. I am kicked out of the docket logs at that point.
./run.sh replay
docker logs -f witness
1119343ms p2p_plugin.cpp:616 plugin_initialize ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
{"message":"Host not found (authoritative)"}
asio.cpp:88 resolve_handler
{}
asio.cpp:168 resolve
{"endpoint_string":"seed-central.steemit.com:2001"}
p2p_plugin.cpp:73 resolve_string_to_ip_endpoints while adding seed node seed-central.steemit.com:2001
1119374ms p2p_plugin.cpp:616 plugin_initialize ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
{"message":"Host not found (authoritative)"}
asio.cpp:88 resolve_handler
{}
asio.cpp:168 resolve
{"endpoint_string":"seed-west.steemit.com:2001"}
p2p_plugin.cpp:73 resolve_string_to_ip_endpoints while adding seed node seed-west.steemit.com:2001
1120286ms rc_plugin.cpp:919 plugin_initialize ] Initializing resource credit plugin
1120286ms witness_plugin.cpp:648 plugin_initialize ] Initializing witness plugin
1120286ms webserver_plugin.cpp:311 plugin_initialize ] configured with 32 thread pool size
1120286ms webserver_plugin.cpp:343 plugin_initialize ] configured http to listen on 0.0.0.0:8090
1120286ms webserver_plugin.cpp:349 plugin_initialize ] configured ws to listen on 0.0.0.0:8090
------------------------------------------------------
STARTING STEEM NETWORK
------------------------------------------------------
initminer public key: STM-----------------------
chain id: 0000000000000000000000000000000000000000000000000000000000000000
blockchain version: 0.20.0
------------------------------------------------------
1120287ms main.cpp:121 main ] Backtrace on segfault is enabled.
1120287ms chain_plugin.cpp:405 plugin_startup ] Starting chain with shared_file_size: 68719476736 bytes
1120287ms chain_plugin.cpp:483 plugin_startup ] Replaying blockchain on user request.
1120287ms database.cpp:185 reindex ] Reindexing Blockchain
1120317ms block_log.cpp:142 open ] Log is nonempty
1120317ms block_log.cpp:151 open ] Index is nonempty
1120317ms database.cpp:193 reindex ] Replaying blocks...
1120317ms rc_plugin.cpp:465 operator() ] Genesis pool_obj is {"id":0,"pool_array":["21640431401",165575358,"16030041350","14426954266915","5122556912307"]}
1120317ms rc_plugin.cpp:401 operator() ] resource_new_accounts adjustment on block 1: -165574522
0.385498% 100000 of 25940455 (65530M free)
0.770996% 200000 of 25940455 (65530M free)
1.15649% 300000 of 25940455 (65529M free)
1.54199% 400000 of 25940455 (65528M free)
1.92749% 500000 of 25940455 (65527M free)
2.31299% 600000 of 25940455 (65526M free)
2.69849% 700000 of 25940455 (65524M free)
3.08399% 800000 of 25940455 (65522M free)
3.46948% 900000 of 25940455 (65519M free)
1130187ms database.cpp:4708 apply_hardfork ] HARDFORK 1 at block 905693
1131045ms database.cpp:4708 apply_hardfork ] HARDFORK 2 at block 934585
1131589ms database.cpp:4708 apply_hardfork ] HARDFORK 3 at block 953363
1132864ms legacy_asset.hpp:101 unpack ] unpack legacy serialization 84959911236353
1132864ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1132864ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1132864ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1132864ms steem_evaluator.cpp:100 do_apply ] Wrong fee symbol in block 994240
1132864ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1132864ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1132864ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
3.85498% 1000000 of 25940455 (65516M free)
1133757ms legacy_asset.hpp:101 unpack ] unpack legacy serialization 84959911236353
1133757ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1133757ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1133757ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1133757ms steem_evaluator.cpp:100 do_apply ] Wrong fee symbol in block 1021529
1133757ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1133757ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1133757ms legacy_asset.hpp:70 pack ] pack legacy serialization 84959911236353
1134412ms database.cpp:4708 apply_hardfork ] HARDFORK 4 at block 1041497
4.24048% 1100000 of 25940455 (65514M free)
4.62598% 1200000 of 25940455 (65513M free)
5.01148% 1300000 of 25940455 (65512M free)
5.39698% 1400000 of 25940455 (65510M free)
5.78247% 1500000 of 25940455 (65508M free)
6.16797% 1600000 of 25940455 (65506M free)
6.55347% 1700000 of 25940455 (65504M free)
6.93897% 1800000 of 25940455 (65500M free)
7.32447% 1900000 of 25940455 (65497M free)
1165471ms database.cpp:4708 apply_hardfork ] HARDFORK 5 at block 1934236
7.70996% 2000000 of 25940455 (65493M free)
8.09546% 2100000 of 25940455 (65490M free)
8.48096% 2200000 of 25940455 (65487M free)
8.86646% 2300000 of 25940455 (65483M free)
9.25196% 2400000 of 25940455 (65479M free)
9.63746% 2500000 of 25940455 (65475M free)
I was running on v.0.19.12 before this through compiling it myself.
Any idea what can be the reason for the abrupt stop?
Thanks.
why ping me
Hi there,
I'm a bit confused how I would start a full node with mira enabled.
As far as I understand I need to change the docker tag in the .env file.
Which is the correct docker tag for that?
I see 4 possible tags, but none that seems quite right for me:
Thanks for clearing things up!
Following the instructions. Saw an error. Tried resizing an running the commands again. See bolded highlights below:
rolfedlugy-hegwer at RsMBP in ~/Documents
$ ssh -i "whopah.pem" [email protected]
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-1041-aws x86_64)
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
43 packages can be updated.
19 updates are security updates.
Last login: Fri Jan 5 18:43:02 2018 from num.num.num.num
ubuntu@ip-wha-wha-wha-wha:~$ cd steem-docker
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ ./run.sh install
Loading image from someguy123/steem
Using default tag: latest
latest: Pulling from someguy123/steem
d5c6f90da05d: Pull complete
1300883d87d5: Pull complete
c220aa3cfc1b: Pull complete
2e9398f099dc: Pull complete
dc27a084064f: Pull complete
f3e4adbb074a: Pull complete
5830076acf40: Pull complete
787ca1f89787: Pull complete
Digest: sha256:dlsafjhasdkjfldsakjflkjdsalkflasdkjflaskdjf
Status: Downloaded newer image for someguy123/steem:latest
Tagging as steem
Installation completed. You may now configure or run the server
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ ./run.sh dlblocks
Removing old block log
Download @gtg's block logs...
--2018-01-05 18:46:32-- https://gtg.steem.house/get/blockchain.xz/block_log.xz
Resolving gtg.steem.house (gtg.steem.house)... 51.254.67.207
Connecting to gtg.steem.house (gtg.steem.house)|51.254.67.207|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14762387884 (14G) [application/octet-stream]
Saving to: ‘/home/ubuntu/steem-docker/data/witness_node_data_dir/blockchain/block_log.xz’
/home/ubuntu/steem-docker/data/witness 38%[============================> ] 5.31G 8.32MB/s in 8m 52s
Cannot write to ‘/home/ubuntu/steem-docker/data/witness_node_data_dir/blockchain/block_log.xz’ (Success).
Decompressing block log... this may take a while...
xz: /home/ubuntu/steem-docker/data/witness_node_data_dir/blockchain/block_log: Write error: No space left on device
FINISHED. Blockchain downloaded and decompressed
Remember to resize your /dev/shm, and run with replay!
$ ./run.sh shm_size SIZE (e.g. 8G)
$ ./run.sh replay
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ ./run.sh remote_wallet
docker: Error response from daemon: write /var/lib/docker/containerd/daemon/io.containerd.metadata.v1.bolt/meta.db: no space left on device: unknown.
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ ./run.sh shm_size 16G
Setting SHM to 16G
mount: only root can use "--options" option
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ sudo ./run.sh shm_size 16G
Setting SHM to 16G
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ ./run.sh replay
Removing old container
Error: No such container: seed
Running steem with replay...
411f0440a45051969ea69d392636a42c82a2c327c2f2aa647a03c59cae67c20b
docker: Error response from daemon: write /var/lib/docker/containerd/daemon/io.containerd.metadata.v1.bolt/meta.db: no space left on device: unknown.
Started.
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ ./run.sh dlblocks
Removing old block log
Download @gtg's block logs...
--2018-01-05 19:03:42-- https://gtg.steem.house/get/blockchain.xz/block_log.xz
Resolving gtg.steem.house (gtg.steem.house)... 51.254.67.207
Connecting to gtg.steem.house (gtg.steem.house)|51.254.67.207|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14762387884 (14G) [application/octet-stream]
Saving to: ‘/home/ubuntu/steem-docker/data/witness_node_data_dir/blockchain/block_log.xz’
/home/ubuntu/steem-docker/data/witness 38%[============================> ] 5.31G 10.9MB/s in 6m 40s
Cannot write to ‘/home/ubuntu/steem-docker/data/witness_node_data_dir/blockchain/block_log.xz’ (Success).
Decompressing block log... this may take a while...
xz: /home/ubuntu/steem-docker/data/witness_node_data_dir/blockchain/block_log: Write error: No space left on device
FINISHED. Blockchain downloaded and decompressed
Remember to resize your /dev/shm, and run with replay!
$ ./run.sh shm_size SIZE (e.g. 8G)
$ ./run.sh replay
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ ./run.sh shm_size 16G
Setting SHM to 16G
mount: only root can use "--options" option
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ sudo ./run.sh shm_size 16G
Setting SHM to 16G
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$ sudo ./run.sh replay
Removing old container
seed
Running steem with replay...
74449414addc0ecd8e6591ceed584957b808eab2e2ce772809fd293a742b907b
docker: Error response from daemon: mkdir /var/lib/docker/containers/74449414addc0ecd8e6591ceed584957b808eab2e2ce772809fd293a742b907b/shm: no space left on device.
Started.
ubuntu@ip-wha-wha-wha-wha:~/steem-docker$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.