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

Badlop badlop at gmail.com
Mon Nov 25 14:30:53 MSK 2013


On 23 November 2013 18:29, Pawel Jamroz <zaqosek at gmail.com> 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 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

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"}
].


--
Badlop
ProcessOne


More information about the ejabberd mailing list