Jul 08 08:46:26 http.server error Traceback[httpserver]: ...ib/prosody/modules/muc_log_http/mod_muc_log_http.lua:111: bad argument #1 to 'pairs' (table expected, got no value) stack traceback: [C]: in function 'pairs' ...ib/prosody/modules/muc_log_http/mod_muc_log_http.lua:111: in function 'generate_room_list' ...ib/prosody/modules/muc_log_http/mod_muc_log_http.lua:681: in function <...ib/prosody/modules/muc_log_http/mod_muc_log_http.lua:649> (tail call): ? /usr/lib/prosody/util/events.lua:67: in function 'fire_event' /usr/lib/prosody/net/http/server.lua:221: in function </usr/lib/prosody/net/http/server.lua:164> (tail call): ? [C]: in function 'xpcall' /usr/lib/prosody/net/http/server.lua:108: in function 'process_next' /usr/lib/prosody/net/http/server.lua:124: in function 'success_cb' /usr/lib/prosody/net/http/parser.lua:154: in function 'feed' /usr/lib/prosody/net/http/server.lua:150: in function </usr/lib/prosody/net/http/server.lua:149> (tail call): ? /usr/lib/prosody/net/server_select.lua:854: in function </usr/lib/prosody/net/server_select.lua:836> [C]: in function 'xpcall' /usr/bin/prosody:376: in function 'loop' /usr/bin/prosody:407: in main chunk [C]: ?
debugging mod_muc_log_http.lua: - get_room_list() does not seem to return a table - which can happen when component or muc is not set - component is of type "table" - muc is of type "nil" - so this is the problem debugging output via:: module:log("info", type(muc)); module:log("info", muc); instead of restarting prosody, connect via telnet to mod_admin_telnet console and reload the module. it reloads the whole module code:: module:reload('muc_log_http') Problem source: mod_muc_log_http was loaded in globals modules_enabled section.