Comments (7)
This hopefully was fixed with 21bac1d. Did you test this with the latest image from docker index or build by yourself?
from docker-ejabberd.
I've been using the image from docker index; will try building myself. Thanks a lot for the info.
from docker-ejabberd.
You're welcome. This should also work with the latest rroemhild/ejabberd:latest
build from docker index.
from docker-ejabberd.
Off topic: Which is the best place install modules.
I've tried pre install script; fails with erlang nodedown because ejabberd is not started yet.
Any other option involving ejabberdctl restart is out of question since docker container would quit.
This is coming from someone with no erlang experience at all :)
from docker-ejabberd.
Modules get installed in /opt/ejabberd/.ejabberd-modules
. To automate module installation you have to run one or more post scripts after module update spec i.e. 40_install_modules.sh
#!/bin/bash
set -e
source "${EJABBERD_HOME}/scripts/lib/base_config.sh"
source "${EJABBERD_HOME}/scripts/lib/config.sh"
source "${EJABBERD_HOME}/scripts/lib/base_functions.sh"
source "${EJABBERD_HOME}/scripts/lib/functions.sh"
${EJABBERDCTL} module_install mod_admin_extra
You can test this inside a running container:
$ docker exec -it <containerid> ejabberdctl modules_available
$ docker exec -it <containerid> ejabberdctl module_install mod_admin_extra
from docker-ejabberd.
I beileve the way you've suggested requires an ejabberdctl restart which causes container to exit. Tried your suggestion + uncommenting (initially commented out) sections related to modules installed via sed and reload_config instead of restart; also doesn't work. I was thinking of VOLUME'ing yml file, so it stays intact after a restart however I can't imagine a production scenario if I do that. Any suggestions?
from docker-ejabberd.
Sorry to bug you up until now. It all boils down to Ejabberd and its -not so ready for docker- module system. A relevant discussion is here: processone/ejabberd#487 for anyone stops by.
from docker-ejabberd.
Related Issues (20)
- Custom Module HOT 1
- Can't access admin :5280/admin HOT 2
- Cannot access API with browser show not found HOT 1
- Ejabberd shared roaster group with members @all@ HOT 5
- Kubernetes working example HOT 8
- SSL more env vars
- 18.09 tag HOT 1
- Not listening to any connection HOT 3
- Open relay HOT 5
- Keeping a CHANGELOG would be nice! HOT 2
- Getting issue with file upload HOT 1
- PostgreSQL support for auth script
- Can't connect to web admin
- setting ERLANG_NODE crashes docker container HOT 1
- dotenv and python
- Support for http auth method HOT 1
- How to do a Select on Erlang, Mnesia
- conf/ejabberd.yml.tpl seems to be outdated
- Provide tags for newer ejabberd versions HOT 1
- Easy, one-click deployment of ejabberd using Cloudron
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ejabberd.