export JVB_HOME=/opt/jitsi-videobridge/ && cd $JVB_HOME && mvn install end without error.
./jvb.sh --host=localhost --domain=jitsi.mydomain.dev --port=5347 --secret=YOURSECRET1 &
and
[root@idl-dev-jitsi-01 ~]# export SC_HOME_DIR_LOCATION=/etc/jitsi/videobridge/
[root@idl-dev-jitsi-01 ~]# export SC_LOG_DIR_LOCATION=/var/log/jitsi
[root@idl-dev-jitsi-01 ~]# /usr/share/jitsi-videobridge/jvb.sh --“apis=,”
End with Exception:
Exception in thread “main” java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
at org.jitsi.videobridge.MainKt.main(Main.kt)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
… 1 more
Help please!
PS: Oracle Linux - is corporative requirements ( In plan use JIBRI on other server).
PPS: Installation from the docker image goes off with a bang! Is it possible to install from docker, but with JIBRI on another server? This would fix the problem.
I think that there are still a lot of similar situations on my way, so I will ask again: Is it possible to install from docker, but with JIBRI on another server? I think this feature will greatly simplify my efforts.
I’m found in /opt/jitsi-videobridge/debian several files:
[root@idl-dev-jitsi-01 debian]# cat install
jvb/target/dependency/* usr/share/jitsi-videobridge/lib
jvb/lib/videobridge.rc usr/share/jitsi-videobridge/lib
jvb/lib/logging.properties etc/jitsi/videobridge
jitsi-videobridge.jar usr/share/jitsi-videobridge
jvb/resources/jvb.sh usr/share/jitsi-videobridge
resources/graceful_shutdown.sh usr/share/jitsi-videobridge
resources/collect-dump-logs.sh usr/share/jitsi-videobridge
[Service]
SuccessExitStatus=143
//# allow bind to 80 and 443
AmbientCapabilities=CAP_NET_BIND_SERVICE
EnvironmentFile=/etc/jitsi/videobridge/config
Environment=LOGFILE=/var/log/jitsi/jvb.log
User=jvb
RuntimeDirectory=jitsi-videobridge
RuntimeDirectoryMode=0750
PIDFile=/var/run/jitsi-videobridge/jitsi-videobridge.pid
//# more threads for this process
TasksMax=65000
//# allow more open files for this process
LimitNPROC=65000
LimitNOFILE=65000
ExecStart=/bin/bash -c “exec /usr/share/jitsi-videobridge/jvb.sh ${JVB_OPTS} < /dev/null >> ${LOGFILE} 2>&1”
ExecStartPost=/bin/bash -c “echo $MAINPID > /var/run/jitsi-videobridge/jitsi-videobridge.pid”
Restart=on-failure
RestartSec=2
[Install]
WantedBy=multi-user.target
So, I copied files as provided in “install” file. Now I’m additionaly copied:
/opt/jitsi-videobridge/jvb/target/jitsi-videobridge-2.1-SNAPSHOT/lib/* /usr/share/jitsi-videobridge/lib/
And service started normaly. but I do not see JVB_PORT=5347 in listen.