Have you already installed Jitisi-Meet using the steps outlined in the Quick Start / Handbook and now you want to enable other features like “speakerstats” or “conferenceduration”? Maybe you are not getting muc-occupant-joined
and muc-occupant-left
events in your modules?
Some of these features in Jitsi Meet require Prosody 0.11.2 +
Note: If you update prosody before installing jitsi-meet, then things will just work. Follow only steps 1 - 4 below, then continue with your to install Jitsi
What version of Prosody do you have? Run apt list -a prosody
To update Prosody after Jitsi Meet has been installed, follow these steps:
-
Add the repo to your sources.list
echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list
-
Get the packages key
wget https://prosody.im/files/prosody-debian-packages.key -O- | sudo apt-key add -
-
Update repositories
sudo apt-get update
-
Install the latest
sudo apt-get install prosody
-
If there was a conflict with your “cfg” while updating, you would have seen it during the install. You may have a backup filed named
prosody.cfg.lua.dpkg-old
. If you had something special in there, you could move it back in place with:
sudo mv /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.new && sudo mv /etc/prosody/prosody.cfg.lua.dpkg-old /etc/prosody/prosody.cfg.lua
-
Make sure the last line in your
prosody.cfg.lua
isInclude "conf.d/*.cfg.lua"
sudo vi /etc/prosody/prosody.cfg.lua
(I also commented outVirtualHost "localhost"
to--VirtualHost "localhost"
) -
Edit your prosody config and change storage from “none” to “memory”:
vi /etc/prosody/conf.avail/meet.domain.com.cfg.lua
Replace:storage = "none"
withstorage = "memory"
Failure to do this will cause errors likeOperationFailedException: Failed to join the room
andException while trying to start the conference
-
Restart
service prosody restart && service jicofo restart
–
Other messages that this post helps with:
- conference duration will not work with Prosody version 0.10 or less.
- speaker stats will not work with Prosody version 0.10 or less.