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

核心版本更新到最新版本0.103.3 报错: #91

Closed
liangjunheng opened this issue Jul 25, 2020 · 6 comments · May be fixed by #93
Closed

核心版本更新到最新版本0.103.3 报错: #91

liangjunheng opened this issue Jul 25, 2020 · 6 comments · May be fixed by #93

Comments

@liangjunheng
Copy link

核心版本更新到最新版本0.103.3 报错:

/usr/lib/lua/luci/dispatcher.lua:381: Failed to execute function 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/base'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/AdGuardHome/base.lua:49: attempt to concatenate local 'version' (a nil value)
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>

@h31105
Copy link

h31105 commented Jul 25, 2020

openwrt adguard 的更新界面无法更新,可以通过adguard面板更新到最新版
但更新后,openwrt adguard 页面无法识别新版本。(不影响使用

@liangjunheng
Copy link
Author

liangjunheng commented Jul 25, 2020

openwrt adguard 的更新界面无法更新,可以通过adguard面板更新到最新版
但更新后,openwrt adguard 页面无法识别新版本。(不影响使用

这个我是知道的,所以想反馈一下。功能正常,路由器界面进不去了

@liangjunheng
Copy link
Author

openwrt adguard 的更新界面无法更新,可以通过adguard面板更新到最新版
但更新后,openwrt adguard 页面无法识别新版本。(不影响使用

希望作者可以修复下

@ameshkov
Copy link

@rufengsuixing hi! we changed the AGH version string, you need to strip the "v" prefix when comparing versions

@cdoco cdoco mentioned this issue Jul 29, 2020
@cnstark
Copy link

cnstark commented Jul 31, 2020

应该是因为没有version变量导致的,我把/usr/lib/lua/luci/model/cbi/AdGuardHome/base.lua 49行注释掉并重新对e赋值,lua界面就可以打开了
image
不过影响了版本号的获取,但插件可以正常使用
image

@liangjunheng
Copy link
Author

liangjunheng commented Aug 3, 2020

应该是因为没有version变量导致的,我把/usr/lib/lua/luci/model/cbi/AdGuardHome/base.lua 49行注释掉并重新对e赋值,lua界面就可以打开了
image
不过影响了版本号的获取,但插件可以正常使用
image

可以,完美解决进入界面问题

kankankankankankan added a commit to kankankankankankan/luci-app-adguardhome that referenced this issue Aug 9, 2020
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

Successfully merging a pull request may close this issue.

4 participants