-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrupted flash after update ? #558
Comments
I see in the config after an update failing the conf, that most settings like mqtt has been reseted to default values. |
Any chance you can capture the serial output of the update and following reboot? |
If I can reproduce with a standalone esp32 probably yes. |
Nothing different on the serial console when config fails.
the vfs_api log always happend here on my test esp32 not plugued to openevse module, don't know if it's the case on a real situation, but doesn't seems to caus eproblem to schedule anyways |
I think that is the RAPI serial port, there is one for debug output that should give more info. What board are you using? |
ah you're right I was on the usb port on an esp32 dev wroom. |
here is the log: Got 65535 ÿ from EEPROM @ 0x0c00
|
one of the latests commits seems to have solved the problem, I close the issue for now as I can't reproduce anymore. |
Reopening, it happend again, and worst, nows reset config after 2 reboots. Reproduce: reset twice, then refresh UI ( note for later: I have to fix this refresh needs on the UI ) |
fix #558 config erased at reboot
Seems with current dev branch, the configuration reset itself sometimes after an update. Don't know yet if it's corrupted or not.
Some configuration data stays like Wifi settings but some others don't.
I've implemented the backup/restore on the UI side but that would be great to find what's happening here.
The text was updated successfully, but these errors were encountered: