ejabberd - Comments for "Message logging problems" https://www.ejabberd.im/forum/25104/message-logging-problems en It seems a bug in the https://www.ejabberd.im/forum/25104/message-logging-problems#comment-66105 <p>It seems a bug in the configuration or configuration handling.<br /> I have created a ticket for you here: <noindex><a href="https://github.com/processone/ejabberd-contrib/issues/121" rel="nofollow" >Cannot start mod_log_chat.erl with included configuration</a></noindex></p> Mon, 14 Sep 2015 19:40:08 +0000 mremond comment 66105 at https://www.ejabberd.im I installed from the binary https://www.ejabberd.im/forum/25104/message-logging-problems#comment-66104 <p>I installed from the binary installer and that got me a little further. mod_message_log now works, but it doesn't do what I want. When I try to run ejabberdctl module_install mod_log_chat I get:</p> <div class="codeblock"><code>src/mod_log_chat.erl:3: Warning: Non-UTF-8 character(s) detected, but no encoding declared. Encode the file in UTF-8 or add &quot;%% coding: latin-1&quot; at the beginning of the file. Retrying with latin-1 encoding.<br />Problem &#039;exit &quot;Cannot load /opt/ejabberd-15.07/.ejabberd-modules/mod_log_chat/conf/mod_log_chat.yml: Syntax error on line 4 at position 8: mapping values are not allowed in this context&quot;&#039; occurred executing the command.<br />Stacktrace: [{ejabberd_config,exit_or_halt,1,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{file,&quot;src/ejabberd_config.erl&quot;},{line,365}]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_config,include_config_file,2,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{file,&quot;src/ejabberd_config.erl&quot;},{line,419}]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {lists,flatmap,2,[{file,&quot;lists.erl&quot;},{line,1248}]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_config,include_config_files,1,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{file,&quot;src/ejabberd_config.erl&quot;},{line,383}]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_config,read_file,2,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{file,&quot;src/ejabberd_config.erl&quot;},{line,123}]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_config,load_file,1,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{file,&quot;src/ejabberd_config.erl&quot;},{line,141}]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ext_mod,install,1,[{file,&quot;src/ext_mod.erl&quot;},{line,167}]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_commands,execute_command2,2,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{file,&quot;src/ejabberd_commands.erl&quot;},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {line,320}]}]</code></div> Mon, 14 Sep 2015 17:41:37 +0000 wallacms comment 66104 at https://www.ejabberd.im I am not sure if Debian https://www.ejabberd.im/forum/25104/message-logging-problems#comment-66098 <p>I am not sure if Debian package is allowing you to properly add module with install-module.</p> <p>You probably should either <noindex><a href="https://www.process-one.net/ejabberd/downloads/" rel="nofollow" >download ProcessOne installer or packages</a></noindex>, build ejabberd yourself, or build and deploy the contribution yourself.</p> Mon, 14 Sep 2015 15:08:17 +0000 mremond comment 66098 at https://www.ejabberd.im