Package: ejabberd-mod-log-chat
Version: 0.2020.10.21~dfsg0-5
With this in the modules section of /etc/ejabberd/ejabberd.yml:
mod_log_chat:
path: /srv/ejabberd/mod_log_chat
format: html
I get this error:
$ sudo ejabberdctl foreground
2021-09-10 02:10:59.368040+00:00 [info] Loading configuration from
/etc/ejabberd/ejabberd.yml
2021-09-10 02:10:59.468031+00:00 [critical] Failed to start ejabberd
application: Exception occurred during configuration processing. This is
most likely due to faulty/incompatible validator in third-party code. If
you are not running any third-party code, please report the bug with
ejabberd configuration file attached and the following stacktrace included:
** exception error: bad argument
in function iolist_to_binary/1
called as iolist_to_binary('/srv/ejabberd/mod_log_chat')
in call from mod_log_chat:'-mod_opt_type/1-fun-0-'/1
(mod_log_chat.erl, line 283)
in call from yconf:validate_option/3 (yconf.erl, line 1244)
in call from yconf:validate_options/8 (yconf.erl, line 1221)
in call from yconf:'-and_then/2-fun-0-'/3 (yconf.erl, line 617)
in call from yconf:validate_option/3 (yconf.erl, line 1244)
in call from yconf:validate_options/8 (yconf.erl, line 1221)
in call from yconf:validate_option/3 (yconf.erl, line 1244)