Added the following to the modules list in ejabberd.cfg: {mod_muc_admin, []},
In mod_muc_admin/trunk, ran ./build.sh
No errors were thrown during the build, but Ejabberd will not start.
When that didn't work, tried moving to mod_muc_admin/branches/ejabberd-2.0.x/ and running ./build.sh
Again, no errors were thrown on build, but Ejabberd will not start.
Pretty please, help.
I don't mind trying Ejabberd 3 if that is better.
It seems others may be having
It seems others may be having the same issue.
https://www.process-one.net/en/forum/viewthread/733/
I am not certain that their err is the same, but if so, at least it means that I am not alone. :/
Any solutions would be appreciated.
4+. Copy the compiled
4+. Copy the compiled mod_muc_admin.beam to the system path where you have all the other ejabberd *.beam files.
Thank you, that worked, and
Thank you, that worked, and was obvious in retrospect.
However, while Ejabberd now compiles and runs, I cannot figure out how to correctly use the module.
When I do
./ejabberdctl muc_online_rooms global
I get the following err:
Problem 'error badarg' occurred executing the command.
Stacktrace: [{erlang,'++',[<<"shulamis">>,[64|<<"conference.aviezri.org">>]],[]},
{mod_muc_admin,'-muc_online_rooms/1-fun-0-',3,[{file,"src/mod_muc_admin.erl"},{line,174}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
{ejabberd_ctl,call_command,3,[{file,"ejabberd_ctl.erl"},{line,293}]},
{ejabberd_ctl,try_call_command,3,[{file,"ejabberd_ctl.erl"},{line,269}]},
{ejabberd_ctl,process2,3,[{file,"ejabberd_ctl.erl"},{line,218}]},
{ejabberd_ctl,process,1,[{file,"ejabberd_ctl.erl"},{line,203}]},
{rpc,'-handle_call_call/6-fun-0-',5,[{file,"rpc.erl"},{line,205}]}]
Please help.
It was a bug in the code.
It was a bug in the code. Fixed in git.