coolsnowwolf / lede

Lean's LEDE source
Other
29.77k stars 19.52k forks source link

QWRT 固件尝试使用 OpenVPN 的“基于模板的配置”创建实例时出现问题,且 OpenVPN 服务无法开启 #12636

Open KatyushaScarlet opened 4 hours ago

KatyushaScarlet commented 4 hours ago

详细叙述

固件版本:QWRT-R24.11.01-x86-64-generic-squashfs-combined-efi

“选择模版”下拉框内容如图所示:

QQ20241102-000114

重复 issue

具体型号

x86-64 pve

详细日志

500 内部服务器错误
对不起,服务器遇到未知错误。
/usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
stack traceback:
    [C]: in function 'assert'
    /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:129: in function 

                    Powered by LuCI Master |
                    QWRT  R24.11.11

                    © 2021-2022 2smile. All Rights Reserved.
KatyushaScarlet commented 3 hours ago

OpenVPN 服务无法启动,日志如下:

Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]: The called action terminated with an exception:
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]: A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]: stack traceback:
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]:   [C]: in function 'assert'
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
Sat Nov  2 00:43:07 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: The called action terminated with an exception:
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: stack traceback:
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]:   [C]: in function 'assert'
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: The called action terminated with an exception:
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]: stack traceback:
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]:   [C]: in function 'assert'
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
Sat Nov  2 00:43:08 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: The called action terminated with an exception:
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: stack traceback:
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]:   [C]: in function 'assert'
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: The called action terminated with an exception:
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]: stack traceback:
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]:   [C]: in function 'assert'
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
Sat Nov  2 00:43:09 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: The called action terminated with an exception:
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: stack traceback:
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]:   [C]: in function 'assert'
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/dispatcher.lua:482: Failed to execute cbi dispatcher target for entry '/admin/vpn/openvpn'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: The called action terminated with an exception:
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/tblsection'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'openvpn/cbi-select-input-add'.
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: A runtime error occured: [string "/usr/lib/lua/luci/view/openvpn/cbi-select-i..."]:1: attempt to index field 'xml' (a nil value)
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]: stack traceback:
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]:   [C]: in function 'assert'
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:482: in function 'dispatch'
Sat Nov  2 00:43:10 2024 daemon.err uhttpd[6644]:   /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>