Hi;
when I run:
ejabberdctl get_room_affiliations roomname conference.localhost
I'm getting the following error:
Problem 'error {badrecord,state}' occurred executing the command.
Stacktrace: [{mod_muc_admin,get_room_affiliations,2},
{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;
Thanks in advance
The module source code in SVN
The module source code in SVN is prepared to work with ejabberd 2.1.10. Maybe you are using it with an older ejabberd version.
I'm seeing a similar error,
I'm seeing a similar error, using mod_muc_admin trunk at r1133, on ejabberd 2.1.10:
$ sudo ejabberdctl rooms_unused_list example.com 1
Problem 'error {badrecord,state}' occurred executing the command.
Stacktrace: [{mod_muc_admin,decide_room,2},
{lists,'-filter/2-lc$^0/1-0-',2},
{mod_muc_admin,muc_unused2,4},
{mod_muc_admin,rooms_unused_report,3},
{ejabberd_ctl,call_command,3},
{ejabberd_ctl,try_call_command,3},
{ejabberd_ctl,process2,3},
{ejabberd_ctl,process,1}]
I tried rolling back to mod_muc_admin r1132, since the commit note for 1133 alludes to support for ejabberd 2.1.11, which isn't yet in ubuntu's package manager. After restarting ejabberd and running the same command, I get an identical error under the older module.
For version 2.1.10 which is
For version 2.1.10 which is installed through apt-get on Ubuntu 12.04, you will need to checkout revision 1125 trunk
Otherwise youll get the following error