-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[ESP32] Unable to upgrade from 0.14.4 to any 0.15.x releases #4369
Comments
maybe related to tasmota bootloader: #4241 |
Please confirm @jsloyer exactly how and where you did your initial install of WLED onto this device from (not how you installed any previous updates) |
I'm actually not sure. The ESP32 came from quindoor, https://quinled.info/quinled-esp32/. I have used home assistant to do updates though. |
This is related to inadequate application partitions. Your file system should read 983kB when correct partitions are in place. |
I have the same problem with Quinled ESP32 updated via Homeassistant. My file system size is the same: 20/1707 kB. |
I'm experiencing the same problem +1 |
@misosec @chrisella the answer was already given by blazoncek. your file system MUST BE 983kB (see info tab in WLED) or you will not be able to do over the air update. |
Ah thanks for the heads up, though that's awkward then, particularly for several of my units that are "deployed" in positions that make that not easily possible. |
@chrisella you can always try to custom compile and exclude certain features that you do not need. This may make binary smaller and it will fit into existing partitions. |
@intermittech (Quindor) Can you check if quinled boards still ship with the (very old) 1.5MB LittleFS partition scheme? Or is this user having a possibly very old install? FYI, we have changed to a new partition scheme - 1MB LitleFS - already 3 years ago (WLED 0.13.0). |
@erikvaliquette please use USB method as described above. |
Same issues here, all my ESP8266 worked fine, all ESP32 don't work via HA or binary upload |
Which is not really possible for the moment as they are part of the holiday decorations 🎅 |
Just for others that find this using the installer at install.wled.me fixed this for me. |
Quinled also has binaries here: https://github.com/intermittech/QuinLED-Firmware/releases |
We've been flashing WLED v0.14.x for quite a while now so that should be fine in regards to partition size. We also offer https://install.quinled.info which has also had that version for quite a while. It is however possible people have had these boards since the v0.13.x days and never updated other then doing OTA. My boards all come with USB-C partly because of this reason, although I get it's sometimes inconvenient when it's part of a show right now! I will doublecheck though to make sure boards aren't going out with a too old firmware, maybe update the pre-installed version to v0.15 now that it's been released. |
Is there a way to change the partition without a USB connection? I set up 2 ESP32 modules a few years ago, updates until 14.4 worked fine, they're installed in pretty inaccessible places. The generic "update failed" was a bit annoying to figure out, but I realize "back-updating" 14.4 to check for an incompatible setup required for the next release is ~impossible :). |
Short answer: No. Long one: Technically possible but will require specially crafted software that would copy itself out of regular application partitions. Then update partition table, format partitions and start OTA download process. |
Someone apparently figured it out here: But I am not smart enough to understand without a step-by-step guide... But would be highly interested as my DigUno is also hidden. |
@chiefymuc I wrote it is technically possible. But it is not for the faint-hearted. |
@chiefymuc I just found the same reddit post. If you cannot access the esp32 to update via USB, I would not recommend trying the hack described by the linked articles. If anything goes wrong, your device will be in a bootloop (not able to start wled) and you must take it down from the roof to your desk, in order to attach it to a computer by USB, and perform a fresh re-install (settings, presets and wifi password will be overwritten / lost). https://gist.github.com/floitsch/ed2530caa613581057d8998dee0a911f The author of the hack says "it's like replacing the jet engine while you are flying it". I think that's a serious warning. |
I created a firmware to fix this for me. You basically OTA to this, have the partition table updated (and hope, I guess), then you can OTA to WLED 0.15.0. https://github.com/softplus/Esp32Repartition I've tried this with a test device, and my two WLED devices that were stuck because of the partition table sizes, but I can't promise that it'll work everywhere, obviously. Also, if something goes weird with your device at the wrong time (there's a really short window), it can leave the partition table broken. |
Works for me on a DigUno that initially had v13 installed. Legend. |
As a warning, this unfortunately didn't work for me, luckily I tried it first on one of my "easier to access (still PITA)" units, so now that it's unresponsive I'll have to go about the harder route. This could in all likelihood be due to my board or config or something else, but just be warned that path is still full of possible nastiness. Update |
One (possibly crucial) note when updating partitions from previous version using OTA: |
This worked for me! Thank you @softplus |
Thanks for sharing that @softplus Both the WLED (AC) and WLED-MM teams have both been struggling with image size Vs the current partition table out in the wild that allocates quite a large amount of space for the file system that only has the config and presets files in most cases. We have wanted to reduce the size of the filesystem to give more space to the app, perhaps your approach of using an intermediate specialist bin might be something we can use for that |
What happened?
I am unable to update to any 15.x releases for one of my ESP32’s. I tried rc1, b3, and b7. All fail.
To Reproduce Bug
I’ve only had this on a single ESP32. All of my other ESP’s upgraded fine.
Expected Behavior
To be able to upgrade to 15.x.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.14.4 (build 2405180)
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: