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

模板相关功能出现Bug #114

Open
2 tasks done
zwillhill opened this issue Dec 13, 2020 · 0 comments
Open
2 tasks done

模板相关功能出现Bug #114

zwillhill opened this issue Dec 13, 2020 · 0 comments

Comments

@zwillhill
Copy link

zwillhill commented Dec 13, 2020

提交之前

在你提交问题之前请回答以下问题
你可以删掉提交之前这个部分

  • 我用着最新版的 luci-app-adguardhome
  • 我检查了没有人提交同样的问题

问题详细信息

与lede最新版一起编译,初始设置时,“手动设置”界面转圈,“基本设置”界面“快速设置”无效
手动复制一份配置文件到路由/etc/AdGuardHome.yaml,adguardhome可运行,“使用模板”仍会出错。

  • **AdGuard Home luci的版本:1.8.11
  • **AdGuard Home server的版本:0.104.3
  • **操作系统和版本:OpenWrt R20.12.12 / LuCI Master (git-20.343.54716-6fc079f)

希望的执行结果

实际的执行结果

日志(重要)

Sun Dec 13 15:55:36 2020 daemon.err uhttpd[2159]: grep: /etc/AdGuardHome.yaml: No such file or directory
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: /usr/lib/lua/luci/dispatcher.lua:469: Failed to execute cbi dispatcher target for entry '/admin/services/AdGuardHome/manual'.
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: The called action terminated with an exception:
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tsection'.
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/ucisection'.
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tvalue'.
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: A runtime error occured: /usr/lib/lua/luci/model/cbi/AdGuardHome/manual.lua:11: bad argument #1 to 'lines' (/tmp/resolv.conf.auto: No such file or directory)
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: stack traceback:
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: [C]: in function 'assert'
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: /usr/lib/lua/luci/dispatcher.lua:469: in function 'dispatch'
Sun Dec 13 15:55:42 2020 daemon.err uhttpd[2159]: /usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

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

No branches or pull requests

1 participant