too fast(?) reboot after restoring from backup #164

Closed
opened 2026-10-05 05:44:15 +02:00 by adam · 6 comments
Owner

I did backup of my TTGO and flash RDZ_sonde fw to it to check oled display work.
After test I flashed igate fw again and tried to restore settings.
After Save in browser there was no Save confirmation in browser.
Save confirmation - succes is showed after reboot.
But from ttgo is served not changed (with restred data) data, but from full flash (nocall-10, etc.)
Maybe it is to much data to save and 2 seconds or less is not enogh before reboot.
Saving only AP and password is succesfull.

Maybe there should be some wait?
https://github.com/richonguzman/LoRa_APRS_iGate/blob/1ad13e3c09368cca0b4d7b6928254409b54af01f/src/web_utils.cpp#L225

Pic from Chrome DevTools
image

I did backup of my TTGO and flash RDZ_sonde fw to it to check oled display work. After test I flashed igate fw again and tried to restore settings. After Save in browser there was no Save confirmation in browser. Save confirmation - succes is showed after reboot. But from ttgo is served not changed (with restred data) data, but from full flash (nocall-10, etc.) Maybe it is to much data to save and 2 seconds or less is not enogh before reboot. Saving only AP and password is succesfull. Maybe there should be some wait? https://github.com/richonguzman/LoRa_APRS_iGate/blob/1ad13e3c09368cca0b4d7b6928254409b54af01f/src/web_utils.cpp#L225 Pic from Chrome DevTools ![image](https://github.com/user-attachments/assets/47011737-d22a-4047-bc0d-873dbfc3174b) <!-- github-sync-id:2769429719 -->
adam closed this issue 2026-10-05 05:44:15 +02:00
Author
Owner

when you save, WIFIAP is killed and no web confirmation will appear.
did it work ok after saving the data?

when you save, WIFIAP is killed and no web confirmation will appear. did it work ok after saving the data? <!-- github-comment-id:2576214160 -->
Author
Owner

Works, but save was no succesfull, no change in data, still old NOCALL instead my SQ9CWN, etc.

Works, but save was no succesfull, no change in data, still old NOCALL instead my SQ9CWN, etc. <!-- github-comment-id:2576217825 -->
Author
Owner

could you flash it again with latest, erase all , and then only change your callsign and save to test?

could you flash it again with latest, erase all , and then only change your callsign and save to test? <!-- github-comment-id:2576229014 -->
Author
Owner

Flashed v2.2.1
Call changed and saved succesesfully.
But after reconnection tried again importing backup json file, saving and no success, still only call changed like before restore try.
The same was when I was only adding my WiFi data after flashing.

But. I set all manually, did additional backup and flash with erase again, and from this fresh backup all was restored succesfully.

Flashed v2.2.1 Call changed and saved succesesfully. But after reconnection tried again importing backup json file, saving and no success, still only call changed like before restore try. The same was when I was only adding my WiFi data after flashing. But. I set all manually, did additional backup and flash with erase again, and from this fresh backup all was restored succesfully. <!-- github-comment-id:2576368659 -->
Author
Owner

so it may be that your "old" restoring json file did not have all that was needed in the new "updated" version?

I've seen this bug sometimes when I add a few new things to the webUI to control more things

please confirm that adding the data manually did work

so it may be that your "old" restoring json file did not have all that was needed in the new "updated" version? I've seen this bug sometimes when I add a few new things to the webUI to control more things please confirm that adding the data manually did work <!-- github-comment-id:2576402001 -->
Author
Owner

Yes

Yes <!-- github-comment-id:2576405281 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/LoRa_APRS_iGate#164