mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #392] Unable to flash different environment #3547
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rudios81 on GitHub (Nov 8, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/392
Originally assigned to: @nlimper on GitHub.
It is not possible do flash the ESP32 with a different environment then already flashed via the web gui.
To Reproduce
2.Choose update button below.
Expected behavior
I would expect to be able to select any desired environment, and when selected be able to flash an available binary file onto the ESP32 from the releases list.
Additional context
I have created my own pesonal repository, with a custom environment because of custom pinout.
In order to get it running I had to flash my ESP32 from scratch.
If the selection would have worked as intended, I would be able to flash any EPS32 working environment from the original project, even via https://install.openepaperlink.de/ and then afterwards change the repo en environment into my own and flash the ESP32 again.
I had a short discussion about this issue on a Dutch forum with Nic and there was a thougth it would only be a cosmetic thing, because if the selection of the environment is confirmed with the confirm button, the correct selection is written into the file /current/apconfig.json.
Unfortunately it is not only cosmetic. After selecting any of the available environments for the choosen repo, the release table is filled with available releases for the running environment, not the choosen one. Clicking the ESP32 update button indicates that the current environment binary file is being downloadad and flashed onto the device
@nlimper commented on GitHub (Nov 8, 2024):
Thanks for the detailed description.
Fixed in
a6772c6faeIt was a frontend problem. To fix, replace
/www/ota.js.gzwith the updated file (and make sure it's refreshed from the cache in your browser).