Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

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

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

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

Michael2008S opened this issue May 29, 2018 · 15 comments
Assignees

Comments

@Michael2008S
Copy link

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
Copy link

fulanto commented May 29, 2018

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

@fulanto
Copy link

fulanto commented May 29, 2018

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

@jhtsing
Copy link

jhtsing commented May 29, 2018

I have the same error.

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

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

@fulanto
Copy link

fulanto commented May 30, 2018

@wh2000292 Any idea about ubuntu ?

@maheshnama
Copy link

@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
Copy link

2efPer commented May 30, 2018

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

@stanishev
Copy link

clear this folder as in remove the data folder altogether.

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

@ycryptx
Copy link

ycryptx commented Jun 4, 2018

@Michael2008S were you able to solve this?

@cs4026
Copy link

cs4026 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
Copy link
Author

@ycryptx yes.

@taokayan
Copy link
Contributor

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
Copy link
Contributor

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
Copy link

mosjin commented Jun 5, 2019

@stanishev works for me. thanks!

@vikas-sawant-rwaltz
Copy link

If you are using docker setup then run the nodeos without --hard-replay-blockchain at the start. It will work for you.

In my case I was trying docker nodeos setup with --hard-replay-blockchain, and when I removed it's start working.

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

No branches or pull requests