Failed to start recording (Recordings unavailable)

Hi
I installed Jitsi on AWS and try to start recording, there are an error message “Recordings unavailable”, can you please guide me to resolve this issue.
This is the end of Jicofo error log
When I check the Jibri status service is running.

*rg.jitsi.jicofo.recording.jibri.JibriSession.log() Unable to find an available Jibri, can’t start
Jicofo 2019-05-23 11:32:23.110 INFO: [88] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Failed to start a Jibri session, no Jibris available

● jibri.service - Jibri Process
Loaded: loaded (/etc/systemd/system/jibri.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-05-23 11:28:46 UTC; 13min ago
Main PID: 784 (java)
Tasks: 37 (limit: 65000)
CGroup: /system.slice/jibri.service
└─784 java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -jar /opt/jitsi/jibri/jibri.jar --config /etc/jitsi/

Please attach the Jibri logs as well.

Hi
Sorry for the late response, I was out of town for the last few days.
Please have a look for the attached Jibri and Jicofo logs.jibri.log (179.0 KB)
jicofo.log (179.0 KB)

Hi
Waiting for the response.

Believe your issue is a java version problem. Make sure to use Java 8.

Hi
My current Java version is this
openjdk version “1.8.0_212”
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.16.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)

When i try to install java8 I am getting this error

package oracle-java8-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘oracle-java8-installer’ has no installation candidate

Hi
Not able to install snd-aloop on AWS instance, now am getting this error when I start the recording.

Process ffmpeg hasn’t written in 2 seconds, publishing periodic update
2019-05-31 15:05:16.799 INFO: [64] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegProcessUpdate() Ffmpeg quit abruptly. Last output line: hw:0,1,0: Input/output error
2019-05-31 15:05:16.801 INFO: [64] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegStateMachineStateChange() Ffmpeg capturer transitioning from state Starting up to Error: SESSION Ffmpeg failed to start
2019-05-31 15:05:16.802 INFO: [64] org.jitsi.jibri.service.impl.FileRecordingJibriService.onServiceStateChange() File recording service transitioning from state Starting up to Error: SESSION Ffmpeg failed to start
2019-05-31 15:05:16.803 INFO: [64] org.jitsi.jibri.api.xmpp.XmppApi.invoke() Current service had an error, sending error iq
2019-05-31 15:05:16.803 FINE: [64] org.jitsi.jibri.statsd.JibriStatsDClient.incrementCounter() Incrementing statsd counter: stop:recording
2019-05-31 15:05:16.804 INFO: [64] org.jitsi.jibri.JibriManager.stopService() Stopping the current service
2019-05-31 15:05:16.805 INFO: [64] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Stopping capturer
2019-05-31 15:05:16.806 INFO: [64] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() Stopping ffmpeg process

That log is in line with what you’re saying: ffmpeg isn’t able to find the device. What errors are you getting when trying to set up the ALSA stuff?

Hi,
Thanks, it is working now.