Installation can't finish, '/usr/share/doc/jitsi-meet-web-config/config.js': No such file or directory


#1

Hi there!
I’m trying to make my own docker-container of jitsi to quickly deploy it when needed. However I can’t finish the setup due to those errors (which weren’t there before I changed to Ubuntu 18.04 I think):

...
Generating a 4096 bit RSA private key
..................................................................................................................................................++
.......................................++
writing new private key to '/etc/jitsi/meet/jitsi.domain.com.key'
-----
cp: cannot stat '/usr/share/doc/jitsi-meet-web-config/config.js': No such file or directory
dpkg: error processing package jitsi-meet-web-config (--configure):
 installed jitsi-meet-web-config package post-installation script subprocess returned error exit status 1
Setting up lua-filesystem:amd64 (1.6.3-1) ...
Setting up lua-bitop:amd64 (1.0.2-5) ...
Setting up jitsi-meet-web (1.0.3081-1) ...
Setting up lua5.1 (5.1.5-8.1build2) ...
update-alternatives: using /usr/bin/lua5.1 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lua.1.gz because associated file /usr/share/man/man1/lua5.1.1.gz (of link group lua-interpreter) doesn't exist
update-alternatives: using /usr/bin/luac5.1 to provide /usr/bin/luac (lua-compiler) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/luac.1.gz because associated file /usr/share/man/man1/luac5.1.1.gz (of link group lua-compiler) doesn't exist
Setting up lua-expat:amd64 (1.3.0-4) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up jicofo (1.0-440-1) ...
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up prosody (0.10.0-1build1) ...
Adding user prosody to group ssl-cert
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.
dpkg: dependency problems prevent configuration of jitsi-meet:
 jitsi-meet depends on jitsi-meet-web-config (= 1.0.3081-1); however:
  Package jitsi-meet-web-config is not configured yet.

dpkg: error processing package jitsi-meet (--configure):
 dependency problems - leaving unconfigured
Setting up jitsi-meet-prosody (1.0.3081-1) ...
cp: cannot stat '/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example': No such file or directory
dpkg: error processing package jitsi-meet-prosody (--configure):
 installed jitsi-meet-prosody package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 jitsi-meet-web-config
 jitsi-meet
 jitsi-meet-prosody

and this is what it was supposed to do:

RUN apt-get update && apt-get install apt-transport-https

RUN echo "jitsi-videobridge jitsi-videobridge/jvb-hostname string ${YOURDOMAIN}" | debconf-set-selections && \
    echo "jitsi-meet jitsi-meet/cert-choice select Self-signed certificate will be generated" | debconf-set-selections


RUN wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add - && \
    sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list" && \
    apt-get update && apt-get install -y jitsi-meet && rm -rf /var/cache/apt /var/lib/apt/lists

Any pointers where I’ve gone wrong?

Best regards,
M


#2

What kind of environment is this? Is it a standard Debian / Ubuntu machine or VM?


#3

It’s a Docker container in an Ubuntu 16.04 VM on a proxmox (Debian) host.


#4

Are you using a “slim” image? I know for a fact it will be troublesome.

But more importantly, did you know we now have official Docker images? https://github.com/jitsi/docker-jitsi-meet

I hope that helps, cheers!


#5

Not that I know of, but I’ll check again in a bit. Why would that matter, if I add the jitsi repo, update and install the whole thing? Shouldn’t that include all dependencies?

As for the docker image: That might be an option in the future, but as of now, I need to rebuild the thing by myself.


#6

Using the “slim” base images matters, because they contain APT configuration which prevents anything from being installed in /usr/share/doc/.


Following install from youtube getting error "debconf: unable to initialize frontend: Dialog"
#7

Ok that’s a very good reason, let me investigate and get back to you!
Best regards


#8

I have the same error when trying to install on an bionic container (ubuntu-18.04). However this error does not happen when installing on a buster container (debian-10). So, it may be a problem with ubuntu packages.

Despite installing it on a debian container (buster), it doesn’t work. It says “Unfortunately something went wrong”. There is an error “Connection failed” on the chat as well and the chat does not work. Any idea what may be wrong or how to debug?

The code of the container is here: https://github.com/docker-scripts/jitsi/
The installed container is here: https://meet.fs.al


#9

I don’t think these problems are related.

At any rate, when connecting to your server you can se the following error in the JS console: CONFERENCE FAILED: conference.focusDisconnected focus.meet.fs.al 1. Can you check your jicofo logs?


#10

Sorry for the late reply, I forgot to enable notifications.

Yes, I do see errors on the log file of jicofo (but I can’t understand anything):

Jicofo 2019-01-10 14:22:32.585 WARNING: [37] org.jitsi.impl.protocol.xmpp.ChatRoomImpl.processPresence().1216 Unable to handle packet: <presence to='focus@auth.meet.fs.al/focus522901135616031' from='test11@conference.meet.fs.al/focus' id='Y8009-15695' type='error'><error type='wait'><internal-server-error xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence>
Jicofo 2019-01-10 14:22:32.586 WARNING: [46] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() An exception was caught while invoking stop() as part of handling another exception that occurred while invoking start(). This is the exception that stop() threw (start()'s exception will be thrown next).
java.lang.IllegalArgumentException: The Resourcepart must not be null
	at org.jxmpp.jid.impl.AbstractJid.requireNonNull(AbstractJid.java:243)
	at org.jxmpp.jid.impl.LocalDomainAndResourcepartJid.<init>(LocalDomainAndResourcepartJid.java:49)
	at org.jxmpp.jid.impl.JidCreate.fullFrom(JidCreate.java:335)
	at org.jivesoftware.smackx.muc.MultiUserChat.leave(MultiUserChat.java:741)
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.leave(ChatRoomImpl.java:332)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.leaveTheRoom(JitsiMeetConferenceImpl.java:559)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.stop(JitsiMeetConferenceImpl.java:434)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.start(JitsiMeetConferenceImpl.java:382)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:371)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:320)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:422)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleIQSetImpl(FocusComponent.java:260)
	at org.jitsi.xmpp.component.ComponentBase.handleIQSet(ComponentBase.java:362)
	at org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
	at org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
	at org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
	at org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
	at org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Jicofo 2019-01-10 14:22:32.587 INFO: [46] org.jitsi.jicofo.FocusManager.log() Exception while trying to start the conference
net.java.sip.communicator.service.protocol.OperationFailedException: Failed to join the room
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:298)
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:209)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.joinTheRoom(JitsiMeetConferenceImpl.java:476)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.start(JitsiMeetConferenceImpl.java:337)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:371)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:320)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:422)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleIQSetImpl(FocusComponent.java:260)
	at org.jitsi.xmpp.component.ComponentBase.handleIQSet(ComponentBase.java:362)
	at org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
	at org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
	at org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
	at org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
	at org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from test11@conference.meet.fs.al/focus: XMPPError: internal-server-error - wait
	at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:131)
	at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:256)
	at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:355)
	at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:498)
	at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:444)
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:240)
	... 16 more
Jicofo 2019-01-10 14:22:32.588 SEVERE: [46] org.jitsi.jicofo.xmpp.FocusComponent.handleIQSetImpl().325 net.java.sip.communicator.service.protocol.OperationFailedException: Failed to join the room
net.java.sip.communicator.service.protocol.OperationFailedException: Failed to join the room
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:298)
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:209)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.joinTheRoom(JitsiMeetConferenceImpl.java:476)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.start(JitsiMeetConferenceImpl.java:337)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:371)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:320)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:422)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleIQSetImpl(FocusComponent.java:260)
	at org.jitsi.xmpp.component.ComponentBase.handleIQSet(ComponentBase.java:362)
	at org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
	at org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
	at org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
	at org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
	at org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from test11@conference.meet.fs.al/focus: XMPPError: internal-server-error - wait
	at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:131)
	at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:256)
	at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:355)
	at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:498)
	at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:444)
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:240)
	... 16 more
Jicofo 2019-01-10 14:22:32.589 WARNING: [46] org.jitsi.jicofo.xmpp.FocusComponent.processIQ() (serving component 'Jitsi Meet Focus') Unexpected exception while processing IQ stanza: <iq from="-trywn86ndho67so@meet.fs.al/lidzJ_dB" id="6364b0da-6e3f-47b0-a518-feaab6733866:sendIQ" type="set" to="focus.meet.fs.al"><conference xmlns="http://jitsi.org/protocol/focus" machine-uid="b7a7418314c48707561b0dea21a270c6" room="test11@conference.meet.fs.al"><property name="channelLastN" value="-1"/><property name="disableRtx" value="false"/><property name="enableLipSync" value="true"/><property name="openSctp" value="true"/></conference></iq>
net.java.sip.communicator.service.protocol.OperationFailedException: Failed to join the room
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:298)
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:209)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.joinTheRoom(JitsiMeetConferenceImpl.java:476)
	at org.jitsi.jicofo.JitsiMeetConferenceImpl.start(JitsiMeetConferenceImpl.java:337)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:371)
	at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:320)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:422)
	at org.jitsi.jicofo.xmpp.FocusComponent.handleIQSetImpl(FocusComponent.java:260)
	at org.jitsi.xmpp.component.ComponentBase.handleIQSet(ComponentBase.java:362)
	at org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
	at org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
	at org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
	at org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
	at org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from test11@conference.meet.fs.al/focus: XMPPError: internal-server-error - wait
	at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:131)
	at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:256)
	at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:355)
	at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:498)
	at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:444)
	at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:240)
	... 16 more
Jicofo 2019-01-10 14:22:33.750 INFO: [48] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().402 Focus request for room: test11@conference.meet.fs.al