processone / ejabberd-contrib

Growing and curated ejabberd contributions repository - PR or ask to join !
http://ejabberd.im
248 stars 137 forks source link

Module install error enoent #281

Closed ibrahimkoujar closed 4 years ago

ibrahimkoujar commented 4 years ago

Hello,

There is a problem when trying to install any ejabberd module.

command: ejabberdctl module_install mod_log_chat

result: Error: {"conf/mod_log_chat.yml",enoent}

command: ejabberdctl modules_available

result: atom_pubsub Provides access to all PEP nodes via an AtomPub interface ejabberd_auth_http Authentication via HTTP request ejabberd_mod_mam Message Archive Management (XEP-0313) ejabberd_trace Easy tracing of connections made to ejabberd ircd IRC server frontend to ejabberd mod_archive Supports almost all the XEP-0136 version 0.6 except otr mod_cron Execute scheduled commands mod_default_contacts Auto-add roster contacts on registration mod_default_rooms Auto-bookmark rooms on registration mod_deny_omemo Prevent OMEMO sessions from being established mod_filter Flexible filtering by server policy mod_grafite Publishes Statistics via statsd/grafite mod_hello_world Just say's hello at the moment. mod_http_offline POST offline messages to a web mod_log_chat Logging chat messages in text files mod_logsession Log session connections to file mod_logxml Log XMPP packets to XML file mod_message_log Log one line per message transmission in text file mod_muc_log_http Serve MUC logs on the web mod_openid Transform the Jabber Server in an openid provider mod_post_log Logs messages to an HTTP API mod_pottymouth Filter bad words in messages mod_profile User Profile (XEP-0154) in Mnesia table mod_rest HTTP interface to POST stanzas into ejabberd mod_restful RESTful API for ejabberd mod_s2s_log Log all s2s connections in a file mod_shcommands Execute shell commands mod_spam_filter Filter spam messages based on sender JID and content mod_statsdx Calculates and gathers statistics actively mod_webpresence Publish user presence information in the web

Version: 19.08 OS: Ubuntu 18.04

Thanks.

ibrahimkoujar commented 4 years ago

I found out that ejabberd is using this path for packages /opt/ejabberd/.ejabberd-modules not the one in the $HOME/.ejabberd-modules.