Set up jigasi for transcription

I am trying to install jigasi in my jitsi server to use it for transcription.
I followed the quick install here:
quick install
And I did:
sudo apt install jigasi
I didn’t have a SIP account, nor I know what it is, but according to this:
registarless SIP acct
I created an account: myname@192.168.1.108 and a password
Then I restarted the jitsi server and I launched a meeting, but no phone show on the right.

Now I’ve changed configuration file /etc/jitsi/meet/example.com-config.js as follows
// Transcription (in interface_config,
// subtitles and buttons can be configured)
// transcribingEnabled: false,
transcribingEnabled: true,

and changed configuration in:
/etc/jitsi/jigasi/sip-communicator.properties to read:
org.jitsi.jigasi.ENABLE_TRANSCRIPTION=true
org.jitsi.jigasi.ENABLE_SIP=true

and CC sign is shown on the video screen, but does not seem to cause any effect.
No errors nor actions show in console.
Is anything else needed in the configuration?
Where is it supposed to get the transcription?

This is the final part of my jigasi.log:

2020-10-04 21:52:39.149 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
2020-10-04 21:52:39.156 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-defaults.properties with class loader, will continue without it.
2020-10-04 21:52:39.156 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
2020-10-04 21:52:39.157 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
2020-10-04 21:52:39.196 SEVERE: [10] impl.configuration.ConfigurationActivator.log() Error creating c lib instance for fixing file permissions
java.nio.file.FileSystemException: /etc/jitsi/jigasi: Operation not permitted
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileAttributeViews$Posix.setMode(UnixFileAttributeViews.java:238)
	at sun.nio.fs.UnixFileAttributeViews$Posix.setPermissions(UnixFileAttributeViews.java:260)
	at java.nio.file.Files.setPosixFilePermissions(Files.java:2045)
	at net.java.sip.communicator.impl.configuration.ConfigurationActivator.fixPermissions(ConfigurationActivator.java:167)
	at net.java.sip.communicator.impl.configuration.ConfigurationActivator.start(ConfigurationActivator.java:88)
	at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:307)
	at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:472)
	at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:137)
	at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:122)
	at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:28)
	at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:231)
2020-10-04 21:52:39.239 INFO: [10] impl.resources.ResourceManagementActivator.start().81 Resource manager STARTED
2020-10-04 21:52:39.240 INFO: [10] impl.resources.ResourceManagementActivator.start().90 Resource manager REGISTERED
2020-10-04 21:52:39.258 INFO: [10] impl.dns.DnsUtilActivator.start().120 DNS service ... [STARTING]
2020-10-04 21:52:39.321 INFO: [10] util.NetworkUtils.<clinit>().117 java.net.preferIPv6Addresses=null
2020-10-04 21:52:39.321 INFO: [10] util.NetworkUtils.<clinit>().118 java.net.preferIPv4Stack=null
2020-10-04 21:52:39.337 INFO: [10] impl.dns.DnsUtilActivator.start().146 ParallelResolver ... [REGISTERED]
2020-10-04 21:52:39.337 INFO: [10] impl.dns.DnsUtilActivator.start().160 DNS service ... [STARTED]
2020-10-04 21:52:40.401 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address Manager         ...[  STARTED ]
2020-10-04 21:52:40.410 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address Manager Service ...[REGISTERED]
2020-10-04 21:52:40.419 INFO: [11] impl.netaddr.NetworkConfigurationWatcher.checkNetworkInterfaces().398 Currently Active eth0:[/172.31.28.93]
2020-10-04 21:52:40.434 INFO: [11] impl.dns.DnsUtilActivator.logDNSServers().295 Loading or Reloading resolver config, default DNS servers are: 172.31.0.2, 
2020-10-04 21:52:40.587 WARNING: [10] impl.sysactivity.SystemActivityNotifications.<clinit>().141 Failed to initialize native counterpart
java.lang.UnsatisfiedLinkError: /tmp/jna--1160142225/jna2000253716789985375.tmp: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
	at java.lang.Runtime.load0(Runtime.java:810)
	at java.lang.System.load(System.java:1088)
	at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:96)
	at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:37)
	at net.java.sip.communicator.impl.sysactivity.SystemActivityNotifications.<clinit>(SystemActivityNotifications.java:125)
	at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.isSupported(SystemActivityNotificationsServiceImpl.java:606)
	at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.start(SystemActivityNotificationsServiceImpl.java:143)
	at net.java.sip.communicator.impl.sysactivity.SysActivityActivator.start(SysActivityActivator.java:70)
	at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:307)
	at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:472)
	at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:137)
	at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:122)
	at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:28)
	at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:231)
2020-10-04 21:52:41.035 INFO: [10] impl.packetlogging.PacketLoggingActivator.start().100 Packet Logging Service ...[REGISTERED]
2020-10-04 21:52:41.043 INFO: [10] service.notification.NotificationServiceActivator.start().48 Notification Service...[  STARTED ]
2020-10-04 21:52:41.084 INFO: [10] service.notification.NotificationServiceActivator.start().55 Notification Service ...[REGISTERED]
2020-10-04 21:52:42.437 SEVERE: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.log() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with JMF.
java.lang.IllegalStateException: audioSystem
	at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:156)
	at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:136)
	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 java.lang.Class.newInstance(Class.java:442)
	at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1047)
	at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:366)
	at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:162)
	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 java.lang.Class.newInstance(Class.java:442)
	at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:196)
	at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
	at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
	at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:69)
	at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:173)
	at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:125)
	at net.java.sip.communicator.impl.neomedia.NeomediaActivator.start(NeomediaActivator.java:391)
	at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:307)
	at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:472)
	at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:137)
	at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:122)
	at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:28)
	at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:231)
2020-10-04 21:52:42.540 INFO: [10] impl.neomedia.NeomediaActivator.start().542 Audio Notifier Service ...[REGISTERED]
2020-10-04 21:52:42.588 INFO: [10] org.jitsi.version.AbstractVersionActivator.log() VersionService registered: Jigasi 1.1.126-g6df3db2
2020-10-04 21:52:42.675 FINE: [10] plugin.reconnectplugin.ReconnectPluginActivator.start().193 Found 0 already installed providers.
2020-10-04 21:52:42.976 INFO: [10] org.jitsi.jigasi.JigasiBundleActivator.start().207 initialized SipGateway
2020-10-04 21:52:42.992 INFO: [10] org.jitsi.jigasi.JigasiBundleActivator.start().228 initialized TranscriptionGateway
2020-10-04 21:52:43.494 INFO: [10] org.eclipse.jetty.util.log.initialized() Logging initialized @10402ms to org.eclipse.jetty.util.log.Slf4jLog

And the jicofo error when transcribing:

< Jicofo 2020-10-04 21:58:47.814 INFO: [46] org.jitsi.jicofo.xmpp.FocusComponent.log() Focus request for room: attractivespotlightsdesigndirectly@conference.meet.mydomain.com
< Jicofo 2020-10-04 21:58:47.833 INFO: [46] org.jitsi.jicofo.FocusManager.log() Created new focus for attractivespotlightsdesigndirectly@conference.meet.mydomain.com@auth.meet.mydomain.com. Conference count 1,options: channelLastN=-1 enableLipSync=false openSctp=true disableRtx=false
< Jicofo 2020-10-04 21:58:47.834 INFO: [46] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: attractivespotlightsdesigndirectly@conference.meet.mydomain.com
< Jicofo 2020-10-04 21:58:51.355 INFO: [28] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@233ce527 member=ChatMember[attractivespotlightsdesigndirectly@conference.meet.mydomain.com/902584a9, jid: null]@1970303366]
< Jicofo 2020-10-04 21:58:51.358 INFO: [28] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Granted owner to attractivespotlightsdesigndirectly@conference.meet.mydomain.com/902584a9
< Jicofo 2020-10-04 21:58:51.358 INFO: [28] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member attractivespotlightsdesigndirectly@conference.meet.mydomain.com/902584a9 joined.
< Jicofo 2020-10-04 21:59:04.815 SEVERE: [121] org.jitsi.jicofo.jigasi.TranscriberManager.log() Error finding room for null
< Jicofo 2020-10-04 21:59:04.816 INFO: [121] org.jitsi.jicofo.jigasi.TranscriberManager.log() Attempting to invite transcriber

Summarizing I think that the main errors shown in jigasi.log are:

2020-10-04 21:52:39.156 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-defaults.properties with class loader, will continue without it.
2020-10-04 21:52:39.157 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
2020-10-04 21:52:39.196 SEVERE: [10] impl.configuration.ConfigurationActivator.log() Error creating c lib instance for fixing file permissions
2020-10-04 21:52:42.437 SEVERE: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.log() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with JMF.
2020-10-04 21:52:40.587 WARNING: [10] impl.sysactivity.SystemActivityNotifications.<clinit>().141 Failed to initialize native counterpart
2020-10-04 21:52:44.606 WARNING: [10] org.jitsi.jigasi.xmpp.CallControlMucActivator.start().99 MUC call control disabled.
2020-10-04 21:52:47.711 WARNING: [56] org.jitsi.jigasi.health.SipHealthPeriodicChecker.log() No health check started, no HEALTH_CHECK_SIP_URI prop.

And in Jicofo:

Jicofo 2020-10-04 21:52:38.170 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-defaults.properties with class loader, will continue without it.
Jicofo 2020-10-04 21:52:38.171 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
Jicofo 2020-10-04 21:52:40.081 WARNING: [10] org.jitsi.jicofo.FocusManager.log() Jicofo ID is not set. Configure a valid value [1-65535] by setting org.jitsi.jicofo.SHORT_ID. Future versions will require this for Octo.
Jicofo 2020-10-04 21:52:40.237 WARNING: [10] org.jitsi.jicofo.FocusManager.log() No dedicated JVB MUC XMPP connection configured - falling back to the default XMPP connection
Jicofo 2020-10-04 21:52:46.743 WARNING: [16] org.jitsi.impl.protocol.xmpp.OpSetSimpleCapsImpl.log() Failed to discover features for focus.meet2.alela.com: XMPP error reply received from focus.meet2.alela.com: XMPPError: service-unavailable - wait
Jicofo 2020-10-04 21:52:46.752 WARNING: [16] org.jitsi.impl.protocol.xmpp.OpSetSimpleCapsImpl.log() Failed to discover features for conferenceduration.meet2.alela.com: XMPP error reply received from conferenceduration.meet2.alela.com: XMPPError: service-unavailable - cancel
Jicofo 2020-10-04 21:52:46.848 WARNING: [16] org.jitsi.impl.protocol.xmpp.OpSetSimpleCapsImpl.log() Failed to discover features for speakerstats.meet2.alela.com: XMPP error reply received from speakerstats.meet2.alela.com: XMPPError: service-unavailable - cancel

Any help is welcome!

I found this thread to be very useful:


I will post here my conclusions or further ask for help!

are you able to find a solution ??

@aishu:

The anser is no. I failed with jigasi installation for transcription.
I was confused since I didn’t know how XMPP and SIP works. So I gave up after two days of failing.
I unistalled everything and switched to install jibri to be able to make recordings and in that attempt, I found some jibri steps that were related to jigasi and I realized that I lacked the creation of those ghost users that are needed to collect the data that will be sent to google speech2txt api.

So I decided to retry with jigasi once I solve some more urgent issues I have.
I will be back here if the second attempt is successful.