Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: dragospirvu75 on April 13, 2022, 02:25:39 PM



Title: Full node is not working anymore after power outage
Post by: dragospirvu75 on April 13, 2022, 02:25:39 PM
Hello! Full node is not working anymore after the power has been turned off suddenly (I didn't have time to close Bitcoin Core).
Now, Bitcoin Core opens normally, but my full node doesn't work anymore (I checked it on bitnodes.io)

Any ideas on how to fix it? Thank you!


Title: Re: Full node is not working anymore after power outage
Post by: LoyceV on April 13, 2022, 03:02:48 PM
I'd start by checking port forwarding, for instance from router settings.


Title: Re: Full node is not working anymore after power outage
Post by: dragospirvu75 on April 13, 2022, 05:39:59 PM
I will try tomorrow because right now I'm working at a project that needs to be finished in 1 hour and a half and after I will go to sleep. Thank you for your suggestion of checking port forwarding and if anyone has another ideas, tell me. Thanks!


Title: Re: Full node is not working anymore after power outage
Post by: dkbit98 on April 13, 2022, 06:20:51 PM
Any ideas on how to fix it? Thank you!
What operation system you are using for full node, Linux, Mac or wiNd0ws?
This is not the first time I see something like this and some files probably got corrupted when power went off suddenly.
Try restarting everything manually and try to reindex the blocks again, if that doesn't work you may need to download blockchain all over again.
Best protection against this would be getting some UPS or running your node on laptop with battery as backup.


Title: Re: Full node is not working anymore after power outage
Post by: dragospirvu75 on April 13, 2022, 07:05:13 PM
I'm using windows 10 on my pc. I've read that files could get corrupted in case of sudden close, I hope this isn't my case but I'm prepared.
I will try and restart everything, I hope it will work. And yeah, I will consider a UPS or laptop. Thank you very much for your advice!


Title: Re: Full node is not working anymore after power outage
Post by: BlackHatCoiner on April 13, 2022, 07:12:12 PM
Check the log. In Windows, it should be in C:\Users\<USERNAME>\Appdata\Roaming\Bitcoin\debug.log if you haven't specified its location. The case with power outages is common, it has happened to me before too[1]. I think I got away with it with only a Bitcoin Core restart.

[1] https://bitcointalk.org/index.php?topic=5378761


Title: Re: Full node is not working anymore after power outage
Post by: BitMaxz on April 13, 2022, 10:53:09 PM
I'm using windows 10 on my pc. I've read that files could get corrupted in case of sudden close, I hope this isn't my case but I'm prepared.
I will try and restart everything, I hope it will work. And yeah, I will consider a UPS or laptop. Thank you very much for your advice!

Mostly corruption is the cause if you didn't close the bitcoin core properly.

The only solution that I know to fix the issue of Bitcoin core corruption is by using -reindex since you are using Windows OS you can put the -reindex in bitcoin core shortcuts under target: just like this image below then apply. Relaunch the Bitcoin core and it should start reindexing.

https://i.imgur.com/ViH0rJT.png


Title: Re: Full node is not working anymore after power outage
Post by: dragospirvu75 on April 14, 2022, 05:52:11 AM
I will try all this methods. Thank you guys for your support!