-
Notifications
You must be signed in to change notification settings - Fork 990
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
Server Cannot Run Because of NotFoundErr #3516
Comments
That block should be available. I can see it here at pre-fork height 641520: https://floonet.grinscan.net/block/641520 Is this NotFoundErr also reproducible across removal of chain data and restart? |
Yes, reproducible. I have to remove the whole |
Tried again with a cleaned
|
Its hard to really know what's happening here. This is normally an indication of data corruption locally, likely during shutdown. |
Clean shutdown doesn't matter if you move the whole ~/.grin/test directory aside before starting grin --testnet. It synced slowly but without any issues and is now running. What can cause Gary's NotFoundErr("Block with hash: ad25696f7950") ? |
Pretty sure this can only be caused by data corruption during shutdown. If we see -
Followed by something that indicates a local db lookup -
Then the db is non-empty (we are looking that data up for some reason). |
@garyyu Is it possible you are not clearing out the right |
|
I also ran into this issue once recently on testnet. Quit the server by hitting q and a few days later when restarting, I got the NotFoundErr. I ended up moving the whole ~/.grin/test dir aside and do a fresh sync to avoid it. |
Tried multiple times by clean the whole
chain_data
folder, and eventually thetestnet
synced with latest 5.0.0-beta.2 release. but after a quit and it can not run again because of a not found error:The text was updated successfully, but these errors were encountered: