kenzok8 / openwrt-packages

openwrt常用软件包
https://op.dllkids.xyz
6.54k stars 2.61k forks source link

luci-app-argon异常,进后台报错,使用的是ImmortalWrt 23.05.3 #488

Closed tonghuabande closed 3 months ago

tonghuabande commented 3 months ago

之前使用一直都正常,今天编译安装之后就无法使用了 /usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'themes/argon/header'. error

kenzok8 commented 3 months ago

https://github.com/kenzok8/openwrt-packages/issues/438#issuecomment-2236742458

kenzok8 commented 3 months ago

本来放两个18.06的argon没意义,所以一个是老竭力的23.05 另外一个我修改的argone 适配18.06的,群友说版本混乱,哎

tonghuabande commented 3 months ago

本来放两个18.06的argon没意义,所以一个是老揭力的23.05 另外一个我修改的argone 适配18.06的,群友说版本混乱,哎

大佬,那我想使用23.05版本的应该如何修改呢

kenzok8 commented 3 months ago

1 删除错误主题

opkg info luci-theme*
opkg remove luci-theme-argon

2 openwrt主页系统下多余的无效主题名 nano /etc/config/luci

3 /usr/lib/lua/luci/view/themes/ 目录下删除失效包

然后上传安装argon.ipk

用WinSCP等连接openwrt

tonghuabande commented 3 months ago

1 删除错误主题

opkg info luci-theme* opkg remove luci-theme-argon

2 openwrt主页系统下多余的无效主题名 nano /etc/config/luci

3 /usr/lib/lua/luci/view/themes/ 目录下删除失效包

然后上传安装argon.ipk

用WinSCP等连接openwrt

如果想要编译进固件里应该怎么操作呢

kenzok8 commented 3 months ago

rm -rf 目录里的luci-theme-argon,比如你的目录是我默认的目录名 rm -rf feeds/openwrt-packages/luci-theme-argon git clone -b master https://github.com/jerrykuku/luci-theme-argon feeds/smpackage/luci-theme-design # 替换新版argon

kenzok8 commented 3 months ago

我还是把luci-theme-argon改成默认的23.05吧,argone为18.06就行了

tonghuabande commented 3 months ago

我还是把luci-theme-argon改成默认的23.05吧,argone为18.06就行了

感谢大佬