Bug with /luci/admin/status/overview 11_upgrades.js on 25.12-rc3

Hi,
I’ve upgraded a GL.Inet MT3000 to OpenWRT 25.12-rc3,
and it works mostly fine, except on status/overview page in Luci.

The overview page shows this exception, and no content:

SyntaxError

unexpected token: string literal
  in http://172.30.30.1/luci-static/resources/view/status/include/11_upgrades.js?v=26.023.12878~01801c0-1768954854:1
  at require/compileClass/< (http://172.30.30.1/luci-static/resources/luci.js?v=26.023.12878~01801c0-1768954854:173:29)
  at promise callback*compileClass (http://172.30.30.1/luci-static/resources/luci.js?v=26.023.12878~01801c0-1768954854:172:29)
  at promise callback*require (http://172.30.30.1/luci-static/resources/luci.js?v=26.023.12878~01801c0-1768954854:178:114)
  at load/

it seems the file is there: /www/luci-static/resources/view/status/include/11_upgrades.js

'use strict';'require baseclass';'require fs';'require rpc';'require uci''require ui';const callSystemBoard=rpc.declare……

I did no see any update available for rc3
I tried to reinstall luci-app-attendedsysupgrade
apk fix luci-app-attendedsysupgrade
but it did not help
finally I edited the
/www/luci-static/resources/view/status/include/11_upgrades.js

adding a semicolon between require uci and require ui:

'use strict';'require baseclass';'require fs';'require rpc';'require uci';'require ui';const callSystemBoard=

and it works now…

Maybe it should be verified by the developers, but I don’t know where to report that ?

Hope this helps.

25.12.0-RC3 has not yet been announced.

See this and some conversation in the following few posts.

Thanks, indeed it was a lucky mistake, I just took the latest. I should have taken rc2.
Anyway I’ve seen the bug corrected on GitHub.

Sorry for the inconvenience.

Nb: I’m quite happy because 25.12-rc3 it has solved a tricky problem with my Windows PC with an Intel Wifi 6E AX 211 150Mhz that could not connect to my GL.Inet MT3000 on Wifi 5GHz… there was something low-level (basic_rates were abnormal… connection failed without a log, even without cipher)…
Now it works fine…
The Luci attended sysupgrade is great, provided you clean redundant packages before, as owut explains well… I was afraid, but it was fine.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.