Add and remove vhosts without restarting ejabberd with out disconnecting users from ejabberd server

Hi,
I have done the possible way of adding the "vhosts" into ejabberd.yml and reload it with "ejabberdctl reload_config". Newly added vhost appears in the web interface but its not allowing to add a shared roster group under the newly added vhost.

And also it tried the same from command line but getting the following error.
ejabberdctl srg_create mytesting1.com mytesting1.com mytesting1.com mytesting1.com mytesting1.com

Problem 'error {badmatch,{aborted,{no_exists,sr_group}}}' occurred executing the command.
Stacktrace: [{mod_admin_extra,srg_create,5,
[{file,"src/mod_admin_extra.erl"},{line,1227}]},
{ejabberd_commands,execute_command2,2,
[{file,"src/ejabberd_commands.erl"},
{line,320}]},
{ejabberd_ctl,call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,292}]},
{ejabberd_ctl,try_call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,268}]},
{ejabberd_ctl,process2,3,
[{file,"src/ejabberd_ctl.erl"},{line,217}]},
{ejabberd_ctl,process,1,
[{file,"src/ejabberd_ctl.erl"},{line,202}]},
{rpc,'-handle_call_call/6-fun-0-',5,
[{file,"rpc.erl"},{line,206}]}]

Need help Urgent!!

That feature is half-way

That feature is half-way implemented in some patch. But it doesn't work completely as it would be desired, as you noticed, as it requires modifying many of the internals heavily.

Syndicate content