ejabberd setup script fails to add external fqdn to config
New install of Debian 11 and Freedombox 21.16. No apps yet installed.
- set up domain name in System->Configure and System->Name Services 1b) (optional, one can simply use the admin user) set up a user in System->Users & Groups
- get Let Encrypt cert for the domain
- install ejabberd via Apps in Plinth
- Attempt to connent a user to ejabberd via a client (I tried gajim and dino-im on Debian 11 and Conversations on Android 11 (CalyxOS) and JSXC. One isn't able to connect. Gajim says "host-unknown", dino-im "Server is not responsible for the domain . JSXC complains it cannot connect to the BOSH server.
James had me look in /etc/ejabberd/ejabberd.yml to see what was listed in the host section. Only "localhost" was present.
Adding my domainname to the hosts section by hand editting the file fixed the problem for all the clients I tested.
I'd like to suggest that either the startup script add the domainname(s) to the hosts file, or that wiki instructions mention the need to add one's domainname to the file.