#1833 Error initializing module 'measure_muc' on 'conference.domain.tld': /usr/share/lua/5.4/prosody/core/statsmanager.lua:86: attempt to index a number value (local 'extra')

Reporter Martin Sebald
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Component-Community
  • Status-New
  • Type-Defect
  • Priority-Medium
  1. Martin Sebald on

    Dec 05 00:51:45 modulemanager error Error initializing module 'measure_muc' on 'conference.domain.tld': /usr/share/lua/5.4/prosody/core/statsmanager.lua:86: attempt to index a number value (local 'extra') stack traceback: /usr/share/lua/5.4/prosody/core/statsmanager.lua:86: in upvalue 'unwrap_legacy_extra' /usr/share/lua/5.4/prosody/core/statsmanager.lua:101: in function </usr/share/lua/5.4/prosody/core/statsmanager.lua:94> (...tail calls...) ...sody/prosody-modules/mod_measure_muc/mod_measure_muc.lua:22: in main chunk [C]: in function 'util.xpcall.xpcall' /usr/share/lua/5.4/prosody/core/modulemanager.lua:270: in upvalue 'do_load_module' /usr/share/lua/5.4/prosody/core/modulemanager.lua:353: in function 'core.modulemanager.load' /usr/share/lua/5.4/prosody/core/modulemanager.lua:131: in function 'core.modulemanager.load_modules_for_host' /usr/share/lua/5.4/prosody/util/events.lua:81: in function </usr/share/lua/5.4/prosody/util/events.lua:77> (...tail calls...) ...sody-modules/mod_log_slow_events/mod_log_slow_events.lua:12: in function <...sody-modules/mod_log_slow_events/mod_log_slow_events.lua:10> (...tail calls...) /usr/share/lua/5.4/prosody/core/hostmanager.lua:108: in function 'core.hostmanager.activate' /usr/share/lua/5.4/prosody/core/hostmanager.lua:58: in field '?' /usr/share/lua/5.4/prosody/util/events.lua:81: in function </usr/share/lua/5.4/prosody/util/events.lua:77> (...tail calls...) /usr/share/lua/5.4/prosody/util/startup.lua:428: in function 'util.startup.prepare_to_start' /usr/share/lua/5.4/prosody/util/startup.lua:707: in function 'util.startup.prosody' /usr/share/lua/5.4/prosody/util/async.lua:156: in upvalue 'func' /usr/share/lua/5.4/prosody/util/async.lua:144: in function </usr/share/lua/5.4/prosody/util/async.lua:142>

  2. Martin Sebald on

    PS: This comes up a lot of times when restarting Prosody for all MUC hosts/components on our server.

  3. Zash on

    Thanks for the report. This appears no be a problem with the community module mod_measure_muc, it seem to pass an extra argument that did not exist in earlier versions of Prosody that is incompatible with 0.12+. Consider reaching out to the module author or disable the module. PS: Please include Prosody version info when reporting issues.

    Changes
    • tags Component-Community

New comment

Not published. Used for spam prevention and optional update notifications.