openwisp / openwisp-firmware-upgrader

Firmware upgrade solution for OpenWRT with possibility to add support for other embedded OSes. Provides features like automatic retry for network failures, mass upgrades, REST API and more.
https://openwisp.io/docs/dev/firmware-upgrader/
Other
53 stars 60 forks source link

fallback support? #239

Closed bam80 closed 1 year ago

bam80 commented 1 year ago

Hi, does the upgrader provide fallback with automatic recovering to previous firmware if the upgrade didn't succeed for some reason?

mips171 commented 1 year ago

If the previous upgrade didn't succeed, then the device likely wouldn't be online, precluding any connection from OpenWISP. You should probably look into a dual bank flash solution if you want resilience against failed upgrades.

nemesifier commented 1 year ago

@mips171 is right, there's not much we can do on the OpenWISP side.