Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Has anyone set up a jitsi meet server lately?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
fberger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 89
Location: Germany

PostPosted: Wed Mar 18, 2020 8:42 am    Post subject: Has anyone set up a jitsi meet server lately? Reply with quote

I am in the process of setting up a jitsi meet server. jitsi is a capable multi-platform open-source video conferencing system.

They officially support Debian only, and their manual installation looks a bit painful.

So, before I start: has anyone set up a jitsi meet server on Gentoo lately?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6357

PostPosted: Wed Mar 18, 2020 7:18 pm    Post subject: Reply with quote

That document looks pretty daunting, but it sounds easier if you rearrange it into logical steps:

1. Get a plain Prosody server running, no Jitsi
2. Set up a BOSH reverse HTTP proxy for it (strictly speaking, any capable webserver is fine here)
3. Install videobridge and jicofo, and plumb them into Prosody by adding their stuff to prosody.cfg.lua
4. Install jitsi-meet itself and set up its nginx stuff

The first two are well documented and not specific to jitsi, and the other three parts are just running daemons and adding config changes.
Shouldn't even be as hard as following the Gentoo Handbook.
If you go this route, I'd recommend creating a separate jitsi user to contain the out-of-portage stuff.
Back to top
View user's profile Send private message
fberger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 89
Location: Germany

PostPosted: Sat Mar 21, 2020 8:48 pm    Post subject: Reply with quote

Thanks for the encouragement. :D I have tried, and I gave up.

1. and 2. went pretty flawlessly.

3. still was okay, but their Java stuff does not have particularly user-friendly logging or monitoring, so there is little way of knowing whether it all works before the whole system is set up.

But 4. really turned out to be more difficult than worth the effort. Their JavaScript web application is based on React and set up using a couple of tools running on node.js. (Mind you: just for the setup. The final web app is static and does not require node at all.) This might be not uncommon these days, but engineering-wise I still think it odd. Anyways, their npm install + make did not succeed, and after finding myself tinkering with the depths of node-sass longer than I wanted to I figured this is not worth the time.

So I set up a virtual Debian box, on which the quick installation procedure was a matter of minutes.

I think it's sad and a missed opportunity to make the setup of such a powerful and useful software specific to a single distribution.
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 281

PostPosted: Fri Apr 03, 2020 10:47 am    Post subject: Reply with quote

I'm also looking for way to install jitsi-meet. Glad to find this posts. I succeeded in installing by their manual guide - npm install + make did succeed.

I'm able to go to page wia browser and see welcome screen with create channel input. I can create channel, set nick, webcam and microphone but can't chat. After a while I'm disconnected and reconnected. I'm looking for why and I found in jicofo output:

Jicofo 2020-04-03 12:02:39.015 SEVERE: [18] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().315 Failed to connect/login: undefined-condition You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions

Seems it's the reason and must be something between Jicofo and Prosody, but I still don't know what and how to debug :-(
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 281

PostPosted: Fri Apr 03, 2020 11:09 am    Post subject: Reply with quote

little progress - had bad paths to certs in Prosody config. Now I get:

Jicofo 2020-04-03 12:59:34.007 SEVERE: [18] org.jitsi.jicofo.discovery.DiscoveryUtil.discoverVersion().217 Failed to discover version, req: <iq to='jitsi-videobridge.jitsi.example.com' id='2lbBz-21' type='get'><query xmlns='jabber:iq:version'></query></iq>, response: <iq to='focus@auth.jitsi.example.com/focus29708504272224' from='jitsi-videobridge.jitsi.example.com' id='2lbBz-21' type='error'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>

I have all *.example.com sites set to localhost in hosts file for this testing purpose.
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 281

PostPosted: Fri Apr 03, 2020 11:21 am    Post subject: Reply with quote

Have log from JVB - video bridge. It seems that Jicofo asks for features and in answer is version feature and when it asks for version it returns error. Strange.

JVB 2020-04-03 13:13:10.584 FINE: [197] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component 'JitsiVideobridge') Processing IQ request (packetId t5DNo-19).
JVB 2020-04-03 13:13:10.585 FINE: [197] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component 'JitsiVideobridge') Responding to IQ (packetId t5DNo-19) with: <iq type="result" id="t5DNo-19" from="jitsi-videobridge.jitsi.example.com" to="focus@auth.jitsi.example.com/focus30525093291095"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="conference" name="JitsiVideobridge"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="urn:xmpp:ping"/><feature var="jabber:iq:last"/><feature var="urn:xmpp:time"/><feature var="http://jitsi.org/protocol/colibri"/><feature var="http://jitsi.org/protocol/healthcheck"/><feature var="urn:xmpp:jingle:apps:dtls:0"/><feature var="urn:xmpp:jingle:transports:ice-udp:1"/><feature var="urn:xmpp:jingle:transports:raw-udp:1"/><feature var="jabber:iq:version"/></query></iq>
JVB 2020-04-03 13:13:10.587 FINE: [199] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component 'JitsiVideobridge') Processing IQ (packetId t5DNo-21): <iq type="get" to="jitsi-videobridge.jitsi.example.com" from="focus@auth.jitsi.example.com/focus30525093291095" id="t5DNo-21"><query xmlns="jabber:iq:version"/></iq>
JVB 2020-04-03 13:13:10.588 FINE: [199] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component 'JitsiVideobridge') Processing IQ request (packetId t5DNo-21).
JVB 2020-04-03 13:13:10.596 FINE: [199] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component 'JitsiVideobridge') Responding to IQ (packetId t5DNo-21) with: <iq to="focus@auth.jitsi.example.com/focus30525093291095" from="jitsi-videobridge.jitsi.example.com" id="t5DNo-21" type="error"><error type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable></error></iq>
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 281

PostPosted: Fri Apr 03, 2020 11:59 am    Post subject: Reply with quote

I notice Jicofo not ended on that error and continued:

Jicofo 2020-04-03 13:56:19.267 SEVERE: [18] org.jitsi.jicofo.discovery.DiscoveryUtil.discoverVersion().217 Failed to discover version, req: <iq to='jitsi-videobridge.jitsi.example.com' id='6YaHH-21' type='get'><query xmlns='jabber:iq:version'></query></iq>, response: <iq to='focus@auth.jitsi.example.com/focus33113761729055' from='jitsi-videobridge.jitsi.example.com' id='6YaHH-21' type='error'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
Jicofo 2020-04-03 13:56:19.267 INFO: [18] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: jitsi-videobridge.jitsi.example.com, null
Jicofo 2020-04-03 13:56:19.268 WARNING: [18] org.jitsi.jicofo.bridge.BridgeSelector.log() No pub-sub node mapped for jitsi-videobridge.jitsi.example.com
Jicofo 2020-04-03 13:56:19.269 INFO: [18] org.jitsi.jicofo.bridge.Bridge.log() Setting max total packet rate of 50800.0
Jicofo 2020-04-03 13:56:19.269 INFO: [18] org.jitsi.jicofo.bridge.Bridge.log() Setting average participant packet rate of 500
Jicofo 2020-04-03 13:56:19.270 INFO: [18] org.jitsi.jicofo.bridge.BridgeSelector.log() Added new videobridge: Bridge[jid=jitsi-videobridge.jitsi.example.com, relayId=null, region=null, stress=0,00]
Jicofo 2020-04-03 13:56:19.273 INFO: [18] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: conference.jitsi.example.com, null
Jicofo 2020-04-03 13:56:19.274 INFO: [18] org.jitsi.jicofo.JitsiMeetServices.log() MUC component discovered: conference.jitsi.example.com
Jicofo 2020-04-03 13:56:19.275 INFO: [18] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: auth.jitsi.example.com, Prosody(0.11.5,Linux)
Jicofo 2020-04-03 13:56:19.275 INFO: [18] org.jitsi.jicofo.JitsiMeetServices.log() Detected XMPP server version: Prosody(0.11.5,Linux)
Jicofo 2020-04-03 13:56:19.276 INFO: [18] org.jitsi.jicofo.ComponentsDiscovery.log() Services re-discovery interval: 30000
Jicofo 2020-04-03 13:56:19.276 INFO: [18] org.jitsi.jicofo.FocusManager.log() XMPP provider reg state: RegistrationState=Registered
Jicofo 2020-04-03 13:56:19.281 INFO: [18] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().305 XMPP provider Jabber:focus@auth.jitsi.example.com/focus33113761729055@localhost connected (JID: focus@auth.jitsi.example.com/focus33113761729055)
Jicofo 2020-04-03 13:56:19.541 INFO: [12] org.eclipse.jetty.server.handler.ContextHandler.doStart() Started o.e.j.s.ServletContextHandler@6492d58c{/,null,AVAILABLE}
Jicofo 2020-04-03 13:56:19.559 INFO: [12] org.eclipse.jetty.server.AbstractConnector.doStart() Started MuxServerConnector@765a5dcf{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}
Jicofo 2020-04-03 13:56:19.560 INFO: [12] org.eclipse.jetty.server.Server.doStart() Started @967ms
Jicofo 2020-04-03 13:56:19.561 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
Jicofo 2020-04-03 13:56:19.561 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator
Jicofo 2020-04-03 13:56:19.561 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.jabber.extensions.caps.EntityCapsManager.CAPS.http://prosody.im#wBlvgkM1+mhpz81eJoge4hYoI0Q==<query xmlns='http://jabber.org/protocol/disco#info' node='http://prosody.im#wBlvgkM1+mhpz81eJoge4hYoI0Q='><identity category='pubsub' name='Prosody' type='pep'/><identity category='server' name='Prosody' type='im'/><feature var='urn:xmpp:carbons:2'/><feature var='http://jabber.org/protocol/commands'/><feature var='jabber:iq:private'/><feature var='jabber:iq:register'/><feature var='urn:xmpp:ping'/><feature var='jabber:iq:version'/><feature var='http://jabber.org/protocol/pubsub#publish'/><feature var='urn:xmpp:blocking'/><feature var='jabber:iq:last'/><feature var='msgoffline'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='jabber:iq:roster'/><feature var='urn:xmpp:time'/><feature var='jabber:iq:time'/></query>
Jicofo 2020-04-03 13:56:19.562 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.videobridge.TCP_HARVESTER_PORT=4443
Jicofo 2020-04-03 13:56:19.562 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/home/jitsi
Jicofo 2020-04-03 13:56:19.567 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() Component org.jitsi.jicofo. config:
Jicofo 2020-04-03 13:56:19.568 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() ping interval: 10000 ms
Jicofo 2020-04-03 13:56:19.568 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() ping timeout: 5000 ms
Jicofo 2020-04-03 13:56:19.568 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() ping threshold: 3
Jicofo 2020-04-03 13:56:49.288 INFO: [31] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: focus.jitsi.example.com, null
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 281

PostPosted: Sat Apr 04, 2020 2:20 pm    Post subject: Reply with quote

Really difficult :cry: Installed Ubuntu on virtual server to see how it works there. Seems on Ubuntu it uses slightly different configs than in installation manual. Program files are different also. But it works.
I tried to copy versions and configs from Ubuntu to Gentoo (and modify them for local usage) but I didn't achieve any progress. I'm still able to get to web screen of jitsi but it seems there is something missing - maybe some communication between parts.
I don't know what should I try next so I must give up for now.
If somebody succeeds or go any further, please let me know here.
Thanks.
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 281

PostPosted: Sun Apr 05, 2020 11:33 am    Post subject: Reply with quote

Finally it works. I read some info on jitsi forum about BOSH needs to have info about port. So I tried to change port in meet config.
Not to be happy in advance - I just tried co connect with one participant. Not seeing all emoji and not seeing stats of connection as on Ubuntu VM.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1044

PostPosted: Sun Apr 05, 2020 11:36 am    Post subject: Reply with quote

I would be happy if someone with know-how could create an ebuild for jiitsi-meet one day.
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 539

PostPosted: Sun Apr 05, 2020 11:47 am    Post subject: Reply with quote

I am a friend of installing everything directly on my server/machine, too, but if you want to install jitsi meet in a - hopefully - easier manner, you could try using docker.
https://github.com/jitsi/docker-jitsi-meet
This way, you only have to link to a config file and set up an reverse proxy (TBH - I haven't tried it myself. Only read about jitsi meet in the last weeks).
_________________
Intel Core i7 6700
ASUS Z170 PRO GAMING
32 GB DDR4 RAM
GeForce GTX 1070
Gentoo Linux (most recent stable kernel - amd64)
Windows 10 x64
Back to top
View user's profile Send private message
fberger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 89
Location: Germany

PostPosted: Tue Apr 07, 2020 9:25 am    Post subject: Reply with quote

Elleni wrote:
I would be happy if someone with know-how could create an ebuild for jiitsi-meet one day.

I second that, but the ebuild in itself would not really be the problem. The hassle starts with all the setup tools which might break (NPM, Maven) as well as the intricate port configuration with Nginx etc., down to possible local firewall rules.

If upstream development does not want to support multiple distributions, the hard work will be maintaining the ebuild and keeping it running on a system that the jitsi developers do not care about. And given that jitsi-meet is set up on Debian with a handful of apt-gets in minutes, it is questionable whether this is worth the effort.
Back to top
View user's profile Send private message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 308
Location: Caucasia

PostPosted: Thu Apr 09, 2020 8:59 pm    Post subject: Reply with quote

DeIM wrote:
Finally it works. I read some info on jitsi forum about BOSH needs to have info about port. So I tried to change port in meet config.
Not to be happy in advance - I just tried co connect with one participant. Not seeing all emoji and not seeing stats of connection as on Ubuntu VM.


I've been banging my head against a wall too. I may try the docker route, but for now I'm going to see how good Nextcloud Talk will work for conference. Not as easy, but still better than Zoom.
_________________
Open-mindedness is painful...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum