asu icon indicating copy to clipboard operation
asu copied to clipboard

auc - updates not possible with SNAPSHOTS

Open GoetzGoerisch opened this issue 1 year ago • 8 comments

Related issue: https://github.com/openwrt/openwrt/issues/15619

GoetzGoerisch avatar Jun 03 '24 14:06 GoetzGoerisch

Long thread in forums. https://forum.openwrt.org/t/auc-sysupgrade-does-not-work-for-me/196782/34

What happens is that client checks new version, gets back nice "23.05-SNAPSHOT" and release tag. The release tag intended is never posted to server, so server generates best image it can, which can TOCTOU being different than initially suggested. It needs API enhancement to build for particular release tag and client enhancement to actually post release tag intended. Thank you for considering @aparcar

brada4 avatar Jun 08 '24 13:06 brada4

Is there any roadmap/hope to fix it?

(LuCI Attended Sysupgrade does not work neither) another EXAMPLE:

root@OpenWrt:~# auc -f auc/0.3.2-1 Server: https://sysupgrade.openwrt.org Running: 23.05-SNAPSHOT r23900-d8415fa270 on ipq40xx/generic (zte,mf286d) Available: 23.05-SNAPSHOT r23900-d8415fa270 Requesting package lists... Are you sure you want to continue the upgrade process? [N/y] y Current Target: "ipq40xx/generic" Current Architecture: "arm" Current Revision: "r23898-d0620706f0" Default Packages: (...) Available Profiles: (...) zte_mf286d: ZTE MF286D Packages: kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi hasImageMetadata: 1 SupportedDevices: zte,mf286d Error: Received incorrect version r23898-d0620706f0 (requested r23900-d8415fa270) Bad message (74)

pko76 avatar Jun 16 '24 08:06 pko76

solved with owut, the replacement for auc going forward.

Thank you @efahl ! ❤️

GoetzGoerisch avatar Jun 28 '24 20:06 GoetzGoerisch

auc is failing on 23.05-SNAPSHOT currently

GoetzGoerisch avatar Jul 11 '24 06:07 GoetzGoerisch

Confirmed...

auc/0.3.2-1 Server: https://sysupgrade.openwrt.org Running: 23.05-SNAPSHOT r23987-d53f1caeb0 on ipq40xx/generic (zte,mf286d) WARNING: cannot determing currently running branch. Invalid argument (22)

pko76 avatar Jul 11 '24 09:07 pko76

Why the r24106 is not available for MF286D?

auc/0.3.2-1 Server: https://sysupgrade.openwrt.org Running: 23.05-SNAPSHOT r24104-a2a67804fc on ipq40xx/generic (zte,mf286d) Available: 23.05-SNAPSHOT r24100-66055df3e0 Requesting package lists...

pko76 avatar Sep 25 '24 15:09 pko76

Seems to work with the staging firmware-selector, can't test this right now on real devices sorry...

https://firmware-selector.staging.openwrt.org/?version=23.05-SNAPSHOT&target=bmips%2Fbcm6368&id=actiontec_r1000h

aparcar avatar Sep 25 '24 15:09 aparcar

Right, the 23.05.5 is available as 23.05.5 (r24106-10cc5fcd00) and the 23.05-SNAPSHOT is available as 23.05-SNAPSHOT (r24104-a2a67804fc)

pko76 avatar Sep 25 '24 15:09 pko76