Jibri dokcer record question

org.jitsi.jibri.service.impl.FileRecordingJibriService.finalize() Failed to run finalize script: java.io.IOException: Cannot run program “”: error=2, No such file or directory with stack:
java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

in my log.0.txt,have the question.

why i can not record video while study it always said record fail record fail

你执行了这条吗,“docker-compose -f docker-compose.yml -f jibri.yml up -d”。并且在.env文件开启这个配置“ENABLE_RECORDING=1”

Add finalize.sh script in ${CONFIG}/jibri/finalize.sh. check the value of CONFIG in .env file.

您好,请问finalize.sh文件的内容是什么

在我下午测试的时候,没有finalize.sh这个文件也不影响会议的录制。只不过由于我的服务器配置太低,每次录制几秒后,cpu到达100%,服务器崩溃,视频会议断开。如果录制时间短的话,也可以录制。

No need of content. It can be an empty file. Basically finalize.sh script is use to rename, move recording to different place.

You need min. 4 GB Memory and 4 vCPU to run jibri. anything less than that would result in crash.

是的,我的服务器配置太低导致的。还有请教您一个问题。如果jibri和jitsi-meet部署在两台服务器上,它们是通过哪个配置文件建立连接的,麻烦您回复我一下。
非常感谢!

I’m using docker-swarm for deploying it and all the network related thing managed by swarm itself. I don’t have any idea if you are deploying it without docker.

我也是用的docker进行部署的,但是我在配置文件里,除了public_url之外,我看不到其他的关于我的服务器的配置信息。如果部署在两台服务器上,应该配置哪个文件,让它们连起来

This is how I’m using jibri.

version: '3.8'

services:
    jibri:
        image: jitsi/jibri:latest
        restart: "on-failure"
        volumes:
            - ./config/jibri:/config:Z
            - /dev/shm:/dev/shm
        cap_add:
            - SYS_ADMIN
            - NET_BIND_SERVICE
        devices:
            - /dev/snd:/dev/snd
        extra_hosts:
            - "meet.example.com:161.X.X.X"
        environment:
            XMPP_SERVER: "xmpp.meet.example.com"
            XMPP_DOMAIN: "meet.example.com"
            XMPP_AUTH_DOMAIN: "auth.meet.example.com"
            XMPP_BOSH_URL_BASE: "http://xmpp.meet.example.com:5280"
            XMPP_GUEST_DOMAIN: "guest.meet.example.com"
            XMPP_MUC_DOMAIN: "muc.meet.example.com"
            XMPP_INTERNAL_MUC_DOMAIN: "internal-muc.meet.example.com"
            XMPP_RECORDER_DOMAIN: "recorder.meet.example.com"
            TZ: "Asia/Kolkata"
            JIBRI_BREWERY_MUC: "jibribrewery"
            JIBRI_PENDING_TIMEOUT: "90"
            JIBRI_XMPP_USER: "jibri"
            JIBRI_XMPP_PASSWORD: "ENTER THE PASSWORD"
            JIBRI_RECORDER_USER: "recorder"
            JIBRI_RECORDER_PASSWORD: "ENTER THE PASSWORD"
            DISPLAY: ":0"
            JIBRI_RECORDING_DIR: "/config/recording"
            JIBRI_FINALIZE_RECORDING_SCRIPT_PATH: "/config/finalize.sh"
            JIBRI_STRIP_DOMAIN_JID: "muc"
            JIBRI_LOGS_DIR: "/config/logs"
        networks:
            jitsi:
networks:
    jitsi:
      external: true

I have created an external network jitsi.

好的,谢谢