API: BIOS app state clear
Closed this issue · 0 comments
RaiBnod commented
We are not updating BIOS
anymore.
If due to some reason the BIOS
app state got stuck, might be due to:
- unstable internet
- device restart in the meantime of the upgrade process etc.
We won't have any other option to restart that rubix-service
upgrade until we get access to the device. Coz on that STARTED
state, we upgrade rubix-service
does nothing.
So, create an API on rubix-service
which will be able to clear that BIOS app state forcefully and can restart the rubix-service
upgrade.
Note: it's bad to access another app's data, even though we need this.
Data location for production: /data/rubix-bios/data/app_state.txt
Also, include this feature of cleaning on rubix-service start; similar to the existing one for rubix-service state clear.