While recording recorded video is not saved

Hi All

I have installed jibri by following the steps in the below link:
[Setup / Guide] Jitsi Meet Native + Multiple (6) Jibri Docker instances working on the same AWS server - Install & Config - Jitsi Community Forum - developers & users
Im able to successfully start and stop recording. But after stop recording I dont know where the recording is saved and Im facing error like ‘java.io.IOException: Cannot run program “/config/finalize.sh”: error=2, No such file or directory’.
I have file in that location and given permission also.
I have attached my jibri and jicofo logs.
Kindly refer the attachments and help in resolving this issue
jibri.error.txt (15.4 KB)
jicofo.error.txt (14.1 KB)

Regards,
Kavitha

You need to provide your own finalize.sh script. Check the followup to the tutorial a few posts further down. This might already be enough to solve your problem.

Also, even if there is no working finalize.sh, you should be able to find your recording in its original location (under /root/jibri-docker/recordings if you didn’t change anything from the original post).

1 Like

Hi

Recordings is not saved in /root/jibri-docker/recordings location also.
Before No such file or directory Im getting another error. Can you check what caused that error also.

2022-02-08 04:38:27.177 SEVERE: [192] org.jitsi.jibri.selenium.JibriSelenium.log() Error trying to leave the call
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.jitsi.jibri.selenium.pageobjects.CallPage$leave$1@5a808b67 (tried for 2 second(s) with 500 milliseconds interval)
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘73748186d91c’, ip: ‘192.168.112.6’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-97-generic’, java.version: ‘11.0.13’
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 96.0.4664.45 (76e4c1bb2ab46…, userDataDir: /tmp/.com.google.Chrome.89Q2wr}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:43911}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), rotatable: false, setWindowRect: true, strictFileInteractability: false, takesHeapSnapshot: true, takesScreenshot: true, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unexpectedAlertBehaviour: ignore, unhandledPromptBehavior: ignore, version: 96.0.4664.45, webStorageEnabled: true, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: bc43f325095446bfb8770bfe1f7db685
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:81)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:271)
at org.jitsi.jibri.selenium.pageobjects.CallPage.leave(CallPage.kt:320)
at org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser(JibriSelenium.kt:354)
at org.jitsi.jibri.service.impl.FileRecordingJibriService.stop(FileRecordingJibriService.kt:230)
at org.jitsi.jibri.JibriManager.stopService(JibriManager.kt:263)
at org.jitsi.jibri.api.xmpp.XmppApi.handleStopJibriIq(XmppApi.kt:276)
at org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq(XmppApi.kt:179)
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.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2022-02-08 04:38:27.177 INFO: [192] org.jitsi.jibri.selenium.JibriSelenium.log() Quitting chrome driver
2022-02-08 04:38:27.260 INFO: [192] org.jitsi.jibri.selenium.JibriSelenium.log() Chrome driver quit
2022-02-08 04:38:27.260 INFO: [192] org.jitsi.jibri.service.impl.FileRecordingJibriService.log() Finalizing the recording
2022-02-08 04:38:27.260 INFO: [192] org.jitsi.jibri.service.impl.JibriServiceFinalizeCommandRunner.log() Finalizing the jibri service operation using command [/srv/finalize.sh, /srv/recordings/sksjbuvpiuhzumsr]
2022-02-08 04:38:27.262 SEVERE: [192] org.jitsi.jibri.service.impl.JibriServiceFinalizeCommandRunner.log() Failed to run finalize script
java.io.IOException: Cannot run program “/srv/finalize.sh”: error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
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.api.xmpp.XmppApi.handleStopJibriIq(XmppApi.kt:276)
at org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq(XmppApi.kt:179)
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.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:340)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
… 16 more
2022-02-08 04:38:27.262 INFO: [192] org.jitsi.jibri.status.JibriStatusManager.log() Busy status has changed: BUSY → IDLE
2022-02-08 04:38:27.263 FINE: [192] org.jitsi.jibri.webhooks.v1.WebhookClient.log() Updating 0 subscribers of status
2022-02-08 04:38:27.263 INFO: [192] org.jitsi.jibri.api.xmpp.XmppApi.log() Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
2022-02-08 04:38:27.263 FINE: [192] org.jitsi.xmpp.mucclient.MucClientManager.log() Setting a presence extension: org.jitsi.xmpp.extensions.jibri.JibriStatusPacketExt@6ad9aba4

Regards
Kavitha

Hi all

I have fixed this issue.
The file was missing inside the docker container. I had created in server earlier.
After creating the file inside the container. This issue was resolved.
And the recordings was also present inside the container in the location /home/jibri/recordings.

Thanks for your support

Regards,
Kavitha