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

Block log was not setup properly with genesis information. #3545

Closed
Michael2008S opened this issue May 29, 2018 · 14 comments

Comments

@Michael2008S
Copy link

commented May 29, 2018

I get this error when I run ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin .

➜  nodeos git:(master) ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin
1875208ms thread-0   chain_plugin.cpp:151          plugin_initialize    ] initializing chain plugin
1875209ms thread-0   main.cpp:113                  main                 ] 10 assert_exception: Assert Exception
version > 0: Block log was not setup properly with genesis information.
    {}
    thread-0  block_log.cpp:470 extract_genesis_state

In this version:

commit 07a6798584d053ed6061bd892879c6c886ba104e
Merge: a609496 3588c5c
Author: Greg Lee <greg.lee@block.one>
Date:   Sun May 27 19:32:19 2018 -0400
@fulanto

This comment has been minimized.

Copy link

commented May 29, 2018

master is not stable, may be you should try released version

@fulanto

This comment has been minimized.

Copy link

commented May 29, 2018

well, I have tried dawn-v4.2.0, however, same error.

@jhtsing

This comment has been minimized.

Copy link

commented May 29, 2018

I have the same error.

@arhag arhag added this to the Version 1.1 milestone May 29, 2018

@wh2000292

This comment has been minimized.

Copy link

commented May 30, 2018

I use macos. clear folder ~/Library/Application Support/eosio/data can solve this problem

@fulanto

This comment has been minimized.

Copy link

commented May 30, 2018

@wh2000292 Any idea about ubuntu ?

@maheshnama

This comment has been minimized.

Copy link

commented May 30, 2018

@wh2000292 Any idea about ubuntu ? In Ubuntu16.04 delete this folder
/root/.local/share/eosio/nodeos/data ,start this command it should work
nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin

@2efPer

This comment has been minimized.

Copy link

commented May 30, 2018

clear this folder
Mac OS: ~/Library/Application Support/eosio/nodeos/data
Linux: ~/.local/share/eosio/nodeos/data

@stanishev

This comment has been minimized.

Copy link

commented Jun 2, 2018

clear this folder as in remove the data folder altogether.

rm -rf ~/.local/share/eosio/nodeos/data

@ycryptx

This comment has been minimized.

Copy link

commented Jun 4, 2018

@Michael2008S were you able to solve this?

@cs4026

This comment has been minimized.

Copy link

commented Jun 4, 2018

Same issue on macOS, solved it by cd-ing into ~/Library/Application Support/,
and running "rm -rf eosio".

This deleted everything related to the chain. Running nodeos after this reset my eosio folder with a fresh config.ini.

I updated the config.ini and ran "nodeos --delete-all-blocks ", waited for it to clear pressed "ctrl-c" and ran nodeos again and it's working fine now.

@Michael2008S

This comment has been minimized.

Copy link
Author

commented Jun 5, 2018

@ycryptx yes.

@taokayan

This comment has been minimized.

Copy link
Contributor

commented Jun 21, 2018

Please use the latest version and clean up the old block log and shared mem.

@wanderingbort wanderingbort modified the milestones: Version 1.1, Version 1.2 Jul 9, 2018

@wanderingbort wanderingbort removed this from the Version 1.2 milestone Aug 14, 2018

@andriantolie

This comment has been minimized.

Copy link
Contributor

commented Oct 30, 2018

Yes, just use the latest version. I suspect there's a hardfork change at that time that is incompatible with your previous block log

@mosjin

This comment has been minimized.

Copy link

commented Jun 5, 2019

@stanishev works for me. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.