Open sjefferson99 opened 1 month ago
Updater will populate last changes in a backup folder which can be restored on first attempt. If this fails, have config entry that enables safe mode to pull latest stable version from github to get you back to a working web UI and smibhid to try again. Update web page should allow you to browse the backup files and manage them, can then maintain space, but also provide a custom backup without bouncing back to latest stable.
Wrap main in try except and on exception, log error to file and if safe mode enabled, replace main with backup that loads a minimal known working Web server to load new firmware or config.