Open Daprogra2 opened 2 days ago
You may have found something.
I see the normal selection between the Bootstrap variants. But if I try to install openwrt-2020 theme, there is an error and the package does not appear into the dropdown selection list. Neither is there any trace in /etc/config/luci, although there are openwrt-2020 theme files in /overlay/upper.
The error given is:
Executing package manager
apk add luci-theme-openwrt-2020
(1/1) Installing luci-theme-openwrt-2020 (24.320.57985~1a4b6ad)
Executing luci-theme-openwrt-2020-24.320.57985~1a4b6ad.post-install
1 error; 71 MiB in 309 packages
The apk install command failed with code 1.
Looks like it fails to run the post-install actions, or something like that. The error message does not appear more clear even from ssh console with --verbose.
Looks like fallout from apk switchover?
I was able to install a couple of themes via LUCI but they did not show in the dropdown
I tested a bit with r28102-65964c42f8 and noticed that
/etc/config/luci
was placed into /etc/uci-defaults
directory, (https://github.com/openwrt/luci/blob/master/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020 )When I then booted the router, the theme got changed and both themes were visible in the menu.
This is probably something that @aparcar and @Ansuel are interested, as it suggests that the apk package installation process does not currently do quite the same steps as opkg did.
The root cause may be
I created a bug report into main OpenWrt about this: https://github.com/openwrt/openwrt/issues/16987
Is there an existing issue for this?
screenshots or captures
LuCI Master 24.319.72217~9fe1e34 is not providing theme selections in the theme dropdown. This is preventing the any settings changes in the System Tab from being saved.
Actual behaviour
Expected behaviour
Steps to reproduce
Additional Information
What browsers do you see the problem on?
Firefox
Relevant log output