Replies: 1 comment 3 replies
-
You don't need to install it, as it is already included with ejabberd. You just need to configure ejabberd to enable it.
If you provide a full reproduction guide, that describes point by point how to reproduce the problem (including Dockerfile, calls to docker, etc), then maybe somebody can get a clue what's going on in your machine.
Don't do that. The module is already included in ejabberd.
No. That error message confirms that mod_conversejs is not loaded for "localhost" vhost. But you did not show your configuration file, so we cannot check if that vhost is enabled in your ejabberd.
And there should also be a
With the small pieces of information you showed, it seems you already configured ejabberd.yml perfectly, and if you didn't break anything else, and nothing else is broken in the image (or some bug in ejabberd), then your configuration should work. But we don't know what other configurations you changed, or what other changes you made, or what volumes you mounted, and where. If you want help to solve your problem, you should help people to understand what you did, and don't hide steps that may be relevant to the problem. For example, you can update your question providing a full step-by-step reproduction guide, that describes how to build and start the container image, how to configure ejabberd. In summary, it seems you already did the correct configuration, but it doesn't work... so now you should explain what you did in order to reproduce the problem that you are seeing in your machine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm trying to make
mod_conversejs
work in the Dockerecs
image but I'm not fully understanding the steps involved. I've read the following official docs: mod_conversejs and followed the described steps.The
mod_conversejs
config that I'm using is the following:I'm manually setting up the
/opt/ejabberd/conversejs
directory with the following Dockerfile steps using theconversejs-12.0.0.tgz
release file:I do believe that the above config/steps should be correct. But then
mod_conversejs
seems not to be installed nor available from theecs
docker image even after runningejabberdctl modules_update_specs
. This is the list of available modules that I get:As
mod_conversejs
is not available from the list when runningejabberdctl module_install mod_conversejs
fails with:Error: not_available
.When navigating to
http://localhost:5280/conversejs
I do indeed see in the console the following error message:Confirming that
mod_conversejs
is not loaded.What I'm not fully understanding is that I can see this file:
/opt/ejabberd-25.08/lib/ejabberd-25.8.0/ebin/mod_conversejs_opt.beam
inside the Docker image. Which seems that there's amod_conversejs_opt.beam
binary file that could be used, but is not being picked up automatically on startup.So, is there a setting that I need to add somewhere so
mod_conversejs_opt.beam
gets properly loaded? I've also read this discussion: mod_conversejs with ejabberd 24.10 and there seems to be a mention to a beam file (and nothing else), but that specific discussion is related to the installer, not to Docker.Thanks again for your time,
Lucas.
Beta Was this translation helpful? Give feedback.
All reactions