openshwprojects / OpenBK7231T_App

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601, BL602 and LN882H
https://openbekeniot.github.io/webapp/devicesList.html
1.45k stars 271 forks source link

LittleFS config getting erased when updating from 1.17.251 to 1.17.652 #1305

Open rickgartner opened 3 months ago

rickgartner commented 3 months ago

Describe the bug When performing an OTA update LittleFS is being wiped out. Have to manually recreate atuoexec.bat.

Firmware:

To Reproduce Steps to reproduce the behavior:

  1. Launch web application
  2. Select OTA tab
  3. Select OTA file from disk
  4. Start OTA
  5. Once system reboots everything in LittleFS is missing.
divadiow commented 3 months ago

in an attempt to recreate the scenario you describe I have flashed a WB3S (BK7231T) back to a factory fw from 0x11000 then to OpenBeken 1.17.251, then with a basic simple autoexec present, OTA to 1.17.652.

And yes, LFS is clear after the flash. No autoexec.

Wolfieeewolf commented 2 months ago

This has been happening for a while

https://github.com/openshwprojects/OpenBK7231T_App/issues/1010