Jibri setup not working

Hey everyone,

I’ve installed the latest Jibri package (8.0-61-g99288dc-1) and can’t get it to work at all. Tried several tutorials (that all really aren’t too complicated) but can’t Jibri even get to create me a log file!

  • /var/log/jitsi/jibri is empty
  • /etc/jitsi/jibri is empty? (jibri { })

Checking jibris status via systemctl promts me

● jibri.service - Jibri Process
Loaded: loaded (/etc/systemd/system/jibri.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-01-30 08:52:34 UTC; 13min ago
Process: 12606 ExecStop=/opt/jitsi/jibri/graceful_shutdown.sh (code=exited, status=7)
Process: 12559 ExecStart=/opt/jitsi/jibri/launch.sh (code=exited, status=143)
Main PID: 12559 (code=exited, status=143)

Jan 30 08:52:34 jibri graceful_shutdown.sh[12606]:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Jan 30 08:52:34 jibri graceful_shutdown.sh[12606]:                                  Dload  Upload   Total   Spent    Left  Speed
Jan 30 08:52:34 jibri graceful_shutdown.sh[12606]: [149B blob data]
Jan 30 08:52:34 jibri systemd[1]: jibri.service: Control process exited, code=exited status=7
Jan 30 08:52:34 jibri systemd[1]: jibri.service: Main process exited, code=exited, status=143/n/a
Jan 30 08:52:34 jibri systemd[1]: jibri.service: Failed with result 'exit-code'.
Jan 30 08:52:34 jibri systemd[1]: Stopped Jibri Process.
Jan 30 08:52:34 jibri systemd[1]: jibri.service: Start request repeated too quickly.
Jan 30 08:52:34 jibri systemd[1]: jibri.service: Failed with result 'exit-code'.
Jan 30 08:52:34 jibri systemd[1]: Failed to start Jibri Process.

Edit: Found the issue! Java 8 needs to be installed! Had Java 11 running. But that doesn’t explain the empty settings file? Neither does the sample file from the documentation (jibri/reference.conf at master · jitsi/jibri · GitHub) contain any host to connect to? Seams wrong somehow …

Now used this configuration file from here: Configuration of Latest Release of Jibri For Recording And Live Streaming | Easy Jitsi Documentation

Still no logfile created. But service is running now:

● jibri.service - Jibri Process
   Loaded: loaded (/etc/systemd/system/jibri.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-01-30 14:44:52 CET; 20s ago
  Process: 2676 ExecStop=/opt/jitsi/jibri/graceful_shutdown.sh (code=exited, status=7)
 Main PID: 2682 (java)
    Tasks: 36 (limit: 4659)
   CGroup: /system.slice/jibri.service
           └─2682 /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/bin/java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -Dconfig.file=/etc/

Jan 30 14:44:53 jibri launch.sh[2682]:         at java.util.logging.Logger.getHandlers(Logger.java:1777)
Jan 30 14:44:53 jibri launch.sh[2682]:         at java.util.logging.Logger.log(Logger.java:735)
Jan 30 14:44:53 jibri launch.sh[2682]:         at java.util.logging.Logger.doLog(Logger.java:765)
Jan 30 14:44:53 jibri launch.sh[2682]:         at java.util.logging.Logger.log(Logger.java:788)
Jan 30 14:44:53 jibri launch.sh[2682]:         at java.util.logging.Logger.info(Logger.java:1490)
Jan 30 14:44:53 jibri launch.sh[2682]:         at org.jitsi.jibri.MainKt.handleCommandLineArgs(Main.kt:177)
Jan 30 14:44:53 jibri launch.sh[2682]:         at org.jitsi.jibri.MainKt.main(Main.kt:52)
Jan 30 14:44:54 jibri launch.sh[2682]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
Jan 30 14:44:54 jibri launch.sh[2682]: SLF4J: Defaulting to no-operation (NOP) logger implementation
Jan 30 14:44:54 jibri launch.sh[2682]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

And the answer is / was:

  • Java8 needs to be installed
  • jibri needs to own (or al least be able to write to) /var/log/jitsi/jibri