[ejabberd] Delete all contacts from all users and upload new

Pawel Jamroz zaqosek at gmail.com
Sat Nov 23 21:29:06 MSK 2013


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 at wblin.pl", "Workers", "Artur Madej"},
{"mirkat at example.com", "Workers", "Mirosława Tarnowska"},
{"katweg at example.com", "Workers", "Katarzyna Węgrzyn"},
{"marsza at example.com", "Workers", "Mariusz Szabała"},
{"staz at example.com", "Workers", "staz"},
{"malszo at example.com", "Workers", "Małgorzata Szostak"},
{"mirwia at example.com", "Workers", "Mirosława Wiater"},
{"katwoz at 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 at example.com","Workers",
                                   "Artur Madej"},
                                  {"mirkat at example.com","Workers",
                                   "Miroslawa Tarnowska"},
                                  {"katweg at example.com","Workers",
                                   "Katarzyna Wegrzyn"},
                                  {"marsza at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20131123/bd2dab89/attachment.html>


More information about the ejabberd mailing list