jitsi-videobridge icon indicating copy to clipboard operation
jitsi-videobridge copied to clipboard

jitsi-videobridge : PreDepends: openjdk-8-jre-headless but it is not installable

Open ischtar opened this issue 5 years ago • 4 comments

Hi I've debian buster and wanted to install jitsi-meet. My installed OpenJDK Java runtime is openjdk-11-jre-headless. When I try to install jitsi-videobridge (or jicofo etc), I got: PreDepends: openjdk-8-jre-headless but it is not installable. Backporting debian is not my favorite solution. Does anyone have another solution for me? Thanks!

ischtar avatar Apr 08 '19 08:04 ischtar

Currently running with java8 is a requirement. Running with a newer java version is not supported at the moment. We will update it at some point, but we haven't started work on that. So any help is welcome.

Please use the community forum for questions and queries before opening new issues.

damencho avatar Apr 08 '19 08:04 damencho

Oh ok, sorry for that. And thank you for your answer!

ischtar avatar Apr 08 '19 08:04 ischtar

apt install jitsi-meet on Debian 10 works file and installs Java 11. I reckon this can be closed.

root@jitsi:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
root@jitsi:~# dpkg -l | grep jitsi
ii  jitsi-meet                      1.0.4101-1                           all          WebRTC JavaScript video conferences
ii  jitsi-meet-prosody              1.0.3729-1                           all          Prosody configuration for Jitsi Meet
ii  jitsi-meet-web                  1.0.3729-1                           all          WebRTC JavaScript video conferences
ii  jitsi-meet-web-config           1.0.3729-1                           all          Configuration for web serving of Jitsi Meet
ii  jitsi-videobridge               1126-1                               amd64        WebRTC compatible Selective Forwarding Unit (SFU)
root@jitsi:~# dpkg -l | grep jre
ii  openjdk-11-jre-headless:amd64   11.0.6+10-1~deb10u1                  amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
root@jitsi:~# systemctl status jicofo.service
● jicofo.service - LSB: Jitsi conference Focus
   Loaded: loaded (/etc/init.d/jicofo; generated)
   Active: active (running) since Mon 2020-03-16 20:16:19 UTC; 13h ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 106 (limit: 2329)
   Memory: 179.1M
   CGroup: /system.slice/jicofo.service
           └─3756 java -Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djava.library.path=/usr/share/jicofo/lib/native/linux-64 -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=/va

Mar 16 20:16:19 jitsi systemd[1]: Starting LSB: Jitsi conference Focus...
Mar 16 20:16:19 jitsi jicofo[3751]: Starting jicofo: jicofo started.
Mar 16 20:16:19 jitsi systemd[1]: Started LSB: Jitsi conference Focus.
root@jitsi:~# systemctl status jitsi-videobridge.service
● jitsi-videobridge.service - Jitsi Videobridge
   Loaded: loaded (/lib/systemd/system/jitsi-videobridge.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-03-16 20:21:32 UTC; 13h ago
 Main PID: 9152 (java)
    Tasks: 89 (limit: 65000)
   Memory: 213.2M
   CGroup: /system.slice/jitsi-videobridge.service
           └─9152 java -Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djava.library.path=/usr/share/jitsi-videobridge/lib/native/linux-64 -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_

Mar 16 20:21:32 jitsi systemd[1]: Starting Jitsi Videobridge...
Mar 16 20:21:32 jitsi systemd[1]: Started Jitsi Videobridge.

angristan avatar Mar 17 '20 10:03 angristan

On Debian Testing (currently 11 Bullseye), I had massive problems with jvb (no java machine error). Followed this step: apt remove --purge openjdk-17-jre-headless

It reverted automatically to the following version: openjdk-11-jre-headless/testing,now 11.0.11+4-1 amd64 [installed,automatic]

java --version gives the result below. openjdk 11.0.11-ea 2021-04-20 OpenJDK Runtime Environment (build 11.0.11-ea+4-post-Debian-1) OpenJDK 64-Bit Server VM (build 11.0.11-ea+4-post-Debian-1, mixed mode, sharing)

The end result is good. root@fugaku:/var/log/jitsi# systemctl status jitsi-videobridge2.service ● jitsi-videobridge2.service - Jitsi Videobridge Loaded: loaded (/lib/systemd/system/jitsi-videobridge2.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2021-04-04 13:57:12 UTC; 5min ago Process: 12161 ExecStartPost=/bin/bash -c echo $MAINPID > /var/run/jitsi-videobridge/jitsi-videobridge.pid (code=exited, status=0/SUCCESS)

beatquantum avatar Apr 04 '21 14:04 beatquantum