Skip to content

Instantly share code, notes, and snippets.

@danmaby
danmaby / jitsi-meet-multi-server.md
Last active Dec 13, 2020
This tutorial is for jitsi-meet installation using 2 server or more. The main server will contain jitsi-meet react source code, prosody, nginx, and jicofo. The videobridge will be installed seperatelly on the second server and so on.
View jitsi-meet-multi-server.md

How to Install Jitsi Meet with Multi Server Configuration

This tutorial is for jitsi-meet installation using 2 server or more. The main server will contain jitsi-meet react source code, prosody, nginx, and jicofo. The videobridge will be installed seperatelly on the second server and so on.

Prerequisite

  1. Minimum 2 servers with 1 IP Public each
  2. Ubuntu 18.04

Sudo Privileges

Before starting make sure there are no permission issues on the installation.

View prosody.log
Dec 09 12:46:15 mod_posix info Received SIGHUP
Dec 09 12:46:15 general info Reloading configuration file
Dec 09 12:46:15 videobridge2.meet-vb2.example.com:tls error Error creating context for c2s: No key present in SSL/TLS configuration for videobridge2.meet-vb2.example.com
Dec 09 12:46:15 videobridge2.meet-vb2.example.com:tls error Error creating contexts for s2sin: No key present in SSL/TLS configuration for videobridge2.meet-vb2.example.com
Dec 09 12:46:15 general info Re-opening log files
Dec 09 12:46:21 jcp555be9b1be80 info component disconnected: focus.meet-master.example.com (false)
Dec 09 12:46:21 c2s555be9c671e0 info Client disconnected: closed
Dec 09 12:46:23 conference.meet-master.example.com:muc_domain_mapper warn Session filters applied
Dec 09 12:46:23 c2s555be9b78c80 info Client connected
Dec 09 12:46:24 c2s555be9b78c80 info Stream encrypted (TLSv1.2 with ECDHE-RSA-AES128-GCM-SHA256)
View restart-jitsi.bash
sudo systemctl restart prosody
sudo systemctl restart jicofo
sudo systemctl restart jitsi-videobridge2
sudo systemctl restart nginx
@danmaby
danmaby / prosody.log
Created Jun 7, 2020
2020-06-07 16:50 - prosody.log (redacted)
View prosody.log
Jun 07 15:47:35 startup info Hello and welcome to Prosody version 0.11.5
Jun 07 15:47:35 startup info Prosody is using the select backend for connection handling
Jun 07 15:47:35 portmanager info Activated service 's2s' on [::]:5269, [*]:5269
Jun 07 15:47:35 general info Starting speakerstats for conference.meet.example.com
Jun 07 15:47:35 speakerstats.meet.example.com:speakerstats_component info No muc component found, will listen for it: conference.meet.example.com
Jun 07 15:47:35 speakerstats.meet.example.com:speakerstats_component info Hook to muc events on conference.meet.example.com
Jun 07 15:47:36 conference.meet.example.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host internal.auth.meet.example.com!
Jun 07 15:47:36 conference.meet.example.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host conference.meet.example.com!
Jun 07 15:47:36 conference.meet.example.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host speakerstats.meet.example.com!
Jun 07 15:47:36 con
@danmaby
danmaby / jicofo.log
Created Jun 7, 2020
2020-06-07 16:50 - jicofo.log (redacted)
View jicofo.log
Jicofo 2020-06-07 15:47:40.202 INFO: [10] org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2020-06-07 15:47:40.222 INFO: [10] impl.configuration.ConfigurationActivator.log() Using properties file configuration store.
Jicofo 2020-06-07 15:47:40.228 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2020-06-07 15:47:40.229 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.name=OpenJDK Runtime Environment
Jicofo 2020-06-07 15:47:40.229 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.boot.library.path=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
Jicofo 2020-06-07 15:47:40.230 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.version=25.252-b09
Jicofo 2020-06-07 15:47:40.230 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.vendor=Private
@danmaby
danmaby / jvb.log
Created Jun 7, 2020
2020-06-07 16:50 - jvb.log (redacted)
View jvb.log
2020-06-07 15:47:45.277 INFO: [1] NewConfig$1.invoke#88: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
2020-06-07 15:47:45.283 INFO: [1] LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy config file at path /etc/jitsi, videobridge, sip-communicator.properties
2020-06-07 15:47:45.287 INFO: [1] LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy config file at path /etc/jitsi, videobridge, sip-communicator.properties
2020-06-07 15:47:45.289 INFO: [1] JitsiConfig$Companion.reload#40: Reloading.
2020-06-07 15:47:45.304 INFO: [1] NewConfig$1.invoke#88: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ ja
@danmaby
danmaby / prosody.log
Created Jun 7, 2020
2020-06-07 14:30 - prosody.log (redacted)
View prosody.log
Jun 07 13:27:59 startup info Hello and welcome to Prosody version 0.11.5
Jun 07 13:27:59 startup info Prosody is using the select backend for connection handling
Jun 07 13:27:59 portmanager info Activated service 's2s' on [::]:5269, [*]:5269
Jun 07 13:27:59 portmanager info Activated service 'c2s' on [::]:5222, [*]:5222
Jun 07 13:27:59 portmanager info Activated service 'legacy_ssl' on no ports
Jun 07 13:28:03 c2s55e03004f190 info Client connected
Jun 07 13:28:03 c2s55e03004f190 info Client disconnected: connection closed
Jun 07 13:28:08 c2s55e030058eb0 info Client connected
Jun 07 13:28:08 c2s55e030058eb0 info Client disconnected: connection closed
Jun 07 13:28:08 c2s55e0300617f0 info Client connected
@danmaby
danmaby / jvb.log
Created Jun 7, 2020
2020-06-07 14:30 - jvb.log (redacted)
View jvb.log
2020-06-07 13:28:07.703 INFO: [1] NewConfig$1.invoke#88: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
2020-06-07 13:28:07.709 INFO: [1] LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy config file at path /etc/jitsi, videobridge, sip-communicator.properties
2020-06-07 13:28:07.714 INFO: [1] LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy config file at path /etc/jitsi, videobridge, sip-communicator.properties
2020-06-07 13:28:07.716 INFO: [1] JitsiConfig$Companion.reload#40: Reloading.
2020-06-07 13:28:07.736 INFO: [1] NewConfig$1.invoke#88: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ ja
@danmaby
danmaby / jicofo.log
Created Jun 7, 2020
2020-06-07 14:30 - jicofo.log (redacted)
View jicofo.log
Jicofo 2020-06-07 13:28:03.297 INFO: [10] org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2020-06-07 13:28:03.319 INFO: [10] impl.configuration.ConfigurationActivator.log() Using properties file configuration store.
Jicofo 2020-06-07 13:28:03.325 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2020-06-07 13:28:03.325 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.name=OpenJDK Runtime Environment
Jicofo 2020-06-07 13:28:03.325 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.boot.library.path=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
Jicofo 2020-06-07 13:28:03.326 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.version=25.252-b09
Jicofo 2020-06-07 13:28:03.326 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.vendor=Private
@danmaby
danmaby / jvb.log
Created Jun 7, 2020
2020-06-07 08:40 - jvb.log (redacted)
View jvb.log
This file has been truncated, but you can view the full file.
2020-06-06 09:16:59.322 INFO: [1] NewConfig$1.invoke#88: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
2020-06-06 09:16:59.333 INFO: [1] LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy config file at path /etc/jitsi, videobridge, sip-communicator.properties
2020-06-06 09:16:59.339 INFO: [1] LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy config file at path /etc/jitsi, videobridge, sip-communicator.properties
2020-06-06 09:16:59.342 INFO: [1] JitsiConfig$Companion.reload#40: Reloading.