processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.03k stars 1.5k forks source link

Official Debian Package appears Broken(No configuration files or binaries) #4024

Closed heliophane closed 1 year ago

heliophane commented 1 year ago

Environment

Bug description

Howdy, I installed ejabberd through the repo and no configuration files were created. when I run ejabberdctl help debian says that ejabberd is not installed, when it is indeed installed. there is also no /etc/ejabberd folder created, and thus no ejabberd.yml file image image

licaon-kter commented 1 year ago

You can't find ejabberdctl in /opt/ejabberd maybe or anywhere on the filesystem?

heliophane commented 1 year ago

Didn't realize it would unpack to /opt/. any chance of having the directory moved back to /etc/? I was following the guide on landchad.net to configure it.

badlop commented 1 year ago

any chance of having the directory moved back to /etc/?

The ejabberd package provided by the Debian packagers, which integrate perfectly with all the other Debian operating system, and take very detailed care to have such a great integration, installs itself in /etc. Similarly do the packages provided by packagers in Ubuntu, and many other operating systems.

So, the packages generated by ejabberd's tools install in a different place, in /opt, on purpose to not have unexpected interactions with packages built by Debian maintainers. Same with the ejabberd container images which uses /opt, and also the ecs container image which installs in /home/ejabberd