mod_muc_admin Problem

Hello all,

I have an ejabberd 2.1.11 server up and running on Ubuntu 12.0.4 after much trial and error. Now that the base functions are working I am trying to get mod_muc_admin compiled/installed/running and cannot quite seem to get it to work. I followed the directions for using git and getting the 2.1.x version. It compiles fine, no errors or warnings. However when I start the service and have a user create a muc the webpage comes back with "Not Found". The chat room is generated and is working, just throwing the web page out of whack.

In ejabberd.log there is the following:

E(<0.466.0>:ejabberd_hooks:335) : {{badrecord,state},
                                   [{mod_muc_admin,build_info_room,1},
                                    {mod_muc_admin,
                                     '-build_info_rooms/1-lc$^0/1-0-',1},
                                    {mod_muc_admin,make_rooms_page,3},
                                    {mod_muc_admin,web_page_host,3},
                                    {ejabberd_hooks,run_fold1,4},
                                    {ejabberd_web_admin,process_admin,2},
                                    {ejabberd_http,process,2},
                                    {ejabberd_http,process_request,1}]}

As I am relatively new to Linux and ejabberd I have no idea what the above means. Could someone please give me a hand in getting this to work?

- Greymalkin2k

Probably this is because

Probably this is because mod_muc_admin.erl is compiled with a mod_muc_room.hrl that is different from the one used to compile ejabberd 2.1.11.

Two solutions:
- easy: download mod_muc_room.hrl from ejabberd 2.1.11 sources, copy it to overwrite the one you used to compile mod_muc_admin.erl (probably it's located in ejabberd-dev/include/). Then compile mod_muc_admin.erl again, copy, restart ejabberd and should work.
- harder: update ejabberd to the latest one (2.1.13)

Syndicate content