I just installed ejabberd on my Freedombox which resulted in “Service not running”. Diagnosis and repair was not able to fix it. From the logs I find strange lines such as:
[error] Failed to read PEM file /etc/ejabberd/letsencrypt/yyy.de/ejabberd.pem: permission denied
where yyy.de is a domain name I might have once tried using on this freedombox but it was completely removed: in dyndns and domains.
There, the domain zzz.de is registered.
in /etc/ejabberd/letsencrypt there are indeed directoris named yyy.de AND zzz.de, so yyy.de directory was not removed when I removed that from letsencrypt.
This should be fixed in the software, if someone can confirm my findings.
Can I simply remove the directory yyy.de to conclude setting up ejabberd?
You can move the file to another location to test if it fixes your issue.
You should probably restart the ejabberd service at least, I reckon.
We should test to see if we can reproduce the error and check if there is an issue that must be opened.
Thanks, I did that. The directory only contained a file named ejabberd.pem.
I did a “repair” afterwards and everything passed except “ejabberd not running”. So I did a “restart” of my FBx and now everything is functioning properly - so I beleive; as there is no one jet I can communicate with. But at least I can now offer the option.
My guess is that this error was introduced due to allowing multiple domains being configured in the FBx.
Are you going to file a bug report or shall I do? You probably can point out the details better than I could.