Module snd-aloop not found in directory

Hi!

Today I installed Jibri using the git tutorial and I had some problems. One of them was solved creating the recordings directory and give 777 permission to write the file. But, the main problem is that, when I push the record button in the room, appears the fellow jister user (I don’t know who is this user, maybe is internal of Jibri) but, 1 or 2 seconds later, appears the “Recording stopped”.

Looking the log file (in /var/log/jitsi/jibri/log.0.txt) I see this:

2020-12-03 12:13:55.137 FINE: [83] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.<init>() Detected os as OS: LINUX
2020-12-03 12:13:55.138 INFO: [83] org.jitsi.jibri.service.impl.FileRecordingJibriService.<init>() Writing recording to /srv/recordings/cnokpuqhyjqlwrrw, finalize script path /path$
2020-12-03 12:13:55.141 FINE: [83] org.jitsi.jibri.statsd.JibriStatsDClient.incrementCounter() Incrementing statsd counter: start:recording
2020-12-03 12:13:55.141 INFO: [83] org.jitsi.jibri.status.JibriStatusManager.log() Busy status has changed: IDLE -> BUSY
2020-12-03 12:13:55.142 FINE: [83] org.jitsi.jibri.webhooks.v1.WebhookClient.invokeSuspend() Updating 0 subscribers of status
2020-12-03 12:13:55.142 INFO: [83] org.jitsi.jibri.api.xmpp.XmppApi.updatePresence() Jibri reports its status is now JibriStatus(busyStatus=BUSY, health=OverallHealth(healthStatus=$
2020-12-03 12:13:55.143 INFO: [83] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Sending 'pending' response to start IQ
2020-12-03 12:13:55.379 FINE: [93] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Visiting url https://mydomain.com/testroom#config.iAmRecorder=true&config.externalConnec$
2020-12-03 12:13:56.923 FINE: [93] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined
2020-12-03 12:13:57.956 INFO: [93] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Waited 1236 milliseconds for call page to load
2020-12-03 12:13:57.956 INFO: [93] org.jitsi.jibri.selenium.JibriSelenium.<init>() Starting empty call check with a timeout of PT30S
2020-12-03 12:13:57.970 INFO: [93] org.jitsi.jibri.selenium.JibriSelenium.onSeleniumStateChange() Transitioning from state Starting up to Running
2020-12-03 12:13:57.970 INFO: [93] org.jitsi.jibri.service.impl.FileRecordingJibriService.invoke() Selenium joined the call, starting the capturer
2020-12-03 12:13:58.009 INFO: [93] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.launch() Starting ffmpeg with command ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1280x720 -t$
2020-12-03 12:14:03.016 FINE: [18] org.jitsi.jibri.util.ProcessStatePublisher.ffmpeg.invoke() Process ffmpeg hasn't written in 2 seconds, publishing periodic update
2020-12-03 12:14:03.016 INFO: [96] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegProcessUpdate() Ffmpeg quit abruptly.  Last output line: plug:bsnoop: Input/output error
2020-12-03 12:14:03.019 INFO: [96] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegStateMachineStateChange() Ffmpeg capturer transitioning from state Starting up to Error: Qu$
2020-12-03 12:14:03.020 INFO: [96] org.jitsi.jibri.service.impl.FileRecordingJibriService.onServiceStateChange() File recording service transitioning from state Starting up to Erro$
2020-12-03 12:14:03.020 INFO: [96] org.jitsi.jibri.api.xmpp.XmppApi.invoke() Current service had an error Error: QuitUnexpectedly SESSION plug:bsnoop: Input/output error, sending e$
2020-12-03 12:14:03.021 FINE: [96] org.jitsi.jibri.statsd.JibriStatsDClient.incrementCounter() Incrementing statsd counter: stop:recording
2020-12-03 12:14:03.027 INFO: [96] org.jitsi.jibri.JibriManager.stopService() Stopping the current service
2020-12-03 12:14:03.033 INFO: [96] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Stopping capturer
2020-12-03 12:14:03.033 INFO: [96] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() Stopping ffmpeg process
2020-12-03 12:14:03.037 INFO: [96] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() ffmpeg exited with value 1
2020-12-03 12:14:03.037 INFO: [96] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Quitting selenium
2020-12-03 12:14:03.070 INFO: [96] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Participants in this recording: []
2020-12-03 12:14:03.082 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Leaving call and quitting browser
2020-12-03 12:14:03.082 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Recurring call status checks cancelled
2020-12-03 12:14:03.097 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 12 log entries for type browser
2020-12-03 12:14:03.512 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 627 log entries for type driver
2020-12-03 12:14:04.048 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 0 log entries for type client
2020-12-03 12:14:04.049 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Leaving web call
2020-12-03 12:14:04.469 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Quitting chrome driver
2020-12-03 12:14:04.563 INFO: [96] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Chrome driver quit
2020-12-03 12:14:04.564 INFO: [96] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Finalizing the recording
2020-12-03 12:14:04.565 SEVERE: [96] org.jitsi.jibri.service.impl.FileRecordingJibriService.finalize() Failed to run finalize script: java.io.IOException: Cannot run program "/path$
java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
org.jitsi.jibri.util.ProcessWrapper.start(ProcessWrapper.kt:87)
org.jitsi.jibri.service.impl.FileRecordingJibriService.finalize(FileRecordingJibriService.kt:212)
...

So, anyone knows I can do?

I think that the problem is here:

2020-12-03 13:21:00.076 INFO: [44] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Sending 'pending' response to start IQ
2020-12-03 13:21:00.340 FINE: [56] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Visiting url https://mydomain.com/roomtest#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.requireDisplayName=false
2020-12-03 13:21:02.826 FINE: [56] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined

So, ¿I can’t record without create user?

No, the problem is here:

root@recording:~# modprobe snd-aloop
modprobe: FATAL: Module snd-aloop not found in directory /lib/modules/5.4.0-1030-aws

But, I update the grub, reboot the server and problem persist…

Problem persist, and I some thread I read that Jibri is not compatible with Ubuntu 18.04. It’s true?

The problem is that when I do modprobe snd-aloop the terminal shows me FATAL: Module snd-aloop not found, but if I update the Grub and reboot, the error continues…

Any help?

This is related in the kernel in use. You need to switch to the standard Linux kernel (not the cloud kernel which has no support for this module) and IIRC you need also to install an extra package which contains the related module.

Yeah, you’re right emrah. I change the GRUB (in my case was 1>6) and now is generic. I installed Jibri and record button works. Thanks!

PS: I have a new problem, but I wanna open a new thread for this.