jerrykuku / luci-theme-argon

Argon is a clean and tidy OpenWrt LuCI theme that allows users to customize their login interface with images or videos. It also supports automatic and manual switching between light and dark modes.
Apache License 2.0
4.08k stars 799 forks source link

line 2: can't open '/etc/uci-defaults/30_luci-theme-argon #523

Open bropines opened 2 months ago

bropines commented 2 months ago

I'm new to Owrt and don't understand much at all. Here is the SSH output

root@OpenWrt:~# opkg install luci-theme-argon*.ipk
Installing luci-theme-argon (2.3.1) to root...
Installing libnghttp2-14 (1.57.0-1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/mipsel_24kc/packages/libnghttp2-14_1.57.0-1_mipsel_24kc.ipk
Installing libcurl4 (8.7.1-r1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/mipsel_24kc/packages/libcurl4_8.7.1-r1_mipsel_24kc.ipk
Installing curl (8.7.1-r1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/mipsel_24kc/packages/curl_8.7.1-r1_mipsel_24kc.ipk
Configuring libnghttp2-14.
Configuring libcurl4.
Configuring curl.
Configuring luci-theme-argon.
//usr/lib/opkg/info/luci-theme-argon.postinst: .: line 2: can't open '/etc/uci-defaults/30_luci-theme-argon': No such file or directory
bropines commented 2 months ago

It is fixed by creating this file with hands and taking the code from the file in the repository, but I do not think that this should be the case

walterzilla commented 2 months ago

Same issue here, also similar error installing luci-app-argon-config. OpenWrt 23.05.4 (r24012-d8dd03c46f)

bropines commented 2 months ago

Same issue here, also similar error installing luci-app-argon-config. OpenWrt 23.05.4 (r24012-d8dd03c46f)

Maybe this is a common bug for 23.05.*? openwrt-23.05 branch (git-23.233.52805-dae2684)

iiwwnnaa commented 2 months ago

Same. Working after downgrade 23.05.4 to 23.05.0

Chr1s70ph commented 1 month ago

@jerrykuku can we get a fix for this? 23.05.5 released yesterday, so more and more people are going to run into this issue

miodzicho commented 1 month ago

Even after creating file luci-argon-config disapears either when run /usr/lib/opkg/info/luci-app-argon-config.postinst Or did remove / install of luci-app-argon-config_0.9_all.ipk

valeriigamaley commented 1 month ago

get the same problem at Xiaomi R4AC with OpenWrt 23.05.3, r23809-234f1a2efa. but theme is working & running normally)

Looccri commented 1 month ago

类似的问题, Collected errors:

1025766948 commented 1 week ago

先安装 opkg install luci-compat opkg install luci-lib-ipkg