Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chainbase revision does not match head block num #345 #3670

Open
DataSteam2019 opened this issue Jan 2, 2022 · 0 comments
Open

Chainbase revision does not match head block num #345 #3670

DataSteam2019 opened this issue Jan 2, 2022 · 0 comments

Comments

@DataSteam2019
Copy link

I am trying to dockerized full node following this guidance: https://github.com/steemit/steem
At first the code works well, (the code I am running is: docker run -d --name steemd-full --env USE_WAY_TOO_MUCH_RAM=1 --env USE_FULL_WEB_NODE=1 -p 2001:2001 -p 8090:8090 --restart always steemit/steem:0.23.0-deploy-202112301612)
but after then it turns out to report some error. It looks like this:


initminer public key: STM8GC13uCZbP44HzMLV6zPZGwVQ8Nt4Kji8PapsPiNq1BK153XTX

chain id: 0000000000000000000000000000000000000000000000000000000000000000

blockchain version: 0.23.0


2572048ms main.cpp:121 main ] Backtrace on segfault is enabled.

2572048ms webserver_plugin.cpp:492 plugin_startup ] Waiting for chain plugin to start

2572048ms chain_plugin.cpp:468 plugin_startup ] Starting chain with shared_file_size: 322122547200 bytes

2572048ms chain_plugin.cpp:599 plugin_startup ] Opening shared memory from /var/lib/steemd/blockchain

2573505ms block_log.cpp:142 open ] Log is nonempty

2573505ms block_log.cpp:151 open ] Index is nonempty

2573505ms database.cpp:192 open ] 10 assert_exception: Assert Exception

revision() == head_block_num(): Chainbase revision does not match head block num.

{"rev":2889020,"head_block":2887513}

database.cpp:149 operator()

2573505ms database.cpp:192 open ] args.data_dir: /var/lib/steemd/blockchain args.shared_mem_dir: /var/lib/steemd/blockchain args.shared_file_size: 322122547200

2573505ms chain_plugin.cpp:608 plugin_startup ] Error opening database. If the binary or configuration has changed, replay the blockchain explicitly using --replay-blockchain.

2573505ms chain_plugin.cpp:609 plugin_startup ] If you know what you are doing you can skip this check and force open the database using --force-open.

2573505ms chain_plugin.cpp:610 plugin_startup ] WARNING: THIS MAY CORRUPT YOUR DATABASE. FORCE OPEN AT YOUR OWN RISK.

2573505ms chain_plugin.cpp:611 plugin_startup ] Error: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"database.cpp","line":149,"method":"operator()","hostname":"","timestamp":"2022-01-02T12:42:53"},"format":"revision() == head_block_num(): Chainbase revision does not match head block num.","data":{"rev":2889020,"head_block":2887513}},{"context":{"level":"warn","file":"database.cpp","line":192,"method":"open","hostname":"","timestamp":"2022-01-02T12:42:53"},"format":"rethrow","data":{"args.data_dir":"/var/lib/steemd/blockchain","args.shared_mem_dir":"/var/lib/steemd/blockchain","args.shared_file_size":"322122547200"}}]}

2574747ms webserver_plugin.cpp:433 plugin_initialize ] configured with 256 thread pool size

2574755ms webserver_plugin.cpp:442 plugin_initialize ] configured http to listen on 0.0.0.0:8090

2574756ms webserver_plugin.cpp:459 plugin_initialize ] configured ws to listen on 0.0.0.0:8090

2574797ms rc_plugin.cpp:1156 plugin_initialize ] Initializing resource credit plugin

2574798ms rc_plugin.cpp:1224 plugin_initialize ] RC's will be computed starting at block 26256743

2574798ms witness_plugin.cpp:479 plugin_initialize ] Initializing witness plugin

2574798ms account_by_key_plugin.cpp:264 plugin_initialize ] Initializing account_by_key plugin

2574798ms reputation_plugin.cpp:202 plugin_initialize ] Intializing reputation plugin

2574798ms market_history_plugin.cpp:170 plugin_initialize ] market_history: plugin_initialize() begin

2574799ms market_history_plugin.cpp:194 plugin_initialize ] market_history: plugin_initialize() end


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant