Open GoetzGoerisch opened 5 months ago
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
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)
solved with owut, the replacement for auc
going forward.
Thank you @efahl ! ❤️
auc is failing on 23.05-SNAPSHOT currently
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)
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...
Seems to work with the staging firmware-selector, can't test this right now on real devices sorry...
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)
Related issue: https://github.com/openwrt/openwrt/issues/15619