raspiblitz / raspiblitz

Get your own Bitcoin & Lightning Node running - on a RaspberryPi with a nice LCD
MIT License
2.44k stars 520 forks source link

Optimise the update process #3278

Open resignedScientist opened 2 years ago

resignedScientist commented 2 years ago

As an owner of a lightning node, I want to be able to have as much uptime as possible.

Currently when I insert the SD card with the new image, all the services are being installed before the lightning node itself starts.

I think it would be much much better if we first get the lightning node itself up and running before we setup all the other apps and services to be up and running asap for keeping the coins flowing through our node.

rootzoll commented 2 years ago

I can see that uptime is important, but the raspberry is quite limited in processing power .. running bitcoin core (maybe even with some blocks to validate) and the also lightning during all the other setup processes are happening seems a bit much for that system. Maybe when the way we install apps gets changed we can take another look at this - but this would be quite some time in future.

openoms commented 2 years ago

Can speed up the process by manually deactivating the services in the menu or in /mnt/hdd/raspiblitz.conf so they won't get set up during recovery. This way could get the node running ASAP then install from SERVICES again. To deactivate non-essential services before the update could be an option in the menu.

resignedScientist commented 2 years ago

That’s a great idea 👍