EMQX 开源版5.8 启动报错

ERROR: call_hocon_failed: -v -t 2024.09.06.15.51.04 -s emqx_conf_schema -c /opt/emqx/data/configs/cluster.hocon -c /opt/emqx/etc/emqx.conf -d /opt/emqx/data/configs generate

2024-09-06T15:52:08.702922+08:00 [alert] reason: {1,erl_scan,{illegal,character}}, path: /opt/emqx/etc/acl.conf, msg: bad_acl_file_content

EMQX_RPC__PORT_DISCOVERY [rpc.port_discovery]: manual

EMQX_NODE__NAME [node.name]: emqx@172.17.0.21

2024-09-06T15:52:08.776802+08:00 [error] failed_to_check_schema: emqx_conf_schema

2024-09-06T15:52:08.776880+08:00 [error] #{reason => {bad_acl_file_content,{1,erl_scan,{illegal,character}}},value => “${EMQX_ETC_DIR}/acl.conf”,path => “authorization.sources.1.path”,kind => validation_error,matched_type => “authz:file”}

/opt/emqx/etc/acl.conf 这个文件里面的 acl 规则写的不太对,没法解析。

参考文档: