插件目录挂载在GFS server上时,通过dashboard安装插件报下面错误:
错误报告
2023-03-14T02:58:28.430175+00:00 [warning] mfa: minirest_handler:apply_callback/3
line: 116
exception: error
path: /plugins/install
reason: {badmatch,{error,#{path =>
<<“plugins/emqx_plugin_test-0.1.tar.gz”>>,
reason => “bad_plugin_package”,return => eof}}}
stacktrace: [{emqx_mgmt_api_plugins,do_install_package,2,
[{file,“emqx_mgmt_api_plugins.erl”},{line,383}]},
{minirest_handler,apply_callback,3,
[{file,“minirest_handler.erl”},{line,111}]},
{minirest_handler,handle,2,
[{file,“minirest_handler.erl”},{line,44}]},
{minirest_handler,init,2,
[{file,“minirest_handler.erl”},{line,27}]},
{cowboy_handler,execute,2,
[{file,“cowboy_handler.erl”},{line,41}]},
{cowboy_stream_h,execute,3,
[{file,“cowboy_stream_h.erl”},{line,318}]},
{cowboy_stream_h,request_process,3,
[{file,“cowboy_stream_h.erl”},{line,302}]},
{proc_lib,init_p_do_apply,3,
[{file,“proc_lib.erl”},{line,226}]}]
环境
- EMQX 版本:5.0.17
- 操作系统版本:centos7.9