Ubuntu 20.04 + Jitsi is failing

Hello from the maintenance guy!
I do a sudo apt update every other week on all out servers and when doing so on the Jitsi server, some while ago, it was never starting again.

The person doing the set up and install said “you’ll need to use an older version”. But for me… it’s not a very attractive solution using the older version! It’s not compatible with sudo update!

Instead of reboot I’ve been instructed to restart the services that we use.

# restart service
sudo systemctl restart prosody.service
sudo systemctl restart jicofo.service
sudo systemctl restart jitsi-videobridge2.service

How do I move on from here!?

Probably you have latest executables with old config files and they fail because of the compatibility issues.

You may fix old config files manually or reinstall Jitsi on a fresh server.

krajak@meet:~$ sudo systemctl restart prosody.service
[sudo] password for krajak: 
krajak@meet:~$ sudo systemctl restart jicofo.service
krajak@meet:~$ sudo systemctl restart jitsi-videobridge2.service
Failed to restart jitsi-videobridge2.service: Unit jitsi-videobridge2.service is masked.

Why is the service masked!?

Maybe you have a very old version of JVB

dpkg -l "jitsi*"
root@meet:~# dpkg -l "jitsi*"
| 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
rc  jitsi-meet            2.0.8138-1         all          WebRTC JavaScript video conferences
rc  jitsi-meet-prosody    1.0.6854-1         all          Prosody configuration for Jitsi Meet
un  jitsi-meet-tokens     <none>             <none>       (no description available)
rc  jitsi-meet-turnserver 1.0.6854-1         all          Configures coturn to be used with Jitsi Meet
un  jitsi-meet-web        <none>             <none>       (no description available)
rc  jitsi-meet-web-config 1.0.6854-1         all          Configuration for web serving of Jitsi Meet
ii  jitsi-videobridge     1126-1             amd64        WebRTC compatible Selective Forwarding Unit (SFU)
rc  jitsi-videobridge2    2.2-63-g252d14bc-1 all          WebRTC compatible Selective Forwarding Unit (SFU)

Where is the old config located and where is the new config suppose to be!?

You have the old jitsi-videobridge and the new jitsi-videobridge2 on the same host and the old one is active, the new one is masked.


In this thread it’s written that it may cause additional errors to use uninstall as the solution.
Instead, I masked the old service and unmasked the new service.

Self-Hosting Guide - Debian/Ubuntu server

I follow the instructions on this page, trying to fix the settings… where the service is actually executed!