-
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
join_cluster needs more exported global variables #498
Comments
there is a glitch in the packaging. joincluster and leavecluster should be in bin directory instead of lib/ejabberd-15.03/priv/bin to make it able to eval variables correctly. i'll fix this. |
script moved to bin directory on installer, and improved to find ejabberdctl on standard installation. |
This is still necessary for me in 15.10 (I compile from source with |
As joincluster needs access to both variables and functions defined by ejabberdctl shell script, a simple way is to set positional parameters and source the joincluster script from within ejabberdctl. This should fix processone#498, processone#676, and processone#807.
…d-starttls ejabberd_c2s: Omit features on required STARTTLS.
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. |
I had to export more global variables in
ejabberdctl
for thejoin_cluster
command to work:ejabberd/ejabberdctl.template
Line 157 in 8f46ca4
In its current state, I am getting "unbound variable" errors. Adding
ERLANG_NODE
,KERNEL_OPTS
andSPOOL_DIR
did the trick for me.The text was updated successfully, but these errors were encountered: