Jitsi Not joined yet: Cannot read properties of undefined (reading 'isJoined')

Try running another Google Chrome version (other than 92) in your server.

I have install again jibri, with:

# google-chrome --version
Google Chrome 90.0.4430.72 
# chromedriver -v
ChromeDriver 90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429})

#systemctl status jibri 

jibri.service - Jibri Process
     Loaded: loaded (/etc/systemd/system/jibri.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-02-02 09:12:50 UTC; 1min 20s ago
   Main PID: 4063 (java)
      Tasks: 55 (limit: 9443)
     Memory: 296.1M
     CGroup: /system.slice/jibri.service
             ├─4063 /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/bin/java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -Dconfig.file=/etc/jitsi/jibri/jibri.conf -jar /opt/jitsi/jibri/jibri.jar --config /etc/jitsi/jibri/config.json
             └─4116 /usr/local/bin/chromedriver --port=26793 --log-path=/tmp/chromedriver.log

Feb 02 09:12:50 jitsi systemd[1]: Started Jibri Process.
Feb 02 09:12:53 jitsi launch.sh[4063]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
Feb 02 09:12:53 jitsi launch.sh[4063]: SLF4J: Defaulting to no-operation (NOP) logger implementation
Feb 02 09:12:53 jitsi launch.sh[4063]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Feb 02 09:13:00 jitsi launch.sh[4063]: Starting ChromeDriver 90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}) on port 26793
Feb 02 09:13:00 jitsi launch.sh[4063]: Only local connections are allowed.
Feb 02 09:13:00 jitsi launch.sh[4063]: Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
Feb 02 09:13:00 jitsi launch.sh[4063]: ChromeDriver was started successfully.

# log.0.txt
2022-02-02 09:29:01.794 INFO: [58] [session_id=xhejwbevenrifbwl] JibriSelenium.leaveCallAndQuitBrowser#339: Recurring call status checks cancelled
2022-02-02 09:29:01.864 INFO: [58] [session_id=xhejwbevenrifbwl] JibriSelenium.leaveCallAndQuitBrowser#345: Got 10 log entries for type browser
2022-02-02 09:29:02.034 INFO: [58] [session_id=xhejwbevenrifbwl] JibriSelenium.leaveCallAndQuitBrowser#345: Got 569 log entries for type driver
2022-02-02 09:29:02.317 INFO: [58] [session_id=xhejwbevenrifbwl] JibriSelenium.leaveCallAndQuitBrowser#345: Got 0 log entries for type client
2022-02-02 09:29:02.318 INFO: [58] [session_id=xhejwbevenrifbwl] JibriSelenium.leaveCallAndQuitBrowser#354: Leaving web call
2022-02-02 09:29:02.530 INFO: [58] [session_id=xhejwbevenrifbwl] JibriSelenium.leaveCallAndQuitBrowser#361: Quitting chrome driver
2022-02-02 09:29:02.604 INFO: [58] [session_id=xhejwbevenrifbwl] JibriSelenium.leaveCallAndQuitBrowser#363: Chrome driver quit
2022-02-02 09:29:02.605 INFO: [58] JibriStatusManager$$special$$inlined$observable$1.afterChange#72: Busy status has changed: BUSY -> IDLE
2022-02-02 09:29:02.606 FINE: [58] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-02 09:29:02.606 INFO: [58] XmppApi.updatePresence#144: Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
2022-02-02 09:29:27.317 INFO: [43] XmppApi.handleJibriIq#171: Received JibriIq <iq xmlns='jabber:client' to='jibri@auth.jitsi.aznext.it/_r-RVcnc' from='jibribrewery@internal.auth.jitsi.aznext.it/focus' id='amlicmlAYXV0aC5qaXRzaS5hem5leHQuaXQvX3ItUlZjbmMAU1JLV0wtMzEwAPQ0OIs5IFcjWOVpfAMCTEI=' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' action='start' recording_mode='file' room='testrecording@conference.jitsi.aznext.it' session_id='dovaaycdwcptvtae' app_data='{"file_recording_metadata":{"share":true}}'/></iq> from environment [MucClient id=jitsi.aznext.it hostname=jitsi.aznext.it]
2022-02-02 09:29:27.317 INFO: [43] XmppApi.handleStartJibriIq#199: Received start request, starting service
2022-02-02 09:29:27.332 INFO: [43] XmppApi.handleStartService#304: Parsed call url info: CallUrlInfo(baseUrl=https://jitsi.aznext.it, callName=testrecording, urlParams=[])
2022-02-02 09:29:27.332 INFO: [43] JibriManager.startFileRecording#138: Starting a file recording with params: FileRecordingRequestParams(callParams=CallParams(callUrlInfo=CallUrlInfo(baseUrl=https://jitsi.aznext.it, callName=testrecording, urlParams=[]), email='', passcode=null, callStatsUsernameOverride=, displayName=), sessionId=dovaaycdwcptvtae, callLoginParams=XmppCredentials(domain=recorder.jitsi.aznext.it, port=null, username=recorder, password=*****))
2022-02-02 09:29:27.334 FINE: [43] [session_id=dovaaycdwcptvtae] FfmpegCapturer.<init>#88: Detected os as OS: LINUX
2022-02-02 09:29:27.830 INFO: [43] org.openqa.selenium.remote.ProtocolHandshake.createSession: Detected dialect: OSS
2022-02-02 09:29:27.845 INFO: [43] [session_id=dovaaycdwcptvtae] FileRecordingJibriService.<init>#134: Writing recording to /srv/recordings/dovaaycdwcptvtae, finalize script path /path/to/finalize_recording.sh
2022-02-02 09:29:27.846 FINE: [43] JibriStatsDClient.incrementCounter#38: Incrementing statsd counter: start:recording
2022-02-02 09:29:27.846 INFO: [43] JibriStatusManager$$special$$inlined$observable$1.afterChange#72: Busy status has changed: IDLE -> BUSY
2022-02-02 09:29:27.847 FINE: [43] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-02 09:29:27.847 INFO: [43] XmppApi.updatePresence#144: Jibri reports its status is now JibriStatus(busyStatus=BUSY, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
2022-02-02 09:29:27.849 INFO: [59] AbstractPageObject.visit#32: Visiting url https://jitsi.aznext.it
2022-02-02 09:29:27.849 INFO: [43] XmppApi.handleStartJibriIq#207: Sending 'pending' response to start IQ
2022-02-02 09:29:30.459 INFO: [59] AbstractPageObject.visit#38: Waited 2.61s for driver to load page
2022-02-02 09:29:30.539 INFO: [59] AbstractPageObject.visit#32: Visiting url https://jitsi.aznext.it/testrecording#config.iAmRecorder=true&config.externalConnectUrl=null&config.startWithAudioMuted=true&config.startWithVideoMuted=true&interfaceConfig.APP_NAME="Jibri"&config.analytics.disabled=true&config.p2p.enabled=false&config.prejoinPageEnabled=false&config.prejoinConfig.enabled=false&config.requireDisplayName=false
2022-02-02 09:29:32.022 INFO: [59] AbstractPageObject.visit#38: Waited 1.48s for driver to load page
2022-02-02 09:29:32.102 FINE: [59] CallPage$visit$$inlined$measureTimedValue$lambda$1.apply#58: Not joined yet: Cannot read property 'isJoined' of undefined
2022-02-02 09:29:32.616 FINE: [59] CallPage$visit$$inlined$measureTimedValue$lambda$1.apply#58: Not joined yet: Cannot read property 'isJoined' of undefined
2022-02-02 09:29:33.130 FINE: [59] CallPage$visit$$inlined$measureTimedValue$lambda$1.apply#58: Not joined yet: Cannot read property 'isJoined' of undefined
2022-02-02 09:29:34.246 INFO: [59] CallPage.visit#71: Waited 2.22s to join the conference
2022-02-02 09:29:34.250 INFO: [59] [session_id=dovaaycdwcptvtae] EmptyCallStatusCheck.<init>#26: Starting empty call check with a timeout of PT30S
2022-02-02 09:29:34.292 INFO: [59] [session_id=dovaaycdwcptvtae] JibriSelenium.onSeleniumStateChange#215: Transitioning from state Starting up to Running
2022-02-02 09:29:34.293 INFO: [59] [session_id=dovaaycdwcptvtae] FileRecordingJibriService$start$1.invoke#167: Selenium joined the call, starting the capturer
2022-02-02 09:29:34.378 INFO: [59] [session_id=dovaaycdwcptvtae] JibriSubprocess.launch#42: Starting ffmpeg with command ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1920x1080 -thread_queue_size 4096 -i :0.0+0,0 -f alsa -thread_queue_size 4096 -i plug:bsnoop -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset veryfast -profile:v main -level 3.1 -pix_fmt yuv420p -r 30 -crf 25 -g 60 -tune zerolatency -f mp4 /srv/recordings/dovaaycdwcptvtae/testrecording_2022-02-02-09-29-27.mp4 ([ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s, 1920x1080, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, plug:bsnoop, -acodec, aac, -strict, -2, -ar, 44100, -b:a, 128k, -af, aresample=async=1, -c:v, libx264, -preset, veryfast, -profile:v, main, -level, 3.1, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4, /srv/recordings/dovaaycdwcptvtae/testrecording_2022-02-02-09-29-27.mp4])
2022-02-02 09:29:36.480 FINE: [17] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-02 09:29:39.390 FINE: [17] [session_id=dovaaycdwcptvtae] ProcessStatePublisher$startProcessAliveChecks$1.invoke#86: Process ffmpeg hasn't written in 2 seconds, publishing periodic update
2022-02-02 09:29:39.392 INFO: [53] [session_id=dovaaycdwcptvtae] FfmpegCapturer.onFfmpegProcessUpdate#121: Ffmpeg quit abruptly.  Last output line: :0.0+0,0: Input/output error
2022-02-02 09:29:39.392 INFO: [53] [session_id=dovaaycdwcptvtae] FfmpegCapturer.onFfmpegStateMachineStateChange#130: Ffmpeg capturer transitioning from state Starting up to Error: QuitUnexpectedly SESSION :0.0+0,0: Input/output error
2022-02-02 09:29:39.393 INFO: [53] [session_id=dovaaycdwcptvtae] StatefulJibriService.onServiceStateChange#39: File recording service transitioning from state Starting up to Error: QuitUnexpectedly SESSION :0.0+0,0: Input/output error
2022-02-02 09:29:39.394 INFO: [53] XmppApi$createServiceStatusHandler$1.invoke#243: Current service had an error Error: QuitUnexpectedly SESSION :0.0+0,0: Input/output error, sending error iq <iq xmlns='jabber:client' to='jibribrewery@internal.auth.jitsi.aznext.it/focus' id='EG6UR-16' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off' failure_reason='error' should_retry='true'/></iq>
2022-02-02 09:29:39.395 FINE: [53] JibriStatsDClient.incrementCounter#38: Incrementing statsd counter: stop:recording
2022-02-02 09:29:39.395 INFO: [53] JibriManager.stopService#260: Stopping the current service
2022-02-02 09:29:39.396 INFO: [53] [session_id=dovaaycdwcptvtae] FileRecordingJibriService.stop#181: Stopping capturer
2022-02-02 09:29:39.398 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSubprocess.stop#75: Stopping ffmpeg process
2022-02-02 09:29:39.407 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSubprocess.stop#89: ffmpeg exited with value 1
2022-02-02 09:29:39.408 INFO: [53] [session_id=dovaaycdwcptvtae] FileRecordingJibriService.stop#183: Quitting selenium
2022-02-02 09:29:39.409 INFO: [53] [session_id=dovaaycdwcptvtae] FileRecordingJibriService.stop#190: No media was recorded, deleting directory and skipping metadata file & finalize
2022-02-02 09:29:39.409 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#336: Leaving call and quitting browser
2022-02-02 09:29:39.410 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#339: Recurring call status checks cancelled
2022-02-02 09:29:39.508 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#345: Got 12 log entries for type browser
2022-02-02 09:29:39.763 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#345: Got 567 log entries for type driver
2022-02-02 09:29:40.051 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#345: Got 0 log entries for type client
2022-02-02 09:29:40.052 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#354: Leaving web call
2022-02-02 09:29:40.358 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#361: Quitting chrome driver
2022-02-02 09:29:40.436 INFO: [53] [session_id=dovaaycdwcptvtae] JibriSelenium.leaveCallAndQuitBrowser#363: Chrome driver quit
2022-02-02 09:29:40.437 INFO: [53] JibriStatusManager$$special$$inlined$observable$1.afterChange#72: Busy status has changed: BUSY -> IDLE
2022-02-02 09:29:40.437 FINE: [53] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-02 09:29:40.438 INFO: [53] XmppApi.updatePresence#144: Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
2022-02-02 09:30:36.481 FINE: [17] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status

# /var/log/jitsi/jibri/ffmpeg.0.txt
2022-02-02 09:46:44.247 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libavcodec     58. 54.100 / 58. 54.100
2022-02-02 09:46:44.248 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libavformat    58. 29.100 / 58. 29.100
2022-02-02 09:46:44.248 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libavdevice    58.  8.100 / 58.  8.100
2022-02-02 09:46:44.248 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libavfilter     7. 57.100 /  7. 57.100
2022-02-02 09:46:44.248 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libavresample   4.  0.  0 /  4.  0.  0
2022-02-02 09:46:44.249 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libswscale      5.  5.100 /  5.  5.100
2022-02-02 09:46:44.249 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libswresample   3.  5.100 /  3.  5.100
2022-02-02 09:46:44.249 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42:   libpostproc    55.  5.100 / 55.  5.100
2022-02-02 09:46:44.249 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42: [x11grab @ 0x55c232a4b280] Cannot open display :0.0+0,0, error 1.
2022-02-02 09:46:44.249 INFO: [54] LoggingUtils$Companion$OutputLogger$1$1.call#42: :0.0+0,0: Input/output error
# jibri.conf 
...
chrome {
    // The flags which will be passed to chromium when launching
    flags = [
      "--use-fake-ui-for-media-stream",
      "--start-maximized",
      "--kiosk",
      "--enabled",
      "--disable-infobars",
      "--autoplay-policy=no-user-gesture-required",
      "--no-sandbox",
      "--headless",
      "--disable-dev-shm-usage"
    ]
  }
...

and jibri-xorg is not running

jibri-xorg.service - Jibri Xorg Process
     Loaded: loaded (/etc/systemd/system/jibri-xorg.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2022-02-02 10:04:15 UTC; 1min 57s ago
    Process: 6896 ExecStart=/usr/bin/Xorg -nocursor -noreset +extension RANDR +extension RENDER -logfile /var/log/jitsi/jibri/xorg.log -config /etc/jitsi/jibri/xorg-video-dummy.conf :0 (code=exited, status=1/FAILURE)
   Main PID: 6896 (code=exited, status=1/FAILURE)

Feb 02 10:04:15 jitsi systemd[1]: jibri-xorg.service: Scheduled restart job, restart counter is at 5.
Feb 02 10:04:15 jitsi systemd[1]: Stopped Jibri Xorg Process.
Feb 02 10:04:15 jitsi systemd[1]: jibri-xorg.service: Start request repeated too quickly.
Feb 02 10:04:15 jitsi systemd[1]: jibri-xorg.service: Failed with result 'exit-code'.
Feb 02 10:04:15 jitsi systemd[1]: Failed to start Jibri Xorg Process.
Feb 02 10:04:19 jitsi systemd[1]: jibri-xorg.service: Start request repeated too quickly.
Feb 02 10:04:19 jitsi systemd[1]: jibri-xorg.service: Failed with result 'exit-code'.
Feb 02 10:04:19 jitsi systemd[1]: Failed to start Jibri Xorg Process.

if i remove

--headless
# log.0.txt

2022-02-02 10:07:37.778 INFO: [1] XmppApi.start#97: Connecting to xmpp environment on jitsi.aznext.it with config XmppEnvironmentConfig(name=prod environment, xmppServerHosts=[jitsi.aznext.it], xmppDomain=jitsi.aznext.it, baseUrl=null, controlLogin=XmppCredentials(domain=auth.jitsi.aznext.it, port=null, username=jibri, password=*****), controlMuc=XmppMuc(domain=internal.auth.jitsi.aznext.it, roomName=JibriBrewery, nickname=jibri-nickname), sipControlMuc=null, callLogin=XmppCredentials(domain=recorder.jitsi.aznext.it, port=null, username=recorder, password=*****), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true, securityMode=null)
2022-02-02 10:07:37.781 INFO: [1] XmppApi.start#109: The trustAllXmppCerts config is enabled for this domain, all XMPP server provided certificates will be accepted
2022-02-02 10:07:37.849 INFO: [28] [hostname=jitsi.aznext.it id=jitsi.aznext.it] MucClient.initializeConnectAndJoin#272: Initializing a new MucClient for [ org.jitsi.xmpp.mucclient.MucClientConfiguration id=jitsi.aznext.it domain=auth.jitsi.aznext.it hostname=jitsi.aznext.it port=null username=jibri mucs=[jibribrewery@internal.auth.jitsi.aznext.it] mucNickname=jibri-nickname disableCertificateVerification=true]
2022-02-02 10:07:37.852 INFO: [1] MainKt.main#151: Using port 2222 for HTTP API
2022-02-02 10:07:37.907 WARNING: [28] MucClient.createXMPPTCPConnectionConfiguration#114: Disabling certificate verification!
2022-02-02 10:07:38.002 INFO: [28] [hostname=jitsi.aznext.it id=jitsi.aznext.it] MucClient.initializeConnectAndJoin#331: Dispatching a thread to connect and login.
2022-02-02 10:07:38.482 INFO: [28] [hostname=jitsi.aznext.it id=jitsi.aznext.it] MucClient$2.connected#304: Connected.
2022-02-02 10:07:38.482 INFO: [28] [hostname=jitsi.aznext.it id=jitsi.aznext.it] MucClient.lambda$getConnectAndLoginCallable$8#628: Logging in.
2022-02-02 10:07:38.622 INFO: [28] [hostname=jitsi.aznext.it id=jitsi.aznext.it] MucClient$2.authenticated#310: Authenticated, b=false
2022-02-02 10:07:38.680 INFO: [28] [hostname=jitsi.aznext.it id=jitsi.aznext.it] MucClient$MucWrapper.join#748: Joined MUC: jibribrewery@internal.auth.jitsi.aznext.it
2022-02-02 10:08:17.243 INFO: [42] XmppApi.handleJibriIq#171: Received JibriIq <iq xmlns='jabber:client' to='jibri@auth.jitsi.aznext.it/kVqcjj4P' from='jibribrewery@internal.auth.jitsi.aznext.it/focus' id='amlicmlAYXV0aC5qaXRzaS5hem5leHQuaXQva1ZxY2pqNFAAU1JLV0wtMTA3MwD0NDiLOSBXI1jlaXwDAkxC' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' action='start' recording_mode='file' room='testrecording@conference.jitsi.aznext.it' session_id='ywszblaerhvzehxy' app_data='{"file_recording_metadata":{"share":true}}'/></iq> from environment [MucClient id=jitsi.aznext.it hostname=jitsi.aznext.it]
2022-02-02 10:08:17.245 INFO: [42] XmppApi.handleStartJibriIq#199: Received start request, starting service
2022-02-02 10:08:17.511 INFO: [42] XmppApi.handleStartService#304: Parsed call url info: CallUrlInfo(baseUrl=https://jitsi.aznext.it, callName=testrecording, urlParams=[])
2022-02-02 10:08:17.515 INFO: [42] JibriManager.startFileRecording#138: Starting a file recording with params: FileRecordingRequestParams(callParams=CallParams(callUrlInfo=CallUrlInfo(baseUrl=https://jitsi.aznext.it, callName=testrecording, urlParams=[]), email='', passcode=null, callStatsUsernameOverride=, displayName=), sessionId=ywszblaerhvzehxy, callLoginParams=XmppCredentials(domain=recorder.jitsi.aznext.it, port=null, username=recorder, password=*****))
2022-02-02 10:08:17.581 FINE: [42] [session_id=ywszblaerhvzehxy] FfmpegCapturer.<init>#88: Detected os as OS: LINUX
2022-02-02 10:08:18.881 SEVERE: [42] XmppApi.handleStartJibriIq#226: Error starting Jibri service 
org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
  (Driver info: chromedriver=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}),platform=Linux 5.4.0-96-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 345 milliseconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jitsi', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-96-generic', java.version: '1.8.0_292'
Driver info: driver.version: ChromeDriver
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
	at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
	at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
	at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
	at org.jitsi.jibri.selenium.JibriSelenium.<init>(JibriSelenium.kt:198)
	at org.jitsi.jibri.selenium.JibriSelenium.<init>(JibriSelenium.kt:168)
	at org.jitsi.jibri.service.impl.FileRecordingJibriService.<init>(FileRecordingJibriService.kt:109)
	at org.jitsi.jibri.service.impl.FileRecordingJibriService.<init>(FileRecordingJibriService.kt:102)
	at org.jitsi.jibri.JibriManager.startFileRecording(JibriManager.kt:139)
	at org.jitsi.jibri.api.xmpp.XmppApi.handleStartService(XmppApi.kt:308)
	at org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq(XmppApi.kt:206)
	at org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq(XmppApi.kt:178)
	at org.jitsi.jibri.api.xmpp.XmppApi.handleIq(XmppApi.kt:160)
	at org.jitsi.xmpp.mucclient.MucClient.handleIq(MucClient.java:533)
	at org.jitsi.xmpp.mucclient.MucClient.access$300(MucClient.java:51)
	at org.jitsi.xmpp.mucclient.MucClient$3.handleIQRequest(MucClient.java:496)
	at org.jivesoftware.smack.AbstractXMPPConnection$3.run(AbstractXMPPConnection.java:1568)
	at org.jivesoftware.smack.AbstractXMPPConnection$10.run(AbstractXMPPConnection.java:2146)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

What are the specs of your server? What OS is your server running?

This is the system:

Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

  Virtualization: kvm
  Operating System: Ubuntu 20.04.3 LTS
  Kernel: Linux 5.4.0-96-generic
  Architecture: x86-64

This is the server:

description: Computer
    product: Standard PC (i440FX + PIIX, 1996)
    vendor: QEMU
    version: pc-i440fx-5.2
    width: 64 bits
    capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
    configuration: boot=normal uuid=B631DC52-F263-3145-AD71-F4BEC7216762
  *-core
       description: Motherboard
       physical id: 0
     *-firmware
          description: BIOS
          vendor: SeaBIOS
          physical id: 0
          version: rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org
          date: 04/01/2014
          size: 96KiB
     *-cpu
          description: CPU
          product: Common KVM processor
          vendor: Intel Corp.
          physical id: 400
          bus info: cpu@0
          version: pc-i440fx-5.2
          slot: CPU 0
          size: 2GHz
          capacity: 2GHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx x86-64 constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
          configuration: cores=4 enabledcores=4 threads=1
     *-memory
          description: System Memory
          physical id: 1000
          size: 8GiB
          capabilities: ecc
          configuration: errordetection=multi-bit-ecc
        *-bank
             description: DIMM RAM
             vendor: QEMU
             physical id: 0
             slot: DIMM 0
             size: 8GiB
     *-pci
          description: Host bridge
          product: 440FX - 82441FX PMC [Natoma]
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 02
          width: 32 bits
          clock: 33MHz
        *-isa
             description: ISA bridge
             product: 82371SB PIIX3 ISA [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: isa
             configuration: latency=0
        *-ide
             description: IDE interface
             product: 82371SB PIIX3 IDE [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: 1.1
             bus info: pci@0000:00:01.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: ide isa_compat_mode bus_master
             configuration: driver=ata_piix latency=0
             resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:e0c0(size=16)
        *-usb
             description: USB controller
             product: 82371SB PIIX3 USB [Natoma/Triton II]
             vendor: Intel Corporation
             physical id: 1.2
             bus info: pci@0000:00:01.2
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:11 ioport:e080(size=32)
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 5.4.0-96-generic uhci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 5.04
                capabilities: usb-1.10
                configuration: driver=hub slots=2 speed=12Mbit/s
              *-usb
                   description: Human interface device
                   product: QEMU USB Tablet
                   vendor: QEMU
                   physical id: 1
                   bus info: usb@1:1
                   version: 0.00
                   serial: 28754-0000:00:01.2-1
                   capabilities: usb-2.00
                   configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
        *-bridge
             description: Bridge
             product: 82371AB/EB/MB PIIX4 ACPI
             vendor: Intel Corporation
             physical id: 1.3
             bus info: pci@0000:00:01.3
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: bridge
             configuration: driver=piix4_smbus latency=0
             resources: irq:9
        *-display
             description: VGA compatible controller
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: vga_controller bus_master rom
             configuration: driver=bochs-drm latency=0
             resources: irq:0 memory:fd000000-fdffffff memory:fea50000-fea50fff memory:c0000-dffff
        *-generic
             description: Unclassified device
             product: Virtio memory balloon
             vendor: Red Hat, Inc.
             physical id: 3
             bus info: pci@0000:00:03.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=virtio-pci latency=0
             resources: irq:10 ioport:e000(size=64) memory:fe400000-fe403fff
           *-virtio0 UNCLAIMED
                description: Virtual I/O device
                physical id: 0
                bus info: virtio@0
                configuration: driver=virtio_balloon
        *-scsi
             description: SCSI storage controller
             product: Virtio SCSI
             vendor: Red Hat, Inc.
             physical id: 5
             bus info: pci@0000:00:05.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: scsi msix bus_master cap_list
             configuration: driver=virtio-pci latency=0
             resources: irq:10 ioport:e040(size=64) memory:fea51000-fea51fff memory:fe404000-fe407fff
           *-virtio1 UNCLAIMED
                description: Virtual I/O device
                physical id: 0
                bus info: virtio@1
                configuration: driver=virtio_scsi
        *-network
             description: Ethernet controller
             product: Virtio network device
             vendor: Red Hat, Inc.
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: msix bus_master cap_list rom
             configuration: driver=virtio-pci latency=0
             resources: irq:11 ioport:e0a0(size=32) memory:fea52000-fea52fff memory:fe408000-fe40bfff memory:fea00000-fea3ffff
           *-virtio2
                description: Ethernet interface
                physical id: 0
                bus info: virtio@2
                logical name: ens18
                serial: 62:a5:6d:38:91:1e
                capabilities: ethernet physical
                configuration: autonegotiation=off broadcast=yes driver=virtio_net driverversion=1.0.0 ip=10.110.100.134 link=yes multicast=yes
        *-pci:0
             description: PCI bridge
             product: QEMU PCI-PCI bridge
             vendor: Red Hat, Inc.
             physical id: 1e
             bus info: pci@0000:00:1e.0
             version: 00
             slot: 0, chassis 1
             width: 64 bits
             clock: 66MHz
             capabilities: pci msi slotid normal_decode cap_list
             resources: memory:fea53000-fea530ff ioport:d000(size=4096) memory:fe800000-fe9fffff ioport:fe200000(size=2097152)
        *-pci:1
             description: PCI bridge
             product: QEMU PCI-PCI bridge
             vendor: Red Hat, Inc.
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 00
             slot: 0, chassis 2
             width: 64 bits
             clock: 66MHz
             capabilities: pci msi slotid normal_decode cap_list
             resources: memory:fea54000-fea540ff ioport:c000(size=4096) memory:fe600000-fe7fffff ioport:fe000000(size=2097152)
     *-pnp00:00
          product: PnP device PNP0303
          physical id: 1
          capabilities: pnp
          configuration: driver=i8042 kbd
     *-pnp00:01
          product: PnP device PNP0f13
          physical id: 2
          capabilities: pnp
          configuration: driver=i8042 aux
     *-pnp00:02
          product: PnP device PNP0700
          physical id: 3
          capabilities: pnp
     *-pnp00:03
          product: PnP device PNP0b00
          physical id: 4
          capabilities: pnp
          configuration: driver=rtc_cmos
     *-scsi:0
          physical id: 5
          logical name: scsi1
          capabilities: emulated
        *-cdrom
             description: DVD reader
             product: QEMU DVD-ROM
             vendor: QEMU
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/dvd
             logical name: /dev/sr0
             version: 2.5+
             capabilities: removable audio dvd
             configuration: ansiversion=5 status=nodisc
     *-scsi:1
          physical id: 6
          logical name: scsi2
        *-disk
             description: SCSI Disk
             product: QEMU HARDDISK
             vendor: QEMU
             physical id: 0.0.0
             bus info: scsi@2:0.0.0
             logical name: /dev/sda
             version: 2.5+
             size: 100GiB (107GB)
             capabilities: 5400rpm gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=b4195066-1182-4a38-af41-b311a44fc278 logicalsectorsize=512 sectorsize=512
           *-volume:0
                description: BIOS Boot partition
                vendor: EFI
                physical id: 1
                bus info: scsi@2:0.0.0,1
                logical name: /dev/sda1
                serial: c11eb75e-2269-4c22-b1a7-49346b120c04
                capacity: 1023KiB
                capabilities: nofs
           *-volume:1
                description: EXT4 volume
                vendor: Linux
                physical id: 2
                bus info: scsi@2:0.0.0,2
                logical name: /dev/sda2
                logical name: /boot
                version: 1.0
                serial: 23931dd2-66db-433e-9212-a73046719d3b
                size: 1GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
                configuration: created=2022-01-20 17:22:51 filesystem=ext4 lastmountpoint=/boot modified=2022-02-02 08:37:58 mount.fstype=ext4 mount.options=rw,relatime mounted=2022-02-01 21:03:23 state=mounted
           *-volume:2
                description: EFI partition
                physical id: 3
                bus info: scsi@2:0.0.0,3
                logical name: /dev/sda3
                serial: f1xS3U-xoUz-PTDK-h6Z1-DIqY-6vbC-FJxgaZ
                size: 98GiB
                capabilities: lvm2

Is there an already installed desktop environment on this VM?
The main problem seems to be that Jibri desktop cannot be started.

There are also some other issues (java version, old chrome etc.) but first solve the desktop issue.

i found this machine already initialized, so what have I to looking for?

# ls -l /usr/share/xsessions/
total 8
-rw-r--r-- 1 root root 2641 Jan  9  2020 icewm-session.desktop
-rw-r--r-- 1 root root  303 Mar 26  2020 ubuntu.desktop
# ps -e | grep -E -i "xfce|kde|gnome"
     33 ?        00:00:00 kdevtmpfs
   1100 tty1     00:00:00 gnome-session-b
   1185 tty1     00:00:37 gnome-shell
# dpkg -l ubuntu-desktop 
dpkg-query: no packages found matching ubuntu-desktop
# echo $XDG_CURRENT_DESKTOP
(blanck)

That’s the problem (first one, at least). You already have a GUI running on the machine. Jibri needs to spin its own xorg. You need a true server environment, no desktop frontend installed.

I removed all desktop components and now its works. start registration but after variable time (30 seconds, 1/2 minutes) somethings get wrong with ffmpeg. If I stop the registration before crashing the file is correctly saved

2022-02-03 08:56:28.520 INFO: [132] XmppApi.handleJibriIq#171: Received JibriIq <iq xmlns='jabber:client' to='jibri@auth.jitsi.aznext.it/IscZaZqJ' from='jibribrewery@internal.auth.jitsi.aznext.it/focus' id='amlicmlAYXV0aC5qaXRzaS5hem5leHQuaXQvSXNjWmFacUoANk0xMTgtODI2MgD0NDiLOSBXI1jlaXwDAkxC' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' action='start' recording_mode='file' room='test@conference.jitsi.aznext.it' session_id='xaqhrtxghfeuzvxe' app_data='{"file_recording_metadata":{"share":true}}'/></iq> from environment [MucClient id=jitsi.aznext.it hostname=jitsi.aznext.it]
2022-02-03 08:56:28.521 INFO: [132] XmppApi.handleStartJibriIq#199: Received start request, starting service
2022-02-03 08:56:28.546 INFO: [132] XmppApi.handleStartService#304: Parsed call url info: CallUrlInfo(baseUrl=https://jitsi.aznext.it, callName=test, urlParams=[])
2022-02-03 08:56:28.547 INFO: [132] JibriManager.startFileRecording#138: Starting a file recording with params: FileRecordingRequestParams(callParams=CallParams(callUrlInfo=CallUrlInfo(baseUrl=https://jitsi.aznext.it, callName=test, urlParams=[]), email='', passcode=null, callStatsUsernameOverride=, displayName=), sessionId=xaqhrtxghfeuzvxe, callLoginParams=XmppCredentials(domain=recorder.jitsi.aznext.it, port=null, username=recorder, password=*****))
2022-02-03 08:56:28.551 FINE: [132] [session_id=xaqhrtxghfeuzvxe] FfmpegCapturer.<init>#88: Detected os as OS: LINUX
2022-02-03 08:56:29.537 INFO: [132] org.openqa.selenium.remote.ProtocolHandshake.createSession: Detected dialect: OSS
2022-02-03 08:56:29.548 INFO: [132] [session_id=xaqhrtxghfeuzvxe] FileRecordingJibriService.<init>#134: Writing recording to /srv/recordings/xaqhrtxghfeuzvxe, finalize script path /path/to/finalize_recording.sh
2022-02-03 08:56:29.549 FINE: [132] JibriStatsDClient.incrementCounter#38: Incrementing statsd counter: start:recording
2022-02-03 08:56:29.551 INFO: [132] JibriStatusManager$$special$$inlined$observable$1.afterChange#72: Busy status has changed: IDLE -> BUSY
2022-02-03 08:56:29.551 FINE: [132] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-03 08:56:29.552 INFO: [132] XmppApi.updatePresence#144: Jibri reports its status is now JibriStatus(busyStatus=BUSY, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
2022-02-03 08:56:29.556 INFO: [132] XmppApi.handleStartJibriIq#207: Sending 'pending' response to start IQ
2022-02-03 08:56:29.563 INFO: [142] AbstractPageObject.visit#32: Visiting url https://jitsi.aznext.it
2022-02-03 08:56:31.945 INFO: [142] AbstractPageObject.visit#38: Waited 2.38s for driver to load page
2022-02-03 08:56:32.042 INFO: [142] AbstractPageObject.visit#32: Visiting url https://jitsi.aznext.it/test#config.iAmRecorder=true&config.externalConnectUrl=null&config.startWithAudioMuted=true&config.startWithVideoMuted=true&interfaceConfig.APP_NAME="Jibri"&config.analytics.disabled=true&config.p2p.enabled=false&config.prejoinPageEnabled=false&config.prejoinConfig.enabled=false&config.requireDisplayName=false
2022-02-03 08:56:33.642 INFO: [142] AbstractPageObject.visit#38: Waited 1.60s for driver to load page
2022-02-03 08:56:33.706 FINE: [142] CallPage$visit$$inlined$measureTimedValue$lambda$1.apply#58: Not joined yet: Cannot read properties of undefined (reading 'isJoined')
2022-02-03 08:56:34.274 FINE: [142] CallPage$visit$$inlined$measureTimedValue$lambda$1.apply#58: Not joined yet: Cannot read properties of undefined (reading 'isJoined')
2022-02-03 08:56:34.788 FINE: [142] CallPage$visit$$inlined$measureTimedValue$lambda$1.apply#58: Not joined yet: Cannot read properties of undefined (reading 'isJoined')
2022-02-03 08:56:35.464 INFO: [142] CallPage.visit#71: Waited 1.82s to join the conference
2022-02-03 08:56:35.466 INFO: [142] [session_id=xaqhrtxghfeuzvxe] EmptyCallStatusCheck.<init>#26: Starting empty call check with a timeout of PT30S
2022-02-03 08:56:35.488 INFO: [142] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.onSeleniumStateChange#215: Transitioning from state Starting up to Running
2022-02-03 08:56:35.488 INFO: [142] [session_id=xaqhrtxghfeuzvxe] FileRecordingJibriService$start$1.invoke#167: Selenium joined the call, starting the capturer
2022-02-03 08:56:35.707 INFO: [142] [session_id=xaqhrtxghfeuzvxe] JibriSubprocess.launch#42: Starting ffmpeg with command ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1920x1080 -thread_queue_size 4096 -i :0.0+0,0 -f alsa -thread_queue_size 4096 -i plug:bsnoop -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset veryfast -profile:v main -level 3.1 -pix_fmt yuv420p -r 30 -crf 25 -g 60 -tune zerolatency -f mp4 /srv/recordings/xaqhrtxghfeuzvxe/test_2022-02-03-08-56-29.mp4 ([ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s, 1920x1080, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, plug:bsnoop, -acodec, aac, -strict, -2, -ar, 44100, -b:a, 128k, -af, aresample=async=1, -c:v, libx264, -preset, veryfast, -profile:v, main, -level, 3.1, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4, /srv/recordings/xaqhrtxghfeuzvxe/test_2022-02-03-08-56-29.mp4])
2022-02-03 08:56:37.074 INFO: [147] [session_id=xaqhrtxghfeuzvxe] FfmpegCapturer.onFfmpegStateMachineStateChange#130: Ffmpeg capturer transitioning from state Starting up to Running
2022-02-03 08:56:37.075 INFO: [147] [session_id=xaqhrtxghfeuzvxe] StatefulJibriService.onServiceStateChange#39: File recording service transitioning from state Starting up to Running
2022-02-03 08:56:37.075 INFO: [147] XmppApi$createServiceStatusHandler$1.invoke#260: Current service started up successfully, sending on iq <iq xmlns='jabber:client' to='jibribrewery@internal.auth.jitsi.aznext.it/focus' id='MHXCP-171' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='on'/></iq>
2022-02-03 08:56:50.663 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=0, upload=0}, download=0, upload=0, video={download=0, upload=0}}, num participants: 1, numMutedParticipants: 1, numJigasis: 0, all clients muted? true
2022-02-03 08:57:05.547 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=0, upload=0}, download=0, upload=0, video={download=0, upload=0}}, num participants: 1, numMutedParticipants: 1, numJigasis: 0, all clients muted? true
2022-02-03 08:57:15.464 FINE: [18] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-03 08:57:20.545 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=14, upload=0}, download=14, upload=0, video={download=0, upload=0}}, num participants: 1, numMutedParticipants: 0, numJigasis: 0, all clients muted? false
2022-02-03 08:57:35.535 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=29, upload=0}, download=29, upload=0, video={download=0, upload=0}}, num participants: 1, numMutedParticipants: 0, numJigasis: 0, all clients muted? false
2022-02-03 08:57:50.589 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=31, upload=0}, download=31, upload=0, video={download=0, upload=0}}, num participants: 1, numMutedParticipants: 0, numJigasis: 0, all clients muted? false
2022-02-03 08:58:05.554 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=30, upload=0}, download=2515, upload=0, video={download=2485, upload=0}}, num participants: 1, numMutedParticipants: 0, numJigasis: 0, all clients muted? false
2022-02-03 08:58:15.464 FINE: [18] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-03 08:58:20.570 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=26, upload=0}, download=2558, upload=0, video={download=2532, upload=0}}, num participants: 1, numMutedParticipants: 0, numJigasis: 0, all clients muted? false
2022-02-03 08:58:35.574 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=25, upload=0}, download=2515, upload=0, video={download=2490, upload=0}}, num participants: 2, numMutedParticipants: 0, numJigasis: 0, all clients muted? false
2022-02-03 08:58:51.155 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=29, upload=0}, download=952, upload=0, video={download=923, upload=0}}, num participants: 2, numMutedParticipants: 0, numJigasis: 0, all clients muted? false
2022-02-03 08:59:05.923 INFO: [18] [session_id=xaqhrtxghfeuzvxe] MediaReceivedStatusCheck.run#40: Jibri client receive bitrates: {audio={download=26, upload=0}, download=2671, upload=0, video={download=2645, upload=0}}, num participants: 2, numMutedParticipants: 1, numJigasis: 0, all clients muted? false
2022-02-03 08:59:08.715 FINE: [18] [session_id=xaqhrtxghfeuzvxe] ProcessStatePublisher$startProcessAliveChecks$1.invoke#86: Process ffmpeg hasn't written in 2 seconds, publishing periodic update
2022-02-03 08:59:08.723 INFO: [148] [session_id=xaqhrtxghfeuzvxe] FfmpegCapturer.onFfmpegProcessUpdate#121: Ffmpeg quit abruptly.  Last output line: [alsa @ 0x5616335f64c0] ALSA buffer xrun.
2022-02-03 08:59:08.750 INFO: [148] [session_id=xaqhrtxghfeuzvxe] FfmpegCapturer.onFfmpegStateMachineStateChange#130: Ffmpeg capturer transitioning from state Running to Error: QuitUnexpectedly SESSION [alsa @ 0x5616335f64c0] ALSA buffer xrun.
2022-02-03 08:59:08.759 INFO: [148] [session_id=xaqhrtxghfeuzvxe] StatefulJibriService.onServiceStateChange#39: File recording service transitioning from state Running to Error: QuitUnexpectedly SESSION [alsa @ 0x5616335f64c0] ALSA buffer xrun.
2022-02-03 08:59:08.800 INFO: [148] XmppApi$createServiceStatusHandler$1.invoke#243: Current service had an error Error: QuitUnexpectedly SESSION [alsa @ 0x5616335f64c0] ALSA buffer xrun., sending error iq <iq xmlns='jabber:client' to='jibribrewery@internal.auth.jitsi.aznext.it/focus' id='MHXCP-173' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off' failure_reason='error' should_retry='true'/></iq>
2022-02-03 08:59:08.822 FINE: [148] JibriStatsDClient.incrementCounter#38: Incrementing statsd counter: stop:recording
2022-02-03 08:59:08.837 INFO: [148] JibriManager.stopService#260: Stopping the current service
2022-02-03 08:59:08.838 INFO: [148] [session_id=xaqhrtxghfeuzvxe] FileRecordingJibriService.stop#181: Stopping capturer
2022-02-03 08:59:08.839 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSubprocess.stop#75: Stopping ffmpeg process
2022-02-03 08:59:08.890 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSubprocess.stop#89: ffmpeg exited with value 137
2022-02-03 08:59:08.892 INFO: [148] [session_id=xaqhrtxghfeuzvxe] FileRecordingJibriService.stop#183: Quitting selenium
2022-02-03 08:59:08.994 INFO: [148] [session_id=xaqhrtxghfeuzvxe] FileRecordingJibriService.stop#210: Participants in this recording: []
2022-02-03 08:59:09.261 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#336: Leaving call and quitting browser
2022-02-03 08:59:09.264 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#339: Recurring call status checks cancelled
2022-02-03 08:59:09.331 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#345: Got 9 log entries for type browser
2022-02-03 08:59:09.752 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#345: Got 1267 log entries for type driver
2022-02-03 08:59:10.635 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#345: Got 0 log entries for type client
2022-02-03 08:59:10.636 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#354: Leaving web call
2022-02-03 08:59:11.114 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#361: Quitting chrome driver
2022-02-03 08:59:11.447 INFO: [148] [session_id=xaqhrtxghfeuzvxe] JibriSelenium.leaveCallAndQuitBrowser#363: Chrome driver quit
2022-02-03 08:59:11.448 INFO: [148] [session_id=xaqhrtxghfeuzvxe] FileRecordingJibriService.stop#231: Finalizing the recording
2022-02-03 08:59:11.450 INFO: [148] JibriServiceFinalizeCommandRunner.doFinalize#44: Finalizing the jibri service operation using command [/path/to/finalize_recording.sh, /srv/recordings/xaqhrtxghfeuzvxe]
2022-02-03 08:59:11.455 SEVERE: [148] JibriServiceFinalizeCommandRunner.doFinalize#63: Failed to run finalize script
java.io.IOException: Cannot run program "/path/to/finalize_recording.sh": error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at org.jitsi.jibri.util.ProcessWrapper.start(ProcessWrapper.kt:88)
	at org.jitsi.jibri.service.impl.JibriServiceFinalizeCommandRunner.doFinalize(JibriServiceFinalizeCommandRunner.kt:47)
	at org.jitsi.jibri.service.impl.FileRecordingJibriService.stop(FileRecordingJibriService.kt:232)
	at org.jitsi.jibri.JibriManager.stopService(JibriManager.kt:263)
	at org.jitsi.jibri.JibriManager$startService$1.invoke(JibriManager.kt:211)
	at org.jitsi.jibri.JibriManager$startService$1.invoke(JibriManager.kt:85)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:37)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:29)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:53)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:29)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.filterInPlace$CollectionsKt__MutableCollectionsKt(MutableCollections.kt:285)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.retainAll(MutableCollections.kt:276)
	at org.jitsi.jibri.util.StatusPublisher.publishStatus(StatusPublisher.kt:53)
	at org.jitsi.jibri.service.impl.StatefulJibriService.onServiceStateChange(StatefulJibriService.kt:40)
	at org.jitsi.jibri.service.impl.StatefulJibriService.access$onServiceStateChange(StatefulJibriService.kt:26)
	at org.jitsi.jibri.service.impl.StatefulJibriService$1.invoke(StatefulJibriService.kt:35)
	at org.jitsi.jibri.service.impl.StatefulJibriService$1.invoke(StatefulJibriService.kt:26)
	at org.jitsi.jibri.util.NotifyingStateMachine.notify(NotifyingStateMachine.kt:26)
	at org.jitsi.jibri.service.JibriServiceStateMachine.access$notify(JibriServiceStateMachine.kt:46)
	at org.jitsi.jibri.service.JibriServiceStateMachine$stateMachine$1$5.invoke(JibriServiceStateMachine.kt:100)
	at org.jitsi.jibri.service.JibriServiceStateMachine$stateMachine$1$5.invoke(JibriServiceStateMachine.kt:46)
	at com.tinder.StateMachine.notifyOnTransition(StateMachine.kt:65)
	at com.tinder.StateMachine.transition(StateMachine.kt:23)
	at org.jitsi.jibri.service.JibriServiceStateMachine.transition(JibriServiceStateMachine.kt:112)
	at org.jitsi.jibri.service.impl.StatefulJibriService$registerSubComponent$1.invoke(StatefulJibriService.kt:46)
	at org.jitsi.jibri.service.impl.StatefulJibriService$registerSubComponent$1.invoke(StatefulJibriService.kt:26)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:37)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:29)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:53)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:29)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.filterInPlace$CollectionsKt__MutableCollectionsKt(MutableCollections.kt:285)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.retainAll(MutableCollections.kt:276)
	at org.jitsi.jibri.util.StatusPublisher.publishStatus(StatusPublisher.kt:53)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegStateMachineStateChange(FfmpegCapturer.kt:131)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.access$onFfmpegStateMachineStateChange(FfmpegCapturer.kt:67)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer$5.invoke(FfmpegCapturer.kt:96)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer$5.invoke(FfmpegCapturer.kt:67)
	at org.jitsi.jibri.util.NotifyingStateMachine.notify(NotifyingStateMachine.kt:26)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegStatusStateMachine.access$notify(FfmpegStatusStateMachine.kt:69)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegStatusStateMachine$stateMachine$1$5.invoke(FfmpegStatusStateMachine.kt:130)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegStatusStateMachine$stateMachine$1$5.invoke(FfmpegStatusStateMachine.kt:69)
	at com.tinder.StateMachine.notifyOnTransition(StateMachine.kt:65)
	at com.tinder.StateMachine.transition(StateMachine.kt:23)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegStatusStateMachine.transition(FfmpegStatusStateMachine.kt:135)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegProcessUpdate(FfmpegCapturer.kt:124)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.access$onFfmpegProcessUpdate(FfmpegCapturer.kt:67)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer$4.invoke(FfmpegCapturer.kt:95)
	at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer$4.invoke(FfmpegCapturer.kt:67)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:37)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:29)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:53)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:29)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.filterInPlace$CollectionsKt__MutableCollectionsKt(MutableCollections.kt:285)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.retainAll(MutableCollections.kt:276)
	at org.jitsi.jibri.util.StatusPublisher.publishStatus(StatusPublisher.kt:53)
	at org.jitsi.jibri.util.JibriSubprocess$launch$1$1.invoke(JibriSubprocess.kt:48)
	at org.jitsi.jibri.util.JibriSubprocess$launch$1$1.invoke(JibriSubprocess.kt:26)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:37)
	at org.jitsi.jibri.util.StatusPublisher$addStatusHandler$1.invoke(StatusPublisher.kt:29)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:53)
	at org.jitsi.jibri.util.StatusPublisher$publishStatus$1.invoke(StatusPublisher.kt:29)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.filterInPlace$CollectionsKt__MutableCollectionsKt(MutableCollections.kt:285)
	at kotlin.collections.CollectionsKt__MutableCollectionsKt.retainAll(MutableCollections.kt:276)
	at org.jitsi.jibri.util.StatusPublisher.publishStatus(StatusPublisher.kt:53)
	at org.jitsi.jibri.util.ProcessStatePublisher$startProcessAliveChecks$1$$special$$inlined$also$lambda$1.run(ProcessStatePublisher.kt:92)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 70 more
2022-02-03 08:59:11.464 INFO: [148] JibriStatusManager$$special$$inlined$observable$1.afterChange#72: Busy status has changed: BUSY -> IDLE
2022-02-03 08:59:11.475 FINE: [148] WebhookClient$updateStatus$1.invokeSuspend#107: Updating 0 subscribers of status
2022-02-03 08:59:11.483 INFO: [148] XmppApi.updatePresence#144: Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections

Probably VM is not fast enough.

Yep, i tired to down scale to 1280x720 ffmpeg and it works better, do you know how to scale also chrome? because recording at 1280x720 take only a square of the entire screen

/etc/jitsi/jibri/xorg-video-dummy.conf

Virtual 1280 720

I already change it but doesn’t work, I obtain cropped screen

Section "Screen"
  Identifier "dummy_screen"
  Device "dummy_videocard"
  Monitor "dummy_monitor"
  DefaultDepth 24
  SubSection "Display"
    Viewport 0 0
    Depth 24
    #Modes "32768x32768" "32768x16384" "16384x8192" "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
    Modes "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
    Virtual 1280 720
    #Virtual 1920 1080
  EndSubSection
EndSection

Did you restart the jibri-xorg service?

systemctl stop jibri-xorg
sleep 3
systemctl start jibri

Yep I forget to restart xorg service, now is fWorking!!! Thanks a lot

@hicsuntleones Hi, i the face same issue, how you did remove all desktop components ?

any idea @emrah
Please
thnx

You may disable the related service. The service name depends on your setup. For example if you have gdm3

systemctl stop gdm3
systemctl disable gdm3

Hi, yep you should disable related services and depends on setup. it could be better to have new installation, without desktop environment