Error starting Jibri service : java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.jibri.selenium.JibriSelenium

I get this error when i try recording meeting.
org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq() Received JibriIq from environment 10.0.3.73
2019-03-26 11:16:42.681 INFO: [24] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Received start request
2019-03-26 11:16:42.681 INFO: [24] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Sending ‘pending’ response to start IQ
2019-03-26 11:16:42.682 INFO: [37] org.jitsi.jibri.api.xmpp.XmppApi.run() Starting service
2019-03-26 11:16:42.683 INFO: [37] org.jitsi.jibri.api.xmpp.XmppApi.handleStartService() Parsed call url info: CallUrlInfo(baseUrl=https://10.0.3.73, callName=123, urlParams=)
2019-03-26 11:16:42.684 INFO: [37] org.jitsi.jibri.JibriManager.startFileRecording() Starting a file recording with params: FileRecordingRequestParams(callParams=CallParams(callUrlInfo=CallUrlInfo(baseUrl=https://10.0.3.73, callName=123, urlParams=)), sessionId=qrmzvedythpzimgr, callLoginParams=XmppCredentials(domain=recorder.10.0.3.73, username=recorder, password=jibrirecorderpass)) finalize script path: /home/developer/Desktop/finalize_recording.sh and recordings directory: /srv/recordings
2019-03-26 11:16:42.684 SEVERE: [37] org.jitsi.jibri.api.xmpp.XmppApi.run() Error starting Jibri service : java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.jibri.selenium.JibriSelenium with stack:
org.jitsi.jibri.service.impl.FileRecordingJibriService.(FileRecordingJibriService.kt:103)
org.jitsi.jibri.JibriManager.startFileRecording(JibriManager.kt:134)
org.jitsi.jibri.api.xmpp.XmppApi.handleStartService(XmppApi.kt:290)
org.jitsi.jibri.api.xmpp.XmppApi.access$handleStartService(XmppApi.kt:71)
org.jitsi.jibri.api.xmpp.XmppApi$handleStartJibriIq$1.run(XmppApi.kt:200)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

This seems odd. How did you install Jibri?

I followed the steps of the video.
https://jitsi.org/news/learn-how-to-live-stream-and-record-on-your-jitsi-meet-install/

I get different error when i execute like root user:
org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq() Received JibriIq from environment 10.0.3.185
2019-03-26 17:56:32.353 INFO: [25] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Received start request
2019-03-26 17:56:32.353 INFO: [25] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Sending ‘pending’ response to start IQ
2019-03-26 17:56:32.355 INFO: [36] org.jitsi.jibri.api.xmpp.XmppApi.run() Starting service
2019-03-26 17:56:32.356 INFO: [36] org.jitsi.jibri.api.xmpp.XmppApi.handleStartService() Parsed call url info: CallUrlInfo(baseUrl=https://10.0.3.185, callName=123, urlParams=)
2019-03-26 17:56:32.357 INFO: [36] org.jitsi.jibri.JibriManager.startFileRecording() Starting a file recording with params: FileRecordingRequestParams(callParams=CallParams(callUrlInfo=CallUrlInfo(baseUrl=https://10.0.3.185, callName=123, urlParams=)), sessionId=cajwkqmkqtmrkxls, callLoginParams=XmppCredentials(domain=recorder.10.0.3.185, username=recorder, password=jibrirecorderpass)) finalize script path: /home/developer/Desktop/finalize_recording.sh and recordings directory: /srv/recordings
Starting ChromeDriver 2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926) on port 16838
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
2019-03-26 17:56:32.535 SEVERE: [36] org.jitsi.jibri.api.xmpp.XmppApi.run() 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/local/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
(Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.15.0-45-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 70 milliseconds
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘ubuntu’, ip: ‘127.0.1.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘4.15.0-45-generic’, java.version: ‘1.8.0_191’
Driver info: driver.version: ChromeDriver with stack:
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:219)
org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:142)
org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:181)
org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:168)
org.jitsi.jibri.selenium.JibriSelenium.(JibriSelenium.kt:143)
org.jitsi.jibri.selenium.JibriSelenium.(JibriSelenium.kt:101)
org.jitsi.jibri.service.impl.FileRecordingJibriService.(FileRecordingJibriService.kt:103)
org.jitsi.jibri.JibriManager.startFileRecording(JibriManager.kt:134)
org.jitsi.jibri.api.xmpp.XmppApi.handleStartService(XmppApi.kt:290)
org.jitsi.jibri.api.xmpp.XmppApi.access$handleStartService(XmppApi.kt:71)
org.jitsi.jibri.api.xmpp.XmppApi$handleStartJibriIq$1.run(XmppApi.kt:200)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Hi @Roman_Jimenez,

what is the Chrome and Chrome Driver version you are using? The Chrome seems to be crashing? Are you confident the Chrome has been installed correctly?

Abhijit

Now Jitsi working with this steps whith Ubuntu 16.04 Server
apt update
apt -y install linux-image-extra-virtual
uname -a
reboot
modprobe snd-aloop
lsmod | grep aloop
echo “snd-aloop” >> /etc/modules
wget -qO - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo “deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main” > /etc/apt/sources.list.d/google-chrome.list
apt update
apt -y install google-chrome-stable
apt install curl
CHROME_DRIVER_VERSION=curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE
wget http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip
apt -y install unzip
unzip chromedriver_linux64.zip -d /usr/local/bin/
rm chromedriver_linux64.zip
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
echo “deb https://download.jitsi.org unstable/” > /etc/apt/sources.list.d/jitsi-unstable.list
apt update
apt -y install jibri
nano /etc/jitsi/jibri/config.json

#“recording_directory”:"/srv/recordings"

#control_login
#“username”: “jibri”
#“password”: “jibriauthpass”

#call_login
#“username”: “recorder”
#“password”: “jibrirecorderpass”

mkdir /srv/recordings
chown jibri:jitsi /srv/recordings/

IF CHROMEDRIVER NOT WORKING

wget https://chromedriver.storage.googleapis.com/2.40/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
sudo mv chromedriver /usr/bin/chromedriver
sudo chown root:root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver
reboot

I tried install in Ubuntu Desktop and not working with Graphical Interfaz only with Ubuntu Server.

Regards.

I have build a script to get Jibri working out of the box on 16.04

In case you might wanna test:

Best regards

OK Thanks. Regards