Closed raphael10-collab closed 2 years ago
From you posting to a prosody forum and no prosody installation in your trace I think you installed prosody yourself; maybe you even installed it from source without help of any packager (because of the libevent message; this don't happen when using the Prosody PPA). Maybe you could take a look at this issue, even if it's not the same thing exactly, it shows that installing prosody yourself can lead to problems; also try to use the trace instruction I posted in this thread to investigate further.
@gpatel-fr I remember I installed prosody through official Ubuntu 18.04 repo, and I checked it:
(base) marco@pc:~/XMPP$ sudo apt-cache search prosody
prosody-modules - Selection of community modules for Prosody
ruby-diaspora-prosody-config - Diaspora Configuration Wrapper For Prosodoy
prosody - Lightweight Jabber/XMPP server
prosody-0.10 - Lightweight Jabber/XMPP server
prosody-0.11 - Lightweight Jabber/XMPP server
prosody-0.9 - Lightweight Jabber/XMPP server
prosody-migrator - Prosody data migrator tool
prosody-migrator-0.10 - Prosody data migrator tool
prosody-migrator-0.11 - Prosody data migrator tool
prosody-migrator-trunk - Prosody data migrator tool
prosody-trunk - Lightweight Jabber/XMPP server
jitsi-meet-prosody - Prosody configuration for Jitsi Meet
jitsi-meet-tokens - Prosody token authentication plugin for Jitsi Meet
(base) marco@pc:~/XMPP$ sudo aptitude install prosody
prosody is already installed at the requested version (0.11.8-1~bionic1)
prosody is already installed at the requested version (0.11.8-1~bionic1)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do I have to install a different package instead of prosody
package? Or do I have to install also jitsi-meet-prosody
package?
well, you did not install Ubuntu prosody package, you installed from the Prosody PPA. As such, a discrepancy between this prosody server version and jitsi-meet is quite possible given the sad nature of software generally. See the issue I pointed to you. As of installing jitsi-meet-prosody package, it's the problem indeed. Try to trace the jitsi-meet-prosody package using the instruction I already piinted to you and report. Or try to install Prosody from source to see if the recent bug fix mentioned in the issue I pointed to you fix it.
I did not specify an PPA in order to install Prosody, just used sudo aptitude install prosody
as described here: https://prosody.im/download/start
Since I purged the previous installation, I re-installed Jitsi-Meet, and used debconf
you pointed in the other issue described in gihub : https://github.com/jitsi/jitsi-meet/issues/9133#issuecomment-833617673
This is the complete output of both installation and debconf
:
(base) marco@pc:~$ sudo apt install jitsi-meet
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
jicofo jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web
jitsi-meet-web-config jitsi-videobridge2
The following NEW packages will be installed:
jicofo jitsi-meet jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web
jitsi-meet-web-config jitsi-videobridge2
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/64,4 MB of archives.
After this operation, 106 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package jitsi-videobridge2.
(Reading database ... 397333 files and directories currently installed.)
Preparing to unpack .../jitsi-videobridge2_2.1-478-gc6da57bd-1_all.deb ...
Unpacking jitsi-videobridge2 (2.1-478-gc6da57bd-1) ...
Selecting previously unselected package jicofo.
Preparing to unpack .../jicofo_1.0-740-1_all.deb ...
Unpacking jicofo (1.0-740-1) ...
Selecting previously unselected package jitsi-meet-web.
Preparing to unpack .../jitsi-meet-web_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-web (1.0.4900-1) ...
Selecting previously unselected package jitsi-meet-web-config.
Preparing to unpack .../jitsi-meet-web-config_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-web-config (1.0.4900-1) ...
Selecting previously unselected package jitsi-meet-prosody.
Preparing to unpack .../jitsi-meet-prosody_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-prosody (1.0.4900-1) ...
Setting up jitsi-videobridge2 (2.1-478-gc6da57bd-1) ...
Generating an empty hocon config
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
* Applying /etc/sysctl.d/10-console-messages.conf ...
kernel.printk = 4 4 1 7
* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
* Applying /etc/sysctl.d/10-kernel-hardening.conf ...
kernel.kptr_restrict = 1
* Applying /etc/sysctl.d/10-link-restrictions.conf ...
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /etc/sysctl.d/10-magic-sysrq.conf ...
kernel.sysrq = 176
* Applying /etc/sysctl.d/10-network-security.conf ...
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.tcp_syncookies = 1
* Applying /etc/sysctl.d/10-ptrace.conf ...
kernel.yama.ptrace_scope = 1
* Applying /etc/sysctl.d/10-zeropage.conf ...
vm.mmap_min_addr = 65536
* Applying /etc/sysctl.d/20-jvb-udp-buffers.conf ...
net.core.rmem_max = 10485760
net.core.netdev_max_backlog = 100000
* Applying /etc/sysctl.d/30-postgresql-shm.conf ...
* Applying /usr/lib/sysctl.d/50-default.conf ...
net.ipv4.conf.all.promote_secondaries = 1
net.core.default_qdisc = fq_codel
* Applying /etc/sysctl.d/99-sysctl.conf ...
fs.inotify.max_user_watches = 524288
fs.inotify.max_user_watches = 1048576
* Applying /etc/sysctl.conf ...
fs.inotify.max_user_watches = 524288
fs.inotify.max_user_watches = 1048576
Created symlink /etc/systemd/system/multi-user.target.wants/jitsi-videobridge2.service → /lib/systemd/system/jitsi-
videobridge2.service.
Selecting previously unselected package jitsi-meet.
(Reading database ... 397913 files and directories currently installed.)
Preparing to unpack .../jitsi-meet_2.0.5765-1_all.deb ...
Unpacking jitsi-meet (2.0.5765-1) ...
Setting up jitsi-meet-web-config (1.0.4900-1) ...
Can't load /home/marco/.rnd into RNG
139792454922688:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto
/rand/randfile.c:88:Filename=/home/marco/.rnd
Generating a RSA private key
...............................................++++
................++++
writing new private key to '/etc/jitsi/meet/grasp.deals.key'
-----
----------------
You can now switch to a Let’s Encrypt certificate. To do so, execute:
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
----------------
Selecting previously unselected package jitsi-meet-turnserver.
(Reading database ... 397916 files and directories currently installed.)
Preparing to unpack .../jitsi-meet-turnserver_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-turnserver (1.0.4900-1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Setting up jitsi-meet-web (1.0.4900-1) ...
Setting up jitsi-meet-prosody (1.0.4900-1) ...
net.server error libevent not found, falling back to select()
The given hostname does not exist in the config
grep: /etc/prosody/conf.avail/grasp.deals.cfg.lua: No such file or directory
grep: /etc/prosody/conf.avail/grasp.deals.cfg.lua: No such file or directory
net.server error libevent not found, falling back to select()
net.server error libevent not found, falling back to select()
Generating RSA private key, 2048 bit long modulus (2 primes)
...................+++++
....................+++++
e is 65537 (0x010001)
Choose key size (2048): Key written to /var/lib/prosody/grasp.deals.key
Please provide details to include in the certificate config file.
Leave the field empty to use the default value or '.' to exclude the field.
countryName (GB): localityName (The Internet): organizationName (Your Organisation): organizationalUnitName (XMPP
Department): commonName (grasp.deals): emailAddress (xmpp@grasp.deals):
Config written to /var/lib/prosody/grasp.deals.cnf
Certificate written to /var/lib/prosody/grasp.deals.crt
net.server error libevent not found, falling back to select()
The given hostname does not exist in the config
dpkg: error processing package jitsi-meet-prosody (--configure):
installed jitsi-meet-prosody package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (237-3ubuntu10.47) ...
Setting up jicofo (1.0-740-1) ...
Updating /etc/jitsi/jicofo/config to use jicofo.conf
Generating an empty jicofo.conf file
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
dpkg: dependency problems prevent configuration of jitsi-meet:
jitsi-meet depends on jitsi-meet-prosody (= 1.0.4900-1); however:
Package jitsi-meet-prosody is not configured yet.
dpkg: error processing package jitsi-meet (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of jitsi-meet-turnserver:
jitsi-meet-turnserver depends on jitsi-meet-prosody; however:
Package jitsi-meet-prosody is not configured yet.
dpkg: error processing package jitsi-meet-turnserver (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (237-3ubuntu10.47) ...
Processing triggers for ureadahead (0.100.0-21) ...
Errors were encountered while processing:
jitsi-meet-prosody
jitsi-meet
jitsi-meet-turnserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
(base) marco@pc:~$
(base) marco@pc:~$ sudo debconf --frontend=readline bash -x /var/lib/dpkg/info/jitsi-meet-prosody.postinst configure
+ set -e
+ case "$1" in
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ db_get jitsi-videobridge/jvb-hostname
+ _db_cmd 'GET jitsi-videobridge/jvb-hostname'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET jitsi-videobridge/jvb-hostname'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=grasp.deals
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' -z grasp.deals ']'
++ echo grasp.deals
++ xargs echo -n
+ JVB_HOSTNAME=grasp.deals
+ db_get jitsi-videobridge/jvbsecret
+ _db_cmd 'GET jitsi-videobridge/jvbsecret'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET jitsi-videobridge/jvbsecret'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET='#gVTshu2'
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' -z '#gVTshu2' ']'
+ JVB_SECRET='#gVTshu2'
+ db_get jicofo/jicofo-authuser
+ _db_cmd 'GET jicofo/jicofo-authuser'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET jicofo/jicofo-authuser'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=focus
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' -z focus ']'
+ JICOFO_AUTH_USER=focus
+ db_get jicofo/jicofo-authpassword
+ _db_cmd 'GET jicofo/jicofo-authpassword'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET jicofo/jicofo-authpassword'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=Wat0z21bQVQAA8jE
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' -z Wat0z21bQVQAA8jE ']'
+ JICOFO_AUTH_PASSWORD=Wat0z21bQVQAA8jE
+ JICOFO_AUTH_DOMAIN=auth.grasp.deals
+ db_get jitsi-meet-prosody/jvb-hostname
+ _db_cmd 'GET jitsi-meet-prosody/jvb-hostname'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET jitsi-meet-prosody/jvb-hostname'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=grasp.deals
+ case ${_db_internal_line%%[ ]*} in
+ return 0
++ echo grasp.deals
++ xargs echo -n
+ JVB_HOSTNAME_OLD=grasp.deals
+ '[' -n grasp.deals ']'
+ '[' '!' grasp.deals = grasp.deals ']'
+ db_set jitsi-meet-prosody/jvb-hostname grasp.deals
+ _db_cmd 'SET jitsi-meet-prosody/jvb-hostname' grasp.deals
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'SET jitsi-meet-prosody/jvb-hostname grasp.deals'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET='value set'
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_get jitsi-meet-prosody/turn-secret
+ _db_cmd 'GET jitsi-meet-prosody/turn-secret'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET jitsi-meet-prosody/turn-secret'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=tUqPGfXOkvgU19mF
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' -z tUqPGfXOkvgU19mF ']'
+ TURN_SECRET=tUqPGfXOkvgU19mF
+ db_stop
+ echo STOP
+ PROSODY_CONFIG_PRESENT=true
+ PROSODY_CREATE_JICOFO_USER=false
+ PROSODY_HOST_CONFIG=/etc/prosody/conf.avail/grasp.deals.cfg.lua
+ PROSODY_CONFIG_OLD=/etc/prosody/prosody.cfg.lua
+ '[' '!' -f /etc/prosody/conf.avail/grasp.deals.cfg.lua ']'
+ grep -q 'VirtualHost "grasp.deals"' /etc/prosody/prosody.cfg.lua
+ '[' false = true ']'
++ prosodyctl adduser jvb@auth.grasp.deals
++ true
+ USER_EXISTS_CHECK='net.server error libevent not found, falling back to select()
The host '\''auth.grasp.deals'\'' is not listed in the configuration file (or is not enabled).
The user will not be able to log in until this is changed.
Enter new password:
No password - cancelled'
+ '[' '!' 'net.server error libevent not found, falling back to select()
The host '\''auth.grasp.deals'\'' is not listed in the configuration file (or is not enabled).
The user will not be able to log in until this is changed.
Enter new password:
No password - cancelled' = 'That user already exists' ']'
+ prosodyctl register jvb auth.grasp.deals '#gVTshu2'
net.server error libevent not found, falling back to select()
The given hostname does not exist in the config
+ true
+ '[' -f /etc/prosody/conf.avail/grasp.deals.cfg.lua ']'
+ grep -q 'Component "focus.grasp.deals"' /etc/prosody/conf.avail/grasp.deals.cfg.lua
grep: /etc/prosody/conf.avail/grasp.deals.cfg.lua: No such file or directory
+ grep -q -- '--plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }' /etc/prosody/conf.avail/grasp.deals.cfg.lua
grep: /etc/prosody/conf.avail/grasp.deals.cfg.lua: No such file or directory
+ prosodyctl mod_roster_command subscribe focus.grasp.deals focus@auth.grasp.deals
net.server error libevent not found, falling back to select()
+ '[' '!' -f /var/lib/prosody/grasp.deals.crt ']'
++ dpkg-query -f '${Status}' -W prosody-trunk
++ awk '{print $3}'
+ PRTRUNK_INSTALL_CHECK=not-installed
++ dpkg-query -f '${Status}' -W prosody-0.10
++ awk '{print $3}'
+ PR10_INSTALL_CHECK=
++ dpkg-query '-f=${Version}\n' --show prosody
+ PR_VER_INSTALLED=0.11.8-1~bionic1
+ '[' not-installed = installed ']'
+ '[' not-installed = unpacked ']'
+ '[' '' = installed ']'
+ '[' '' = unpacked ']'
+ dpkg --compare-versions 0.11.8-1~bionic1 gt 0.10
+ '[' -f /etc/prosody/conf.avail/grasp.deals.cfg.lua ']'
+ '[' '!' -f /var/lib/prosody/auth.grasp.deals.crt ']'
+ prosodyctl cert generate auth.grasp.deals
+ echo
net.server error libevent not found, falling back to select()
The given hostname does not exist in the config
(base) marco@pc:~$
What can we grasp from the output of sudo debconf --frontend=readline bash -x /var/lib/dpkg/info/jitsi-meet-prosody.postinst configure
?
I'm going to remove prosody
installed through sudo apt-get install prosody
and install it through source, following these guidelines: https://prosody.im/doc/installing_from_source
After removing prosody
installed through sudo apt-get install prosody
(Ubuntu 18.04 Repository), I installed it through source,
following these guidelines: https://prosody.im/doc/installing_from_source
(base) marco@pc:~$ sudo apt-get remove prosody
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
lua-expat lua-filesystem lua-sec lua-socket lua5.2
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
prosody
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1.590 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 397005 files and directories currently installed.)
Removing prosody (0.11.8-1~bionic1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
(base) marco@pc:~$
(base) marco@pc:~$ sudo aptitude install lua5.2 liblua5.2-dev libidn11-dev libssl-dev
lua5.2 is already installed at the requested version (5.2.4-1.1build1)
libssl-dev is already installed at the requested version (1.1.1-1ubuntu2.1~18.04.9)
lua5.2 is already installed at the requested version (5.2.4-1.1build1)
libssl-dev is already installed at the requested version (1.1.1-1ubuntu2.1~18.04.9)
The following NEW packages will be installed:
libidn11-dev liblua5.2-0{a} liblua5.2-dev libtool-bin{a}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 842 kB of archives. After unpacking 2.533 kB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://it.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libidn11-dev amd64 1.33-2.1ubuntu1.2 [520 kB]
Get: 2 http://it.archive.ubuntu.com/ubuntu bionic/main amd64 liblua5.2-0 amd64 5.2.4-1.1build1 [108 kB]
Get: 3 http://it.archive.ubuntu.com/ubuntu bionic/main amd64 liblua5.2-dev amd64 5.2.4-1.1build1 [134 kB]
Get: 4 http://it.archive.ubuntu.com/ubuntu bionic/main amd64 libtool-bin amd64 2.4.6-2 [79,5 kB]
Fetched 842 kB in 1s (1.532 kB/s)
Selecting previously unselected package libidn11-dev.
(Reading database ... 396902 files and directories currently installed.)
Preparing to unpack .../libidn11-dev_1.33-2.1ubuntu1.2_amd64.deb ...
Unpacking libidn11-dev (1.33-2.1ubuntu1.2) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../liblua5.2-0_5.2.4-1.1build1_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1build1) ...
Selecting previously unselected package liblua5.2-dev:amd64.
Preparing to unpack .../liblua5.2-dev_5.2.4-1.1build1_amd64.deb ...
Unpacking liblua5.2-dev:amd64 (5.2.4-1.1build1) ...
Selecting previously unselected package libtool-bin.
Preparing to unpack .../libtool-bin_2.4.6-2_amd64.deb ...
Unpacking libtool-bin (2.4.6-2) ...
Setting up libtool-bin (2.4.6-2) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1build1) ...
Setting up libidn11-dev (1.33-2.1ubuntu1.2) ...
Setting up liblua5.2-dev:amd64 (5.2.4-1.1build1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
(base) marco@pc:~$ hg clone https://hg.prosody.im/trunk prosody-trunk
applying clone bundle from https://hg.prosody.im/bundles/prosody-trunk.zstd-v2
adding changesets
adding manifests
adding file changes
added 11530 changesets with 13516 changes to 630 files (+1 heads)
finished applying clone bundle
searching for changes
adding changesets
adding manifests
adding file changes
added 9 changesets with 9 changes to 3 files
new changesets a90389e7296c:30feeb4d9d0b
updating to branch default
457 files updated, 0 files merged, 0 files removed, 0 files unresolved
(base) marco@pc:~$
(base) marco@pc:~/prosody-trunk$ ./configure
Lua version detected: 5.2
Lua interpreter found: /usr/bin/lua...
Looking for lua.h at /usr/include/lua.h...not found
Looking for lua.h at /usr/include/lua/5.2/lua.h...not found
Looking for lua.h at /usr/include/lua5.2/lua.h...found
Checking if Lua header version matches that of the interpreter... yes
Writing configuration...
Installation prefix: /usr/local
Prosody configuration directory: /usr/local/etc/prosody
Using Lua from: /usr
Done. You can now run 'make' to build.
(base) marco@pc:~/prosody-trunk$
(base) marco@pc:~/prosody-trunk$ make
sed "1s| lua$| lua|; \
s|^CFG_SOURCEDIR=.*;$|CFG_SOURCEDIR='/usr/local/lib/prosody';|; \
s|^CFG_CONFIGDIR=.*;$|CFG_CONFIGDIR='/usr/local/etc/prosody';|; \
s|^CFG_DATADIR=.*;$|CFG_DATADIR='/usr/local/var/lib/prosody';|; \
s|^CFG_PLUGINDIR=.*;$|CFG_PLUGINDIR='/usr/local/lib/prosody/modules/';|;" < prosody > prosody.install
sed "1s| lua$| lua|; \
s|^CFG_SOURCEDIR=.*;$|CFG_SOURCEDIR='/usr/local/lib/prosody';|; \
s|^CFG_CONFIGDIR=.*;$|CFG_CONFIGDIR='/usr/local/etc/prosody';|; \
s|^CFG_DATADIR=.*;$|CFG_DATADIR='/usr/local/var/lib/prosody';|; \
s|^CFG_PLUGINDIR=.*;$|CFG_PLUGINDIR='/usr/local/lib/prosody/modules/';|;" < prosodyctl > prosodyctl.install
sed 's|certs/|/usr/local/etc/prosody/certs/|' prosody.cfg.lua.dist > prosody.cfg.lua.install
hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > prosody.version
make -C util-src install
make[1]: Entering directory '/home/marco/prosody-trunk/util-src'
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -DUSE_STRINGPREP_ICU -c -o encodings.o encodings.c
gcc -shared -o encodings.so encodings.o -licui18n -licudata -licuuc
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o hashes.o hashes.c
gcc -shared -o hashes.so hashes.o -lcrypto
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o net.o net.c
gcc -shared -o net.so net.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o pposix.o pposix.c
gcc -shared -o pposix.so pposix.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o signal.o signal.c
gcc -shared -o signal.so signal.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o table.o table.c
gcc -shared -o table.so table.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o ringbuffer.o ringbuffer.c
gcc -shared -o ringbuffer.so ringbuffer.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o time.o time.c
gcc -shared -o time.so time.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o poll.o poll.c
gcc -shared -o poll.so poll.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o compat.o compat.c
gcc -shared -o compat.so compat.o
gcc -fPIC -std=c99 -Wall -pedantic -Wextra -Wshadow -Wformat=2 -I/usr/include/lua5.2 -c -o strbitop.o strbitop.c
gcc -shared -o strbitop.so strbitop.o
install -m644 encodings.so hashes.so net.so pposix.so signal.so table.so ringbuffer.so time.so poll.so compat.so strbitop.so ../util/
rm table.o net.o poll.o time.o strbitop.o ringbuffer.o pposix.o hashes.o signal.o compat.o
make[1]: Leaving directory '/home/marco/prosody-trunk/util-src'
make -C certs localhost.crt example.com.crt
make[1]: Entering directory '/home/marco/prosody-trunk/certs'
umask 0077 && touch localhost.key
openssl req -new -x509 -newkey rsa:2048 -nodes -keyout localhost.key \
-days 365 -sha256 -utf8 -config localhost.cnf -out localhost.crt
Generating a RSA private key
.......+++++
.............+++++
writing new private key to 'localhost.key'
-----
umask 0077 && touch example.com.key
openssl req -new -x509 -newkey rsa:2048 -nodes -keyout example.com.key \
-days 365 -sha256 -out example.com.crt -utf8 -subj /CN=example.com
Generating a RSA private key
............+++++
.......................................................................................+++++
writing new private key to 'example.com.key'
-----
make[1]: Leaving directory '/home/marco/prosody-trunk/certs'
(base) marco@pc:~/prosody-trunk$
(base) marco@pc:~/prosody-trunk$ sudo make install
install -d /usr/local/bin /usr/local/etc/prosody /usr/local/lib/prosody/modules /usr/local/lib/prosody
install -d -m750 /usr/local/var/lib/prosody
install -d /usr/local/share/man/man1
install -d /usr/local/etc/prosody/certs
install -d /usr/local/lib/prosody/core /usr/local/lib/prosody/net /usr/local/lib/prosody/util
install -p -m755 ./prosody.install /usr/local/bin/prosody
install -p -m755 ./prosodyctl.install /usr/local/bin/prosodyctl
install -p -m644 core/*.lua /usr/local/lib/prosody/core
install -p -m644 net/*.lua /usr/local/lib/prosody/net
install -d /usr/local/lib/prosody/net/http /usr/local/lib/prosody/net/resolvers /usr/local/lib/prosody/net/websocket
install -p -m644 net/http/*.lua /usr/local/lib/prosody/net/http
install -p -m644 net/resolvers/*.lua /usr/local/lib/prosody/net/resolvers
install -p -m644 net/websocket/*.lua /usr/local/lib/prosody/net/websocket
install -p -m644 util/*.lua /usr/local/lib/prosody/util
install -p -m644 util/*.so /usr/local/lib/prosody/util
install -d /usr/local/lib/prosody/util/sasl
install -p -m644 util/sasl/*.lua /usr/local/lib/prosody/util/sasl
install -d /usr/local/lib/prosody/util/human
install -p -m644 util/human/*.lua /usr/local/lib/prosody/util/human
install -d /usr/local/lib/prosody/util/prosodyctl
install -p -m644 util/prosodyctl/*.lua /usr/local/lib/prosody/util/prosodyctl
install -d /usr/local/lib/prosody/modules/mod_pubsub /usr/local/lib/prosody/modules/adhoc /usr/local/lib/prosody/modules/muc /usr/local/lib/prosody/modules/mod_mam
install -p -m644 plugins/*.lua /usr/local/lib/prosody/modules
install -p -m644 plugins/mod_pubsub/*.lua /usr/local/lib/prosody/modules/mod_pubsub
install -p -m644 plugins/adhoc/*.lua /usr/local/lib/prosody/modules/adhoc
install -p -m644 plugins/muc/*.lua /usr/local/lib/prosody/modules/muc
install -p -m644 plugins/mod_mam/*.lua /usr/local/lib/prosody/modules/mod_mam
install -p -m644 certs/* /usr/local/etc/prosody/certs
install -p -m644 man/prosodyctl.man /usr/local/share/man/man1/prosodyctl.1
test -f /usr/local/etc/prosody/prosody.cfg.lua || install -p -m644 prosody.cfg.lua.install /usr/local/etc/prosody/prosody.cfg.lua
test -f prosody.version && install -p -m644 prosody.version /usr/local/lib/prosody/prosody.version
make install -C util-src
make[1]: Entering directory '/home/marco/prosody-trunk/util-src'
install -m644 encodings.so hashes.so net.so pposix.so signal.so table.so ringbuffer.so time.so poll.so compat.so strbitop.so ../util/
make[1]: Leaving directory '/home/marco/prosody-trunk/util-src'
(base) marco@pc:~/prosody-trunk$
(base) marco@pc:~$ sudo systemctl status prosody
● prosody.service - LSB: Prosody XMPP Server
Loaded: loaded (/etc/init.d/prosody; generated)
Active: active (exited) since Sat 2021-05-08 15:55:42 CEST; 2min 46s ago
Docs: man:systemd-sysv-generator(8)
Process: 1940 ExecStart=/etc/init.d/prosody start (code=exited, status=0/SUCCE
mag 08 15:55:41 pc systemd[1]: Starting LSB: Prosody XMPP Server...
mag 08 15:55:42 pc systemd[1]: Started LSB: Prosody XMPP Server.
lines 1-8/8 (END)
I installed again Jitsi-Meet, but still have some issues :
(base) marco@pc:~$ sudo apt install jitsi-meet
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ca-certificates-java coturn java-common jicofo jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web
jitsi-meet-web-config jitsi-videobridge2 libhiredis0.13 openjdk-8-jre-headless prosody ruby-hocon
Suggested packages:
sip-router default-jre fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei
fonts-wqy-zenhei lua-event lua-dbi-mysql lua-dbi-postgresql lua-dbi-sqlite3
The following NEW packages will be installed:
ca-certificates-java coturn java-common jicofo jitsi-meet jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web
jitsi-meet-web-config jitsi-videobridge2 libhiredis0.13 openjdk-8-jre-headless prosody ruby-hocon
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 291 kB/93,3 MB of archives.
After this operation, 213 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://packages.prosody.im/debian bionic/main amd64 prosody amd64 0.11.8-1~bionic1 [291 kB]
Fetched 291 kB in 8s (38,4 kB/s)
Preconfiguring packages ...
Selecting previously unselected package ca-certificates-java.
(Reading database ... 396766 files and directories currently installed.)
Preparing to unpack .../ca-certificates-java_20180516ubuntu1~18.04.1_all.deb ...
Unpacking ca-certificates-java (20180516ubuntu1~18.04.1) ...
Selecting previously unselected package java-common.
Preparing to unpack .../java-common_0.68ubuntu1~18.04.1_all.deb ...
Unpacking java-common (0.68ubuntu1~18.04.1) ...
Selecting previously unselected package openjdk-8-jre-headless:amd64.
Preparing to unpack .../openjdk-8-jre-headless_8u292-b10-0ubuntu1~18.04_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u292-b10-0ubuntu1~18.04) ...
Setting up java-common (0.68ubuntu1~18.04.1) ...
Setting up ca-certificates-java (20180516ubuntu1~18.04.1) ...
Processing triggers for ca-certificates (20210119~18.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
done.
Setting up openjdk-8-jre-headless:amd64 (8u292-b10-0ubuntu1~18.04) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto
mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in
auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in
auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto
mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in
auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
Selecting previously unselected package jitsi-videobridge2.
(Reading database ... 396993 files and directories currently installed.)
Preparing to unpack .../0-jitsi-videobridge2_2.1-478-gc6da57bd-1_all.deb ...
Unpacking jitsi-videobridge2 (2.1-478-gc6da57bd-1) ...
Selecting previously unselected package ruby-hocon.
Preparing to unpack .../1-ruby-hocon_1.2.5-1_all.deb ...
Unpacking ruby-hocon (1.2.5-1) ...
Selecting previously unselected package jicofo.
Preparing to unpack .../2-jicofo_1.0-740-1_all.deb ...
Unpacking jicofo (1.0-740-1) ...
Selecting previously unselected package jitsi-meet-web.
Preparing to unpack .../3-jitsi-meet-web_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-web (1.0.4900-1) ...
Selecting previously unselected package jitsi-meet-web-config.
Preparing to unpack .../4-jitsi-meet-web-config_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-web-config (1.0.4900-1) ...
Selecting previously unselected package prosody.
Preparing to unpack .../5-prosody_0.11.8-1~bionic1_amd64.deb ...
Unpacking prosody (0.11.8-1~bionic1) ...
Selecting previously unselected package jitsi-meet-prosody.
Preparing to unpack .../6-jitsi-meet-prosody_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-prosody (1.0.4900-1) ...
Setting up jitsi-videobridge2 (2.1-478-gc6da57bd-1) ...
Generating an empty hocon config
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
* Applying /etc/sysctl.d/10-console-messages.conf ...
kernel.printk = 4 4 1 7
* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
* Applying /etc/sysctl.d/10-kernel-hardening.conf ...
kernel.kptr_restrict = 1
* Applying /etc/sysctl.d/10-link-restrictions.conf ...
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /etc/sysctl.d/10-magic-sysrq.conf ...
kernel.sysrq = 176
* Applying /etc/sysctl.d/10-network-security.conf ...
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.tcp_syncookies = 1
* Applying /etc/sysctl.d/10-ptrace.conf ...
kernel.yama.ptrace_scope = 1
* Applying /etc/sysctl.d/10-zeropage.conf ...
vm.mmap_min_addr = 65536
* Applying /etc/sysctl.d/20-jvb-udp-buffers.conf ...
net.core.rmem_max = 10485760
net.core.netdev_max_backlog = 100000
* Applying /etc/sysctl.d/30-postgresql-shm.conf ...
* Applying /usr/lib/sysctl.d/50-default.conf ...
net.ipv4.conf.all.promote_secondaries = 1
net.core.default_qdisc = fq_codel
* Applying /etc/sysctl.d/99-sysctl.conf ...
fs.inotify.max_user_watches = 524288
fs.inotify.max_user_watches = 1048576
* Applying /etc/sysctl.conf ...
fs.inotify.max_user_watches = 524288
fs.inotify.max_user_watches = 1048576
Created symlink /etc/systemd/system/multi-user.target.wants/jitsi-videobridge2.service → /lib/systemd/system/jitsi-v
videobridge2.service.
Selecting previously unselected package jitsi-meet.
(Reading database ... 397911 files and directories currently installed.)
Preparing to unpack .../jitsi-meet_2.0.5765-1_all.deb ...
Unpacking jitsi-meet (2.0.5765-1) ...
Selecting previously unselected package libhiredis0.13:amd64.
Preparing to unpack .../libhiredis0.13_0.13.3-2.2_amd64.deb ...
Unpacking libhiredis0.13:amd64 (0.13.3-2.2) ...
Selecting previously unselected package coturn.
Preparing to unpack .../coturn_4.5.0.7-1ubuntu2.18.04.3_amd64.deb ...
Unpacking coturn (4.5.0.7-1ubuntu2.18.04.3) ...
Setting up jitsi-meet-web-config (1.0.4900-1) ...
Can't load /home/marco/.rnd into RNG
140628514865600:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto
/rand/randfile.c:88:Filename=/home/marco/.rnd
Generating a RSA private key
..................................................++++
....................................................................................++++
writing new private key to '/etc/jitsi/meet/grasp.deals.key'
-----
----------------
You can now switch to a Let’s Encrypt certificate. To do so, execute:
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
----------------
Selecting previously unselected package jitsi-meet-turnserver.
(Reading database ... 398020 files and directories currently installed.)
Preparing to unpack .../jitsi-meet-turnserver_1.0.4900-1_all.deb ...
Unpacking jitsi-meet-turnserver (1.0.4900-1) ...
Setting up libhiredis0.13:amd64 (0.13.3-2.2) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Setting up ruby-hocon (1.2.5-1) ...
Setting up jitsi-meet-web (1.0.4900-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Processing triggers for systemd (237-3ubuntu10.47) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up jicofo (1.0-740-1) ...
Updating /etc/jitsi/jicofo/config to use jicofo.conf
Generating an empty jicofo.conf file
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
Setting up prosody (0.11.8-1~bionic1) ...
Setting up coturn (4.5.0.7-1ubuntu2.18.04.3) ...
Setting up jitsi-meet-prosody (1.0.4900-1) ...
The given hostname does not exist in the config
grep: /etc/prosody/conf.avail/grasp.deals.cfg.lua: No such file or directory
grep: /etc/prosody/conf.avail/grasp.deals.cfg.lua: No such file or directory
modulemanager error Unable to load module 'roster_command': /usr/local/lib/prosody/modules/share/lua/5.2
/mod_roster_command/mod_roster_command.lua: No such file or directory
Failed to load module 'roster_command': /usr/local/lib/prosody/modules/share/lua/5.2/mod_roster_command
/mod_roster_command.lua: 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
dpkg: dependency problems prevent configuration of jitsi-meet:
jitsi-meet depends on jitsi-meet-prosody (= 1.0.4900-1); however:
Package jitsi-meet-prosody is not configured yet.
dpkg: error processing package jitsi-meet (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of jitsi-meet-turnserver:
j itsi-meet-turnserver depends on jitsi-meet-prosody; however:
Package jitsi-meet-prosody is not configured yet.
dpkg: error processing package jitsi-meet-turnserver (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message
indicates its a followup error from a previous failure.
Processing triggers for systemd (237-3ubuntu10.47) ...
Processing triggers for ureadahead (0.100.0-21) ...
Errors were encountered while processing:
jitsi-meet-prosody
jitsi-meet
jitsi-meet-turnserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
@gpatel-fr I noticed another different issue, which might, or might not, be related to the configuration problems. I described it here: https://community.jitsi.org/t/jetty-server-activated-by-jitsi-meet-hampers-nginx-functioning/99009
the output of sudo debconf
it's baffling. I don't understand it actually. The only grep that is not passed the -q parameter returns that the config file does not exist. That's this one:
grep "Component \"focus.$JVB_HOSTNAME\" \"client_proxy\"" $PROSODY_HOST_CONFIG ;then
Yet there are at least this instruction before:
if [ ! -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"$JVB_HOSTNAME\"" $PROSODY_CONFIG_OLD; then
if the file did not exist the trace should show something like that:
mkdir -p /etc/prosody/conf.avail/
mkdir -p /etc/prosody/conf.d/
cp /usr/share/jitsi-meet-prosody/prosody.cfg.lua-jvb.example $PROSODY_HOST_CONFIG
and yet it does not appear. At this point I'd copy the file at some place to change it to add some more echo instructions and remove the -q flag for all grep instructions to understand what's going on.
Is /usr/share/jitsi-meet-prosody/prosody.cfg.lua-jvb.example
the file you would copy in order to remove the -q flag of all grep instructions to understand what's going on? :
This is the content of that file. I do not see any -q
flags
plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
-- domain mapper options, must at least have domain base set to use the mapper
muc_mapper_domain_base = "jitmeet.example.com";
external_service_secret = "__turnSecret__";
external_services = {
{ type = "stun", host = "jitmeet.example.com", port = 3478 },
{ type = "turn", host = "jitmeet.example.com", port = 3478, transport = "udp", secret = true, ttl = 86400, algorithm = "turn" },
{ type = "turns", host = "jitmeet.example.com", port = 5349, transport = "tcp", secret = true, ttl = 86400, algorithm = "turn" }
};
cross_domain_bosh = false;
consider_bosh_secure = true;
-- https_ports = { }; -- Remove this line to prevent listening on port 5284
-- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
ssl = {
protocol = "tlsv1_2+";
ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"
}
VirtualHost "jitmeet.example.com"
-- enabled = false -- Remove this line to enable this host
authentication = "anonymous"
-- Properties below are modified by jitsi-meet-tokens package config
-- and authentication above is switched to "token"
--app_id="example_app_id"
--app_secret="example_app_secret"
-- Assign this host a certificate for TLS, otherwise it would use the one
-- set in the global section (if any).
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
ssl = {
key = "/etc/prosody/certs/jitmeet.example.com.key";
certificate = "/etc/prosody/certs/jitmeet.example.com.crt";
}
speakerstats_component = "speakerstats.jitmeet.example.com"
conference_duration_component = "conferenceduration.jitmeet.example.com"
-- we need bosh
modules_enabled = {
"bosh";
"pubsub";
"ping"; -- Enable mod_ping
"speakerstats";
"external_services";
"conference_duration";
"muc_lobby_rooms";
}
c2s_require_encryption = false
lobby_muc = "lobby.jitmeet.example.com"
main_muc = "conference.jitmeet.example.com"
-- muc_lobby_whitelist = { "recorder.jitmeet.example.com" } -- Here we can whitelist jibri to enter lobby enabled rooms
Component "conference.jitmeet.example.com" "muc"
storage = "memory"
modules_enabled = {
"muc_meeting_id";
"muc_domain_mapper";
--"token_verification";
}
admins = { "focusUser@auth.jitmeet.example.com" }
muc_room_locking = false
muc_room_default_public_jids = true
-- internal muc component
Component "internal.auth.jitmeet.example.com" "muc"
storage = "memory"
modules_enabled = {
"ping";
}
admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
muc_room_locking = false
muc_room_default_public_jids = true
VirtualHost "auth.jitmeet.example.com"
authentication = "internal_hashed"
-- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
Component "focus.jitmeet.example.com" "client_proxy"
target_address = "focusUser@auth.jitmeet.example.com"
Component "speakerstats.jitmeet.example.com" "speakerstats_component"
muc_component = "conference.jitmeet.example.com"
Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
muc_component = "conference.jitmeet.example.com"
Component "lobby.jitmeet.example.com" "muc"
storage = "memory"
restrict_room_creation = true
muc_room_locking = false
muc_room_default_public_jids = true
Is /usr/share/jitsi-meet-prosody/prosody.cfg.lua-jvb.example the file
no it's /var/lib/dpkg/info/jitsi-meet-prosody.postinst
May be related to #8388. I'm also getting this on Ubuntu 20.04.
Thank you @cedws . Actually I'm getting this message : Unable to load module 'roster_command'
as well.
I'm going to read your entire thread to understand how to proceed
It seems this problem only happens, if no preseeding is done as described in the scalable setup or if no other hostname than "localhost" is used.
In the above case, the postinst script of the jitsi-meet-prosody debian package sees the localhost config of the prosody package and does not add its own config file:
if [ ! -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"$JVB_HOSTNAME\"" $PROSODY_CONFIG_OLD; then
Thanks for pointing it out. Having a deployment behind localhost domain is not very usable ... maybe we need to update the conf dialog and do not allow this, but still people can use the command line to set those variables and it will still fail...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In Ubuntu 18.04.4 Desktop I'm getting this error:
Package jitsi-meet-prosody is not configured yet
This is what I have in /etc/prosody/conf.d :
grasp.deals.cfg.lua :
VirtualHost "grasp.deals"
/etc/hosts :
I asked in the
Prosody chat
and I've been rebounced back to here :Which package among the
libevent
packages has to be installed? I've installedlibevent-2.1-6
,libevent-dev
andlibevent-core-2.1-6
but still get message :libevent not found
and still getjitsi-meet-prosody
configuration problems :I tried also with
libevent1-dev
but I get the same error messagesI've checked:
in /etc/hosts :
and whatever service used to check the hostname:
http://www.kloth.net/services/nslookup.php
https://www.ssllabs.com/ssltest/analyze.html?d=grasp.deals
I'm using a local PC with Ubuntu 18.04 to develop the app which will be deployed in a cloud server with Ubuntu 18.04 or newer version. It's not, I guess, a matter of PC or cloud-server, if the O.S., namely Ubuntu 18.04, is the same, because these guidelines: https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart are for Jitsi-Meet installation on a Debian-based GNU/Linux system.
I re-installed libevent-dev :
After purging everything, I re-installed Jitsi-Meet:
But still get the same error messages:
writing new private key to '/etc/jitsi/meet/grasp.deals.key'
What I do not understand is this :
The host 'focus.grasp.deals' is not configured for this server
Where does
focus.grasp.deals
come from? I didn't set anyfocus.grasp.deals