Hi,
I have problem because i used command ejabberd push_alltoall and how to delete now all contacts from all users.
Next question, i create file witch users witch i need to send to all users file looks that:
{"example.com", [
{"amadej@wblin.pl", "Workers", "Artur Madej"},
{"mirkat@example.com", "Workers", "Mirosława Tarnowska"},
{"katweg@example.com", "Workers", "Katarzyna Węgrzyn"},
{"marsza@example.com", "Workers", "Mariusz Szabała"},
{"staz@example.com", "Workers", "staz"},
{"malszo@example.com", "Workers", "Małgorzata Szostak"},
{"mirwia@example.com", "Workers", "Mirosława Wiater"},
{"katwoz@example.com", "Workers", "Katarzyna Woźniak"}]}
ejabberdctl push_roster_all /home/pea/roster_all.ls
geting:
Problem 'error function_clause' occurred executing the command.
Stacktrace: [{mod_admin_extra,subscribe_all,
[{"example.com",
[{"amadej@example.com","Workers",
"Artur Madej"},
{"mirkat@example.com","Workers",
"Miroslawa Tarnowska"},
{"katweg@example.com","Workers",
"Katarzyna Wegrzyn"},
{"marsza@example.com","Workers",
{ejabberd_ctl,call_command,3},
{ejabberd_ctl,try_call_command,3},
{ejabberd_ctl,process2,3},
{ejabberd_ctl,process,1},
{rpc,'-handle_call_call/6-fun-0-',5}]
please help
On 23 November 2013 18:29,
On 23 November 2013 18:29, Pawel Jamroz wrote:
> Hi,
>
> I have problem because i used command ejabberd push_alltoall and how to
> delete now all contacts from all users.
In ejabberd's WebAdmin -> Nodes -> your node -> Database -> roster,
select "Delete content" and click Send.
> Next question, i create file witch users witch i need to send to all users
> file looks that:
>
>
> {"example.com", [
> {"amadej@wblin.pl", "Workers", "Artur Madej"},
> {"mirkat@example.com", "Workers", "Mirosława Tarnowska"},
> {"katweg@example.com", "Workers", "Katarzyna Węgrzyn"},
> {"marsza@example.com", "Workers", "Mariusz Szabała"},
> {"staz@example.com", "Workers", "staz"},
> {"malszo@example.com", "Workers", "Małgorzata Szostak"},
> {"mirwia@example.com", "Workers", "Mirosława Wiater"},
> {"katwoz@example.com", "Workers", "Katarzyna Woźniak"}]}
>
> ejabberdctl push_roster_all /home/pea/roster_all.ls
Why did you use that file format?
mod_admin_extra's README.txt provides this example file format, and it
works for me:
[
{"badlop", "localhost", "Workers", "Artur Madej badlop"},
{"user1", "localhost", "Workers", "Artur Madej user1"}
].