ejabberd | MUC problems // 17.04

Problem:
You add a room with ejabberdctl.

 # ejabberdctl create_room testroom conference.xmpp.inbbradio.de localhost

You list all rooms with ejabberdctl.

 # ejabberdctl muc_online_rooms global

You delete a room.

 # ejabberdctl destroy_room testroom conference.xmpp.inbbradio.de

You list all rooms with ejabberdctl.

 # ejabberdctl muc_online_rooms global

You restart ejabberd

 # ejabberdctl restart

You list all rooms with ejabberdctl.

 # ejabberdctl muc_online_rooms global

… and voilà, the deleted room re-appears.

Workaround:
Check room properies:

 # ejabberdctl get_room_options testroom conference.xmpp.inbbradio.de

Set ‘persistent’ to ‘true’.

 # ejabberdctl ejabberdctl change_room_option testroom conference.xmpp.inbbradio.de persistent true

Delete again.

Advertisements