-
Notifications
You must be signed in to change notification settings - Fork 279
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
Chain.syncTree error – hsd doesn't start #793
Comments
Hm that's a pretty critical error, there are blocks missing from the database. What else can you tell us? What version were you upgrading from? Is this a bob wallet instance? Do you know if you have pruned the chain or compacted the urkel tree? For sanity also please check that you have adequate disk space and maybe even post some of the log from the last time you successfully ran hsd in this configuration |
4.0.2
No, it's on Raspberry Pi which was working all the time, but may be some power outage happened.
I haven't done anything like that on purpose for sure. |
I have enough disk space for sure.
Unfortunately, this
Here are the latest logs. |
May be some corruption was caused by a power outage because of harsh weather conditions yesterday. I haven't even noticed. As you can find in logs |
I may be technically incorrect here. As stated on https://hsd-dev.org/guides/config.html
|
Is this when the power went out? |
Since the v5 migration is wallet only and you are running without a wallet, you could try resetting back to hsd v4.0.2 and restarting. What kind of disk are you storing the hsd data on? If its the Pi microSD card, I'd assume right away there is data corruption. I've been running btc and hns full nodes on Pis for years, and always use a USB3 external SSD for data. |
Hm, as far as I remember – yes, likely, around that time there was a power outage for sure. I could also turn it off myself and forgot to turn it on. It should automatically be started on boot (and was normally automatically starting). As I see it tried to autostart early today, but I suppose it got that error and couldn't proceed. |
It's an external SSD.
USB 2.0 in my case https://www.raspberrypi.com/products/raspberry-pi-3-model-b-plus/ |
Same error with v4.0.2. |
I remember having some problem when |
That is a good indication that the last shutdown was not clean |
Likely not the first time I get problem with " |
Ah, indeed, otherwise there would be logs like "Closing FileBlockStore...". I normally stop hsd with |
or if your reply is related to |
Let me know if there are any files that I can remove to fix the issue and continue running my node. |
You probably have to wipe out blocks chain and tree directories and resync from genesis |
Ouch, it will take many days to catch up 😬 Probably because of reindexing, or 1 GB RAM, or slow listening nodes, or latency, or all together... |
Yeah I know sorry. Depending on your use case you might be able to run hnsd instead |
I want to have an API with indexers (txs and addresses), so I suppose |
One trick that can be used is to remove But this still needs investigation, should not be happening. |
hsd
(version 5.0.0-rc.1) stopped working without a clear guidance how to fix.Log:
hsd.conf
contains:The text was updated successfully, but these errors were encountered: