Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-attendedsysupgrade interface throwing TypeError promises[0].packages is undefined. #1092

Closed
nishikant opened this issue Nov 23, 2024 · 5 comments

Comments

@nishikant
Copy link

nishikant commented Nov 23, 2024

I am using openwrt snapshot on Raspberry Pi 5 and getting below error.

TypeError: promises[0].packages is undefined
    load http://192.168.3.1/luci-static/resources/view/attendedsysupgrade/overview.js?v=24.328.00185~03f37cf:25
    __init__ http://192.168.3.1/luci-static/resources/luci.js?v=24.328.00185~03f37cf:147
    super http://192.168.3.1/luci-static/resources/luci.js?v=24.328.00185~03f37cf:22
    ClassConstructor http://192.168.3.1/luci-static/resources/luci.js?v=24.328.00185~03f37cf:12
    compileClass http://192.168.3.1/luci-static/resources/luci.js?v=24.328.00185~03f37cf:182
    promise callback*compileClass http://192.168.3.1/luci-static/resources/luci.js?v=24.328.00185~03f37cf:178
    promise callback*require http://192.168.3.1/luci-static/resources/luci.js?v=24.328.00185~03f37cf:184
    instantiateView http://192.168.3.1/luci-static/resources/ui.js?v=24.328.00185~03f37cf:361
    <anonymous> http://192.168.3.1/cgi-bin/luci/admin/system/attendedsysupgrade:51
    promise callback* http://192.168.3.1/cgi-bin/luci/admin/system/attendedsysupgrade:50
luci.js:161:9

image
@mskpluk
Copy link

mskpluk commented Nov 24, 2024

same issue on banana pi bpi-r3

@gjws
Copy link

gjws commented Nov 24, 2024

Same issue on my GL-MT2500 with SNAPSHOT r28146-52b6c92479

@EtoTen
Copy link

EtoTen commented Nov 24, 2024

Same issue on LuCI Master (24.319.72217~9fe1e34) / OpenWrt SNAPSHOT (r28085-6720c4ccba) Bananapi BPI-R4

@dannil
Copy link

dannil commented Nov 26, 2024

This is neither an issue with asu or luci-app-attendedsysupgrade, see openwrt/openwrt#16907, the LuCI app invokes ubus call rpc-sys packagelist under the hood when getting the packages. Proposed fix is in openwrt/rpcd#10.

@nishikant
Copy link
Author

This is seems to be fixed in latest updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants