Cannot OTAU Tradfri Signal Repeater from V-2.3.070 to V-2.3.086

Great to hear!

I have Tradfri Repeater v2.3.70 and I cannot upgrade it to v2.3.86 or downgrade to v2.2.005. Same problem with Ikea On/off button (I cannot upgrade to v2.3.79 or downgrade to v2.2.010).

Another Tradfri devices (bulbs) without problems.

deconz v2.21.1-beta
ConBee II
Version 2.21.01 / 19. 9. 2022
Firmware 26780700

EDIT: tested also stable version v2.20.1 and same problem.

Log with end of flashing and new loop:

19:02:03:063 Img block req fwVersion:0x23086631, offset: 0x00030388, maxsize: 63
19:02:03:064 otau send img block rsp offset: 0x00030388 dataSize 28 0x180fe2feeee4ab5a7
19:02:03:145 Img block req fwVersion:0x23086631, offset: 0x000303A4, maxsize: 63
19:02:03:146 otau send img block rsp offset: 0x000303A4 dataSize 24 0x180fe2feeee4ab5a7
19:02:03:235 otau upgrade end req: status: 0x00, fwVersion:0x23086631, imgType: 0x1102
19:04:22:075 otau invalide update end request for node 0x180fe2feeee4ab5a7
19:04:22:076 otau query next img req: 0x180fe2feeee4ab5a7 mfCode: 0x117C, img type: 0x1102, sw version: 0x23070631
19:04:22:078 Match otau version 0x23086631 image type 0x1102
19:04:22:079 OTAU: /home/deconz/otau/117C-1102-23086631.zigbee: 198020 bytes
19:04:22:081 OTAU:   offset    456: ota header (56 bytes)
19:04:22:113 OTAU:   offset    512: tag 0x0000, length 0x0002D590 (185750 bytes)
19:04:22:114 OTAU:   offset 186262: tag 0xFFBF, length 0x00000040 (70 bytes)
19:04:22:116 OTAU:   offset 186332: tag 0xFFBE, length 0x00002BA2 (11176 bytes)
19:04:22:117 OTAU:   offset 197508: tag 0x7035, length 0xA2DB5322 (512 bytes)
19:04:22:118 Found update file /home/deconz/otau/117C-1102-23086631.zigbee
19:04:22:120 Match otau version 0x23086631 image type 0x1102
19:04:22:121 OTAU: /opt/deCONZ/otau/117C-1102-23086631.zigbee: 198020 bytes
19:04:22:122 OTAU:   offset    456: ota header (56 bytes)
19:04:22:154 OTAU:   offset    512: tag 0x0000, length 0x0002D590 (185750 bytes)
19:04:22:155 OTAU:   offset 186262: tag 0xFFBF, length 0x00000040 (70 bytes)
19:04:22:158 OTAU:   offset 186332: tag 0xFFBE, length 0x00002BA2 (11176 bytes)
19:04:22:164 OTAU:   offset 197508: tag 0x7035, length 0xA2DB5322 (512 bytes)
19:04:22:167 Found update file /opt/deCONZ/otau/117C-1102-23086631.zigbee
19:04:22:170 OTAU: /opt/deCONZ/otau/117C-1102-23086631.zigbee: 197564 bytes
19:04:22:173 OTAU:   ota header (56 bytes)
19:04:22:174 OTAU:   tag 0x0000, length 0x0002D590 (185750 bytes)
19:04:22:186 OTAU:   tag 0xFFBF, length 0x00000040 (70 bytes)
19:04:22:187 OTAU:   tag 0xFFBE, length 0x00002BA2 (11176 bytes)
19:04:22:189 OTAU:   tag 0x7035, length 0xA2DB5322 (512 bytes)
19:04:22:190 OTAU:   packed 2012869928 bytes

Now tested with new stable 2.21.2 and nothing changes:

11:50:17:056 otau send img block rsp offset: 0x0003036C dataSize 28 0x180fe2feeee4ab5a7
11:50:17:128 Img block req fwVersion:0x23086631, offset: 0x00030388, maxsize: 63
11:50:17:130 otau send img block rsp offset: 0x00030388 dataSize 28 0x180fe2feeee4ab5a7
11:50:17:236 Img block req fwVersion:0x23086631, offset: 0x000303A4, maxsize: 63
11:50:17:238 otau send img block rsp offset: 0x000303A4 dataSize 24 0x180fe2feeee4ab5a7
11:50:17:322 otau upgrade end req: status: 0x00, fwVersion:0x23086631, imgType: 0x1102

It appears that there is something strange with the repeater itself and different versions of it. Some versions can be upgraded while others donā€™t accept the update and loop. This was also observed with Z2M and ZHA OTA server implementations while trying to figure out whatā€™s going on (for reference: [Problem]: OTA update of Ikea Repeater E1746 Ā· Issue #10400 Ā· Koenkk/zigbee2mqtt Ā· GitHub and Ikea Tradfri repeater ota loop Ā· Issue #1098 Ā· zigpy/zigpy Ā· GitHub)

There is still the open question if the Ikea gateway could update a repeater which fails to update with other projects. Or if it needs to be updated to a specific version first, which was required for some Signify and ubisys devices.

Iā€™m afraid currently there is no fix in sight as the OTA file is transferred correctly 1to1 as requested by the OTA client (the repeater). Earlier versions of deCONZ had a bug of only transferring known content, but this is fixed since a while.

This repeater was updated via Deconz from v2.2.005. Isnā€™t it possible that there was an error in the update method?

EDIT: testing also upgrade to same version v2.3.070 and repeaterā€™s state is only IDLE.

EDIT2: tested changing version 2.3.70 in OTAU File to ā€œ0x23071631ā€ (0 to 1) and then flashed with same output as above.

15:24:00:355 otau send img block rsp offset: 0x0002E6C4 dataSize 14 0x180fe2feeee4ab5a7
15:24:00:420 otau upgrade end req: status: 0x00, fwVersion:0x23071631, imgType: 0x1102

Weā€™ve discovered that an old version of the OTA plugin was provided with the recent deconz versions. Presumably, the old plugin version is responsible for the failed updates.

Having such issues myself while updating my thermostats and currently trying it with an up to date version.

I understand it correctly, that the current version of deconz can already flash OTA without any problem?

EDIT: tested on Ikea Repeater and same problem.