team-container icon indicating copy to clipboard operation
team-container copied to clipboard

How to configure jitsi components?

Open laundmo opened this issue 5 years ago • 9 comments

i cannot find the config files.

normally the config files for jitsi are in /etc/jitsi but those dont exist on my host.

are the config files stored anywhere else? is there a volume (or PersitentStorageClaim as my research has found its called in kubernetes) mounted anywhere to store the config files?

laundmo avatar Apr 17 '20 10:04 laundmo

similar problem here, can't find the nginx index.html, in an normal installation it should be /usr/share/nginx. Assuming it is some kind of container. Don't get this kubes etc.

fatango avatar Apr 24 '20 18:04 fatango

team-container is what it's name says - a container based system. It uses Kubernetes, Rancher, helm... The basic configuration is done with the values-*.yaml files.

You can interact with them - for example:

# To list the containers (pods):
kubectl get pods
# To show logs of a pod
kubectl logs <PodName>
# Attach to a pod (aka chroot/login)
kubectl attach <PodName> -i 
# Exec commands
kubectl exec <PodName> -- ls /

Examples from my system:

List pods

❯ kubectl get pods
NAME                                              READY   STATUS    RESTARTS   AGE
landingpage-68cb944dd8-zn6gd                      0/1     Evicted   0          9d
traefik-7c6f69d546-4xg4c                          0/1     Evicted   0          9d
traefik-7c6f69d546-4sk9t                          0/1     Evicted   0          9d
landingpage-68cb944dd8-x925s                      0/1     Evicted   0          9d
traefik-7c6f69d546-cc44l                          0/1     Evicted   0          9d
landingpage-68cb944dd8-kh78v                      0/1     Evicted   0          21h
svclb-traefik-rdc5m                               2/2     Running   2          21h
traefik-7c6f69d546-nj2wq                          1/1     Running   1          21h
landingpage-68cb944dd8-xx4g6                      1/1     Running   1          21h
nextcloud-team-nextcloud-redis-6d7d46ddf5-624lj   1/1     Running   0          21h
nextcloud-team-nextcloud-db-867476f447-5vfsf      1/1     Running   0          21h
nextcloud-team-nextcloud-nc-58694d95f7-g296h      2/2     Running   0          21h
chat-team-chat-mongo-mqlj9                        2/2     Running   0          21h
chat-team-chat-rc-5c4d77889f-rgjfq                1/1     Running   0          21h
video-team-video-jicofo-7977ccf7cd-xwvwh          1/1     Running   0          20h
video-team-video-prosody-856995bc6b-snmpl         1/1     Running   0          20h
video-team-video-jvb-59f798d655-vxp24             1/1     Running   0          20h
video-team-video-web-6db87bf877-6jqws             1/1     Running   0          20h

Show jitsi config folder and config

❯ kubectl exec video-team-video-jicofo-7977ccf7cd-xwvwh -- ls /etc/jitsi
jicofo
❯ kubectl exec video-team-video-jicofo-7977ccf7cd-xwvwh -- cat /etc/jitsi/jicofo/config
# Jitsi Conference Focus settings
# sets the host name of the XMPP server
JICOFO_HOST=localhost

# sets the XMPP domain (default: none)
JICOFO_HOSTNAME=ok

# sets the secret used to authenticate as an XMPP component
JICOFO_SECRET=XXXXXXX

# sets the port to use for the XMPP component connection
JICOFO_PORT=5347

# sets the XMPP domain name to use for XMPP user logins
JICOFO_AUTH_DOMAIN=auth.ok

# sets the username to use for XMPP user logins
JICOFO_AUTH_USER=focus

# sets the password to use for XMPP user logins
JICOFO_AUTH_PASSWORD=XXXXXXX

# extra options to pass to the jicofo daemon
JICOFO_OPTS=""

# adds java system props that are passed to jicofo (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties"

ghost avatar Apr 24 '20 19:04 ghost

Hi there, don't worry. Next tuesday I will write some docs on how to get configuration into the containers – the stable and container way!

jamct avatar Apr 24 '20 19:04 jamct

Wow, quick answers, thanks a lot! I understand the general concept of containers and dockers but to edit "preconfigured machines" is another story for me. Waiting for your article.

fatango avatar Apr 24 '20 21:04 fatango

I edited the default nginx landingpage, my cumbersome way is to copy a new index.html into the container kubectl cp index.html landingpage-5f8f86854-dws8c:/usr/share/nginx/html/index.html After a server-restart pod resets and the old index.html is restored. How to store changed files in a pod/container? How to edit files in a container; mount a directory into the container?

fatango avatar Apr 26 '20 10:04 fatango

I look forward to it too, as a Kubernetes- and Docker-Noob I need all the guidance available. Especially the performance enhancements by changing some values in the config.js could make Jitsi Meet significantly more useful for meetings with many users.

chjohn22 avatar Apr 30 '20 09:04 chjohn22

any news about documentation?

rowie avatar May 22 '20 10:05 rowie

Some good news about the documentation? I'm searching for a way to:

  • change settings for OpenSlides
  • change the certificates for the webserver to own certs
  • set mailserver to send invitations look for ways to handle the stuff, when needed

dagee avatar Sep 17 '20 15:09 dagee

Hallo, I got a problem with screen sharing of word documents using the current version of jitsi meet: After a short time the video drops so that the clients only see the initials of the user instead of the shared document. The error is known by the developers and the Workaround for this issue is to set inside of the existing videobridge { ... } structure in jvb.conf

    cc {
        trust-bwe=false
    }

So how we can add this modification to /etc/jitsi/videobridge/jvb.conf ?

Thank you

Tomtiger66 avatar Jun 23 '21 10:06 Tomtiger66