OpenDTU icon indicating copy to clipboard operation
OpenDTU copied to clipboard

Firmware upgrade stuck in upgrade process

Open home-cloud opened this issue 1 year ago • 7 comments

What happened?

I try to upgrade the firmware. From version v24.1.21 to v24.1.26 The upgrade process stucks every time between 4% and 72%. A reset before the update is not helping.

To Reproduce Bug

every try to update

Expected Behavior

100% to proceed

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

a5cc0a4

Relevant log/trace output

No response

Anything else?

No response

home-cloud avatar Feb 01 '24 14:02 home-cloud

Did you try a power cycle?

tbnobody avatar Feb 01 '24 14:02 tbnobody

Did you try a power cycle? yes

home-cloud avatar Feb 01 '24 14:02 home-cloud

Same problem. How can I fix it? Thanks

Josy68 avatar Feb 06 '24 06:02 Josy68

Powercycle, Login to the fallback accesspoint, Login and try to upgrade. Now i am on the latest version.

home-cloud avatar Feb 06 '24 08:02 home-cloud

In access point mode the same. Go to 20% and than the unit reboot. The old version is stored

Josy68 avatar Feb 06 '24 19:02 Josy68

My ESP had the same issue for a long time last year. Updates often got stuck at various percentages and were only successful after multiple tries. After improving my ESPs power supply during my investigation of #1339 (more capacitors and removing a diode between the USB port and voltage regulator) that problem never showed up again.

puni2k avatar Feb 15 '24 12:02 puni2k

My ESP had the same issue for a long time last year. Updates often got stuck at various percentages and were only successful after multiple tries. After improving my ESPs power supply during my investigation of #1339 (more capacitors and removing a diode between the USB port and voltage regulator) that problem never showed up again.

More or less the same story here: My ESP has absolutely abismal wifi range, to the point where I have to place it right next to the router to work. half a meter of distance can heavily mess up the connection for me. It seems like the underlying issue is also the power supply, but I didn't bother to change it yet, as it currently works very stable.

But you should try to place it closer to your router if possible and/or power it directly over the 5V Pin. Some cheaper boards seem to have underpowered voltage regulators or something like that.

nkappler avatar Feb 20 '24 17:02 nkappler

Please doublecheck if the issue still exists in the latest version. (But make sure you are running the latest version before you upgrade again. For obvious reasons the fixed firmware must running first)

tbnobody avatar Oct 15 '24 16:10 tbnobody