question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bosh "table index is nil" with prosody-trunk 1nightly974-1~xenial

See original GitHub issue

Hi, I’ve installed the mod_muc_allowners.lua as reported here: https://community.jitsi.org/t/kick-participant-error/14320/6 to install muc_owner_allow_kick.patch I had to install prosody-trunk, I used the deb in the repo, as reported here: https://github.com/jitsi/jitsi-meet/issues/2137 I also had to change the storage from null to none as reported here: https://github.com/jitsi/jitsi-meet/issues/3052 But now I have this error:

Sep 17 11:40:20 jitsi.example.com:bosh	error	Traceback[bosh]: /usr/lib/prosody/util/cache.lua:66: table index is nil
stack traceback:
	/usr/lib/prosody/util/cache.lua:66: in function 'set'
	/usr/lib/prosody/modules/muc/mod_muc.lua:176: in function 'track_room'
	/usr/lib/prosody/modules/muc/mod_muc.lua:204: in function </usr/lib/prosody/modules/muc/mod_muc.lua:191>
	(tail call): ?
	/usr/lib/prosody/modules/muc/mod_muc.lua:427: in function '?'
	/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
	(tail call): ?
	/usr/lib/prosody/core/stanza_router.lua:190: in function 'core_post_stanza'
	/usr/lib/prosody/modules/mod_presence.lua:108: in function 'handle_normal_presence'
	/usr/lib/prosody/modules/mod_presence.lua:303: in function '?'
	/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
	(tail call): ?
	/usr/lib/prosody/core/stanza_router.lua:190: in function 'core_post_stanza'
	/usr/lib/prosody/core/stanza_router.lua:137: in function 'dispatch_stanza'
	/usr/lib/prosody/modules/mod_bosh.lua:308: in function 'func'
	/usr/lib/prosody/util/async.lua:126: in function </usr/lib/prosody/util/async.lua:124>
stack traceback:
	(tail call): ?
	/usr/lib/prosody/util/async.lua:210: in function 'run'
	/usr/lib/prosody/modules/mod_bosh.lua:450: in function 'cb_handlestanza'
	/usr/lib/prosody/util/xmppstream.lua:182: in function </usr/lib/prosody/util/xmppstream.lua:162>
	[C]: in function 'parse'
	/usr/lib/prosody/util/xmppstream.lua:282: in function 'feed'
	/usr/lib/prosody/modules/mod_bosh.lua:131: in function '?'
	/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
	(tail call): ?
	(tail call): ?
	...
	/usr/lib/prosody/net/http/server.lua:112: in function 'process_next'
	/usr/lib/prosody/net/http/server.lua:128: in function 'success_cb'
	/usr/lib/prosody/net/http/parser.lua:177: in function 'feed'
	/usr/lib/prosody/net/http/server.lua:159: in function </usr/lib/prosody/net/http/server.lua:158>
	(tail call): ?
	/usr/lib/prosody/net/server_select.lua:911: in function </usr/lib/prosody/net/server_select.lua:895>
	[C]: in function 'xpcall'
	/usr/bin/prosody:80: in function 'loop'
	/usr/bin/prosody:90: in main chunk
	[C]: ?
Sep 17 11:40:23 jitsi.example.com:bosh	error	Traceback[bosh]: /usr/lib/prosody/util/cache.lua:66: table index is nil
stack traceback:
	/usr/lib/prosody/util/cache.lua:66: in function 'set'
	/usr/lib/prosody/modules/muc/mod_muc.lua:176: in function 'track_room'
	/usr/lib/prosody/modules/muc/mod_muc.lua:204: in function </usr/lib/prosody/modules/muc/mod_muc.lua:191>
	(tail call): ?
	/usr/lib/prosody/modules/muc/mod_muc.lua:427: in function '?'
	/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
	(tail call): ?
	/usr/lib/prosody/core/stanza_router.lua:190: in function 'core_post_stanza'
	/usr/lib/prosody/core/stanza_router.lua:137: in function 'dispatch_stanza'
	/usr/lib/prosody/modules/mod_bosh.lua:308: in function 'func'
	/usr/lib/prosody/util/async.lua:126: in function </usr/lib/prosody/util/async.lua:124>
stack traceback:
	(tail call): ?
	/usr/lib/prosody/util/async.lua:210: in function 'run'
	/usr/lib/prosody/modules/mod_bosh.lua:450: in function 'cb_handlestanza'
	/usr/lib/prosody/util/xmppstream.lua:182: in function </usr/lib/prosody/util/xmppstream.lua:162>
	[C]: in function 'parse'
	/usr/lib/prosody/util/xmppstream.lua:282: in function 'feed'
	/usr/lib/prosody/modules/mod_bosh.lua:131: in function '?'
	/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
	(tail call): ?
	(tail call): ?
	...
	/usr/lib/prosody/net/http/server.lua:112: in function 'process_next'
	/usr/lib/prosody/net/http/server.lua:128: in function 'success_cb'
	/usr/lib/prosody/net/http/parser.lua:177: in function 'feed'
	/usr/lib/prosody/net/http/server.lua:159: in function </usr/lib/prosody/net/http/server.lua:158>
	(tail call): ?
	/usr/lib/prosody/net/server_select.lua:911: in function </usr/lib/prosody/net/server_select.lua:895>
	[C]: in function 'xpcall'
	/usr/bin/prosody:80: in function 'loop'
	/usr/bin/prosody:90: in main chunk
	[C]: ?

I have to add that without prosody-trunk, so only with prosody 0.10.2. And thus with mod_muc_allowners.lua, but without the patch, it was working fine (except for kicking people out).

Please let me know what I could provide to help debug this issue. Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
sapkracommented, Nov 19, 2018

Are there any news on that? I’m also having this problem.

0reactions
stale[bot]commented, Feb 17, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Token Setup Issues - Install & Config - Jitsi Community Forum
I'm following the guide provided by Jitsi, which I'm finding is not correct. it says… “You can download latest prosody-trunk packages from here....
Read more >
lua: table index is nil - Stack Overflow
I found this code online and was trying to use it but it keeps spitting out a table index is nil error. I've...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found