{"action":"closed","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/498","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/498/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/498/events","html_url":"https://github.com/processone/ejabberd/issues/498","id":64937689,"number":498,"title":"join_cluster needs more exported global variables","user":{"login":"7adietri","id":6258737,"avatar_url":"https://avatars.githubusercontent.com/u/6258737?v=3","gravatar_id":"","url":"https://api.github.com/users/7adietri","html_url":"https://github.com/7adietri","followers_url":"https://api.github.com/users/7adietri/followers","following_url":"https://api.github.com/users/7adietri/following{/other_user}","gists_url":"https://api.github.com/users/7adietri/gists{/gist_id}","starred_url":"https://api.github.com/users/7adietri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7adietri/subscriptions","organizations_url":"https://api.github.com/users/7adietri/orgs","repos_url":"https://api.github.com/users/7adietri/repos","events_url":"https://api.github.com/users/7adietri/events{/privacy}","received_events_url":"https://api.github.com/users/7adietri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Admin%20Tools","name":"Component:Admin Tools","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"cromain","id":743187,"avatar_url":"https://avatars.githubusercontent.com/u/743187?v=3","gravatar_id":"","url":"https://api.github.com/users/cromain","html_url":"https://github.com/cromain","followers_url":"https://api.github.com/users/cromain/followers","following_url":"https://api.github.com/users/cromain/following{/other_user}","gists_url":"https://api.github.com/users/cromain/gists{/gist_id}","starred_url":"https://api.github.com/users/cromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cromain/subscriptions","organizations_url":"https://api.github.com/users/cromain/orgs","repos_url":"https://api.github.com/users/cromain/repos","events_url":"https://api.github.com/users/cromain/events{/privacy}","received_events_url":"https://api.github.com/users/cromain/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/processone/ejabberd/milestones/3","html_url":"https://github.com/processone/ejabberd/milestones/ejabberd%2015.04","labels_url":"https://api.github.com/repos/processone/ejabberd/milestones/3/labels","id":1031491,"number":3,"title":"ejabberd 15.04","description":"","creator":{"login":"mremond","id":86736,"avatar_url":"https://avatars.githubusercontent.com/u/86736?v=3","gravatar_id":"","url":"https://api.github.com/users/mremond","html_url":"https://github.com/mremond","followers_url":"https://api.github.com/users/mremond/followers","following_url":"https://api.github.com/users/mremond/following{/other_user}","gists_url":"https://api.github.com/users/mremond/gists{/gist_id}","starred_url":"https://api.github.com/users/mremond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mremond/subscriptions","organizations_url":"https://api.github.com/users/mremond/orgs","repos_url":"https://api.github.com/users/mremond/repos","events_url":"https://api.github.com/users/mremond/events{/privacy}","received_events_url":"https://api.github.com/users/mremond/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":16,"state":"open","created_at":"2015-03-20T18:28:36Z","updated_at":"2015-04-21T11:33:16Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-03-28T12:35:48Z","updated_at":"2015-04-21T11:33:16Z","closed_at":"2015-04-21T11:33:16Z","body":"I had to export more global variables in `ejabberdctl` for the `join_cluster` command to work:\r\nhttps://github.com/processone/ejabberd/blob/8f46ca48c122d43de8fadb2d6e5ed88d14899409/ejabberdctl.template#L157\r\n\r\nIn its current state, I am getting \"unbound variable\" errors. Adding `ERLANG_NODE`, `KERNEL_OPTS` and `SPOOL_DIR` did the trick for me.\r\n"}}