core-geth icon indicating copy to clipboard operation
core-geth copied to clipboard

Error in block freeze operation err="block receipts missing, can't freeze block 8942739"

Open AnieMaria opened this issue 3 years ago • 5 comments
trafficstars

Error from after upgrading core-geth image from 1.12.3 to 1.12.4 / 1.12.6 Any idea what could be causing it?

System information

Geth version: 1.12.4 / 1.12.6 OS & Version: AKS Ubuntu 18.04

Expected behaviour

No freeze errors

Actual behaviour

Error in block freeze operation err="block receipts missing, can't freeze block 8942739"

AnieMaria avatar Jan 27 '22 12:01 AnieMaria

Thanks @AnieMaria for reporting. Can you share the command you use to start your node or at least the syncing method? I will try to reproduce it.

ziogaschr avatar Jan 27 '22 19:01 ziogaschr

Hi @ziogaschr Please find the command below: geth --mainnet --syncmode "archive" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 0.0.0.0 --rpccorsdomain "*

AnieMaria avatar Feb 01 '22 10:02 AnieMaria

This is a known issue, and I have also seen it before myself. It seems this happens when somehow the database gets mangled (potentially by SIGKILL or the like). Unfortunately, I don't see any clear resolution except to resync (or potentially faster, by debug.setHead("0x8869e0 ").

  • https://github.com/etclabscore/core-geth/issues/99
  • https://github.com/ethereum/go-ethereum/issues/20239
  • https://github.com/ethereum/go-ethereum/issues/20647

meowsbits avatar Feb 02 '22 18:02 meowsbits

I am experiencing this issue as well `Error in block freeze operation err="block receipts missing, can't freeze block 12729545"

If I must in fact re-sync, how should I go about that? I have geth running in a docker container Thanks @meowsbits

lodotek avatar Feb 25 '22 06:02 lodotek

@lodotek can you share the command that you are using for docker? Probably in this command you mount a volume to you host machine and then you set the --datadir to it. You simply have to clean this folder or use a new one. Then let it start syncing from scratch.

ziogaschr avatar Feb 25 '22 11:02 ziogaschr