bruce.conf wiped sometimes after setting clock via NTP Set Times
Describe the bug: When setting the time _(config>sys config>clock>VIA NTP Set Timezone. it would fail on clicking your TZ and when you next try to do something which is not whichever protocol you were in last, bruce.conf, on the SD Card
This shows the error message on screen:
after the fault clock-error-sequence.txt
Steps To Reproduce: I tried setting the clock again while i had the flash card in the computer. (Clock updated fine without flash card.) I copied the Bruce firmware over, tried setting the clock change again and it worked fine.
Things I tried:
- Took the SD card out (put it in my PC) and set the clock again: it worked fine with no SD card.
- Copied the Bruce firmware over [to the SD card / reflashed], put the card back in, and set the clock again: [same error / result].
Expected behavior:
Selecting a timezone should sync the time over NTP, save the timezone to bruce.conf, and go back to the menu. Other menus should keep working normally.
Actual behavior:
The clock update fails when I select the timezone. After that, opening any other menu shows an error about bruce.conf on the SD card. With the SD card removed, setting the clock via NTP works fine. So the problem seems to be saving the timezone to bruce.conf on the SD card.
As a temp fix, i have a copy of my bruce.conf in the littlefs which i can "copy to sd" directly from the Cardputer to restore it.
In my case it also happened when changing other parameters like ui color and so. Also copying any file to SD card be it on Bruce file manager or on webui copies a 0kb file (empty)
This issue has been automatically marked as stale due to inactivity. It will be closed in 5 days unless there is further activity.
Closing due to prolonged inactivity. If this is still relevant, please comment or open a new issue with updated details.