Closed YujiaCheng1996 closed 4 years ago
问题依旧,报错: /usr/lib/lua/luci/dispatcher.lua:381: Failed to execute firstchild dispatcher target for entry '/admin/services/AdGuardHome'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:381: Failed to execute cbi dispatcher target for entry '/admin/services/AdGuardHome/general'. The called action terminated with an exception: /usr/lib/lua/luci/cbi.lua:38: Model 'AdGuardHome' not found! stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:381: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:95: in function </usr/lib/lua/luci/dispatcher.lua:94> 升级提示:
Upgrading luci-app-adguardhome on root from 1.6-3 to 1.7-2... Terminated Removing obsolete file /usr/lib/lua/luci/model/cbi/AdGuardHome.lua. Removing obsolete file /usr/lib/lua/luci/model/cbi/AdGuardHomelog.lua. Configuring luci-app-adguardhome. Collected errors:
相关行已经改掉了,你安装的应该不是新版 entry({"admin","services","AdGuardHome","base"},cbi("AdGuardHome/base"),_("Base Setting"),1).leaf = true 另请删除 /tmp/luci-indexcache 和 /tmp/luci-modulecache/*
代码中已加入删除luci缓存,再试试,如果没问题了可以关闭issue
又尝试修复了一次再测试一下
使用最新版已经修复,谢谢
升级后报错,尝试清除数据重装依旧报错,错误信息如下: /usr/lib/lua/luci/dispatcher.lua:381: Failed to execute firstchild dispatcher target for entry '/admin/services/AdGuardHome'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:381: Failed to execute cbi dispatcher target for entry '/admin/services/AdGuardHome/general'. The called action terminated with an exception: /usr/lib/lua/luci/cbi.lua:38: Model 'AdGuardHome' not found! stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:381: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:95: in function </usr/lib/lua/luci/dispatcher.lua:94> 升级时提示:
opkg install luci-app-adguardhome_1.7-1_all.ipk
Upgrading luci-app-adguardhome on root from 1.5-1 to 1.7-1... Terminated Removing obsolete file /usr/lib/lua/luci/model/cbi/AdGuardHome.lua. Removing obsolete file /usr/lib/lua/luci/model/cbi/AdGuardHomelog.lua. Configuring luci-app-adguardhome. Collected errors:
设备是arm核心pandorabox。