ejabberd - Comments for "ejabberdctl get_room_affiliations issue" https://www.ejabberd.im/node/5180 en For version 2.1.10 which is https://www.ejabberd.im/node/5180#comment-61178 <p>For version 2.1.10 which is installed through apt-get on Ubuntu 12.04, you will need to checkout revision 1125 trunk</p> <blockquote><p> svn up -r1125 </p></blockquote> <p>Otherwise youll get the following error</p> <blockquote><p> Stacktrace: [{mod_muc,store_room,["host","service","name",[]],[]},<br /> {mod_muc_admin,create_room,3,<br /> [{file,"src/mod_muc_admin.erl"},{line,386}]},<br /> {ejabberd_ctl,call_command,3,<br /> [{file,"ejabberd_ctl.erl"},{line,292}]},<br /> {ejabberd_ctl,try_call_command,3,<br /> [{file,"ejabberd_ctl.erl"},{line,269}]},<br /> {ejabberd_ctl,process2,3,[{file,"ejabberd_ctl.erl"},{line,215}]},<br /> {ejabberd_ctl,process,1,[{file,"ejabberd_ctl.erl"},{line,200}]},<br /> {rpc,'-handle_call_call/6-fun-0-',5,<br /> [{file,"rpc.erl"},{line,203}]}] </p></blockquote> Thu, 01 Aug 2013 10:46:00 +0000 mcp comment 61178 at https://www.ejabberd.im I'm seeing a similar error, https://www.ejabberd.im/node/5180#comment-59207 <p>I'm seeing a similar error, using mod_muc_admin trunk at r1133, on ejabberd 2.1.10:</p> <div class="codeblock"><code>$ sudo ejabberdctl rooms_unused_list example.com 1<br />Problem &#039;error {badrecord,state}&#039; occurred executing the command.<br />Stacktrace: [{mod_muc_admin,decide_room,2},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {lists,&#039;-filter/2-lc$^0/1-0-&#039;,2},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {mod_muc_admin,muc_unused2,4},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {mod_muc_admin,rooms_unused_report,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,call_command,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,try_call_command,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,process2,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,process,1}]</code></div> <p>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.</p> Mon, 22 Oct 2012 00:40:00 +0000 ndirons comment 59207 at https://www.ejabberd.im The module source code in SVN https://www.ejabberd.im/node/5180#comment-58331 <p>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.</p> Mon, 13 Feb 2012 10:19:27 +0000 mfoss comment 58331 at https://www.ejabberd.im