-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing part in guide regarding YAML #110
Comments
Yes, the complex configuration for xmlrpc is not supported in YAML yet. |
So I guess AccessCommands neither. Any workaround or ETA or I have to rollback to stable release ? Thanks |
Does legacy version (Erlang terms) of the config work? |
Sure, I use it with 2.1.x release to give xmlrpc acces only to admin members. |
I mean you can still use legacy config file with 13.10. And probably the stuff should work. |
Ah ! you mean I can use erlang term in yml and it will be interpreted ? or fallback to default cfg file and use only erlang terms. |
No :) I mean you run ejabberd with ejabberd.cfg. Don't convert it to YAML. |
Great, I will stuck with this one for the moment. YAML support announcement was cool as it can be understood easily :) But I will wait a bit for advanced usages. Should I close this one or you prefer keeping it open for the records (and todo list :p) |
Let it be open for a while. |
Hi Guys Any news as to when we can expect YAML support for XMLRPC configs? |
Cannot run xmlrpc with 13.12 |
Try this and tell me if it works. In /etc/ejabberd/ejabberd.yml put a line like this:
Then, in /etc/ejabberd/xmlrpc.cfg you can put whatever you used to have in ejabberd 2, like:
|
ejabberd does start with port 4560 listening, but I cannot get it to output the response.. It just echoes back the params to me as is. I followed the examples in: Tried with multiple languages, same result. |
|
And get_presence is not even defined in ejabberd_xmlrpc for 13.12 |
The error that says "undef...xmlrpc" means that ejabberd didn't find the xmlrpc erlang library. It should have been automatically downloaded to deps/ subdirectory, compiled and installed. Try:
|
FWIW, the following configuration works for me with ejabberd 14.07:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The section
4.2.2 Restrict Execution with AccessCommands
Is not "translated" in yaml.
I have issue trying configuring ejabberd_xmlrpc with acces_commands restriction and this new cfg format.
For example how did you translate :
In yaml ?
The text was updated successfully, but these errors were encountered: