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.

jitsi-meet-prosody: Unable to load module 'roster_command': /usr/lib/prosody/modules/mod_roster_command.lua: No such file or directory

See original GitHub issue

Probably introduced by merge/pull request https://github.com/jitsi/jitsi-meet/pull/8381.

Upgrading the package jitsi-meet-prosody to version 1.0.4638-1 fails:

$ sudo apt full-upgrade
[…]
Get:7 https://download.jitsi.org unstable/ jitsi-meet-prosody 1.0.4638-1 [43.2 kB]
[…]
Setting up jitsi-meet-prosody (1.0.4638-1) ...
Component "focus.jitsi.molgen.mpg.de" "client_proxy"
modulemanager       error	Unable to load module 'roster_command': /usr/lib/prosody/modules/mod_roster_command.lua: No such file or directory
Failed to load module 'roster_command': /usr/lib/prosody/modules/mod_roster_command.lua: No such file or directory
dpkg: error processing package jitsi-meet-prosody (--configure):
 installed jitsi-meet-prosody package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of jitsi-meet-turnserver:
 jitsi-meet-turnserver depends on jitsi-meet-prosody; however:
  Package jitsi-meet-prosody is not configured yet.
[…]
$ dpkg -l jitsi-meet-prosody
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version      Architecture Description
+++-==================-============-============-====================================
iF  jitsi-meet-prosody 1.0.4638-1   all          Prosody configuration for Jitsi Meet
$ dpkg -S /usr/share/jitsi-meet/prosody-plugins/mod_roster_command.lua
jitsi-meet-prosody: /usr/share/jitsi-meet/prosody-plugins/mod_roster_command.lua

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

5reactions
morlaccommented, May 26, 2021

I found a solution that worked for me: somewhere in the update-process the file /etc/prosody/prosody.cfg.lua changed and at the end of the file the line Include "conf.d/*.cfg.lua"was missing. Once I re-added this line the upgrade finished.

1reaction
sliderxtmcommented, Mar 4, 2022

Same on fresh install on Ubuntu 20.04.3 LTS:

modulemanager       error       Unable to load module 'roster_command': /usr/lib/prosody/modules/mod_roster_command.lua: No such file or directory                                                                                            
Failed to load module 'roster_command': /usr/lib/prosody/modules/mod_roster_command.lua: No such file or directory     
# cat /etc/prosody/prosody.cfg.lua | grep plugin
plugin_paths = { "/usr/local/lib/prosody/modules" }
-- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.

however:

# ls -la /usr/share/jitsi-meet/prosody-plugins/ | grep roster
-rw-r--r--  1 root root  5823 янв 25 19:38 mod_roster_command.lua
-rw-r--r--  1 root root  2486 янв 25 19:38 mod_roster_command.patch
Read more comments on GitHub >

github_iconTop Results From Across the Web

Jicofo failing to startup #1007 - jitsi/docker-jitsi-meet - GitHub
I'm getting the mod_roster_command.lua: No such file or directory when doing an install from apt.
Read more >
After uninstalling the jitsi, when reinstalling . getting this error
modulemanager error Unable to load module 'roster_command': /usr/lib/prosody/modules/mod_roster_command.lua: No such file or directory
Read more >
Installing modules - Prosody IM
Sometimes you will want to install additional modules that are not supplied with Prosody ... Within the module directory you can simply put...
Read more >
Unable to download geoip module via luarocks - Stack Overflow
Unable to download geoip module via luarocks ... Error: No results matching query were found. but when i am able to dowloand this...
Read more >
The supervdsm service reports "failed to load module nvdimm
failed to load module nvdimm: libbd_nvdimm.so.2: cannot open shared object file: No such file or directory ...
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