Installation problem on Ubuntu 20.04.2 LTS

Hi
I have big problem to install jitsi on Ubuntu

sudo apt install -y jitsi-meet
it is result:

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
coturn jicofo jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jitsi-meet-web-config jitsi-videobridge2
libevent-core-2.1-7 libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libhiredis0.14 libidn11
libmysqlclient21 libpq5 lua-bitop lua-event lua-expat lua-filesystem lua-sec lua-socket lua5.2 mysql-common prosody sqlite3
Suggested packages:
sip-router lua-dbi-mysql lua-dbi-postgresql lua-dbi-sqlite3 lua-zlib sqlite3-doc
The following NEW packages will be installed:
coturn jicofo jitsi-meet jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jitsi-meet-web-config jitsi-videobridge2
libevent-core-2.1-7 libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libhiredis0.14 libidn11
libmysqlclient21 libpq5 lua-bitop lua-event lua-expat lua-filesystem lua-sec lua-socket lua5.2 mysql-common prosody sqlite3
0 upgraded, 26 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/83.9 MB of archives.
After this operation, 145 MB of additional disk space will be used.
Preconfiguring packages …
Selecting previously unselected package jitsi-videobridge2.
(Reading database … 108690 files and directories currently installed.)
Preparing to unpack …/00-jitsi-videobridge2_2.1-416-g2f43d1b4-1_all.deb …
Unpacking jitsi-videobridge2 (2.1-416-g2f43d1b4-1) …
Selecting previously unselected package jicofo.
Preparing to unpack …/01-jicofo_1.0-692-hf-1_all.deb …
Unpacking jicofo (1.0-692-hf-1) …
Selecting previously unselected package jitsi-meet-web.
Preparing to unpack …/02-jitsi-meet-web_1.0.4628-1_all.deb …
Unpacking jitsi-meet-web (1.0.4628-1) …
Selecting previously unselected package jitsi-meet-web-config.
Preparing to unpack …/03-jitsi-meet-web-config_1.0.4628-1_all.deb …
Unpacking jitsi-meet-web-config (1.0.4628-1) …
Selecting previously unselected package lua-expat:amd64.
Preparing to unpack …/04-lua-expat_1.3.0-4_amd64.deb …
Unpacking lua-expat:amd64 (1.3.0-4) …
Selecting previously unselected package lua-filesystem:amd64.
Preparing to unpack …/05-lua-filesystem_1.7.0-2-1_amd64.deb …
Unpacking lua-filesystem:amd64 (1.7.0-2-1) …
Selecting previously unselected package lua5.2.
Preparing to unpack …/06-lua5.2_5.2.4-1.1build3_amd64.deb …
Unpacking lua5.2 (5.2.4-1.1build3) …
Selecting previously unselected package lua-bitop:amd64.
Preparing to unpack …/07-lua-bitop_1.0.2-5_amd64.deb …
Unpacking lua-bitop:amd64 (1.0.2-5) …
Selecting previously unselected package lua-socket:amd64.
Preparing to unpack …/08-lua-socket_3.0~rc1+git+ac3201d-4_amd64.deb …
Unpacking lua-socket:amd64 (3.0~rc1+git+ac3201d-4) …
Selecting previously unselected package lua-sec:amd64.
Preparing to unpack …/09-lua-sec_0.9-3_amd64.deb …
Unpacking lua-sec:amd64 (0.9-3) …
Selecting previously unselected package libidn11:amd64.
Preparing to unpack …/10-libidn11_1.33-2.2ubuntu2_amd64.deb …
Unpacking libidn11:amd64 (1.33-2.2ubuntu2) …
Selecting previously unselected package prosody.
Preparing to unpack …/11-prosody_0.11.4-1_amd64.deb …
Unpacking prosody (0.11.4-1) …
Selecting previously unselected package jitsi-meet-prosody.
Preparing to unpack …/12-jitsi-meet-prosody_1.0.4628-1_all.deb …
Unpacking jitsi-meet-prosody (1.0.4628-1) …
Setting up jitsi-videobridge2 (2.1-416-g2f43d1b4-1) …
Generating an empty hocon config
useradd: warning: the home directory /usr/share/jitsi-videobridge already exists.
useradd: 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 = 2
    net.ipv4.conf.all.rp_filter = 2
  • 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 /usr/lib/sysctl.d/50-default.conf …
    net.ipv4.conf.default.promote_secondaries = 1
    sysctl: setting key “net.ipv4.conf.all.promote_secondaries”: Invalid argument
    net.ipv4.ping_group_range = 0 2147483647
    net.core.default_qdisc = fq_codel
    fs.protected_regular = 1
    fs.protected_fifos = 1
  • Applying /usr/lib/sysctl.d/50-pid-max.conf …
    kernel.pid_max = 4194304
  • Applying /etc/sysctl.d/99-sysctl.conf …
  • Applying /usr/lib/sysctl.d/protect-links.conf …
    fs.protected_fifos = 1
    fs.protected_hardlinks = 1
    fs.protected_regular = 2
    fs.protected_symlinks = 1
  • Applying /etc/sysctl.conf …
    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 … 109713 files and directories currently installed.)
    Preparing to unpack …/00-jitsi-meet_2.0.5390-3_all.deb …
    Unpacking jitsi-meet (2.0.5390-3) …
    Selecting previously unselected package sqlite3.
    Preparing to unpack …/01-sqlite3_3.31.1-4ubuntu0.2_amd64.deb …
    Unpacking sqlite3 (3.31.1-4ubuntu0.2) …
    Selecting previously unselected package libevent-core-2.1-7:amd64.
    Preparing to unpack …/02-libevent-core-2.1-7_2.1.11-stable-1_amd64.deb …
    Unpacking libevent-core-2.1-7:amd64 (2.1.11-stable-1) …
    Selecting previously unselected package libevent-extra-2.1-7:amd64.
    Preparing to unpack …/03-libevent-extra-2.1-7_2.1.11-stable-1_amd64.deb …
    Unpacking libevent-extra-2.1-7:amd64 (2.1.11-stable-1) …
    Selecting previously unselected package libevent-openssl-2.1-7:amd64.
    Preparing to unpack …/04-libevent-openssl-2.1-7_2.1.11-stable-1_amd64.deb …
    Unpacking libevent-openssl-2.1-7:amd64 (2.1.11-stable-1) …
    Selecting previously unselected package libevent-pthreads-2.1-7:amd64.
    Preparing to unpack …/05-libevent-pthreads-2.1-7_2.1.11-stable-1_amd64.deb …
    Unpacking libevent-pthreads-2.1-7:amd64 (2.1.11-stable-1) …
    Selecting previously unselected package libhiredis0.14:amd64.
    Preparing to unpack …/06-libhiredis0.14_0.14.0-6_amd64.deb …
    Unpacking libhiredis0.14:amd64 (0.14.0-6) …
    Selecting previously unselected package mysql-common.
    Preparing to unpack …/07-mysql-common_5.8+1.0.5ubuntu2_all.deb …
    Unpacking mysql-common (5.8+1.0.5ubuntu2) …
    Selecting previously unselected package libmysqlclient21:amd64.
    Preparing to unpack …/08-libmysqlclient21_8.0.23-0ubuntu0.20.04.1_amd64.deb …
    Unpacking libmysqlclient21:amd64 (8.0.23-0ubuntu0.20.04.1) …
    Selecting previously unselected package libpq5:amd64.
    Preparing to unpack …/09-libpq5_12.6-0ubuntu0.20.04.1_amd64.deb …
    Unpacking libpq5:amd64 (12.6-0ubuntu0.20.04.1) …
    Selecting previously unselected package coturn.
    Preparing to unpack …/10-coturn_4.5.1.1-1.1ubuntu0.20.04.2_amd64.deb …
    Unpacking coturn (4.5.1.1-1.1ubuntu0.20.04.2) …
    Setting up jitsi-meet-web-config (1.0.4628-1) …
    req: Use -help for summary.
    dpkg: error processing package jitsi-meet-web-config (–configure):
    installed jitsi-meet-web-config package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    jitsi-meet-web-config
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks

Looks like you’ve had at least one botched install before this one. You have residual files from previous failed attempt(s) that are causing your current installation to fail. Your best bet is to start over. Run the following commands to purge and reinstall:

sudo apt-get purge jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-web jicofo jitsi-videobridge2

sudo apt-get install jitsi-meet

sudo dpkg-reconfigure jitsi-videobridge2

sudo dpkg-reconfigure jitsi-meet-web-config

sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

uninstalling and reinstalling doesn’t change anything. I keep having the same error.
I will just add that I choose the option during the installation
“Generate a new self-signed certificate (You will later get a chance to obtain a Let’s encrypt certificate)”

log from
/var/log/dpkg.log

2021-03-03 08:55:20 status unpacked jitsi-meet-prosody:all 1.0.4628-1
2021-03-03 08:55:20 startup packages configure
2021-03-03 08:55:20 configure jitsi-videobridge2:all 2.1-416-g2f43d1b4-1
2021-03-03 08:55:20 status unpacked jitsi-videobridge2:all 2.1-416-g2f43d1b4-1
2021-03-03 08:55:20 status half-configured jitsi-videobridge2:all 2.1-416-g2f43d1b4-1
2021-03-03 08:55:21 status installed jitsi-videobridge2:all 2.1-416-g2f43d1b4-1
2021-03-03 08:55:22 startup archives unpack
2021-03-03 08:55:22 install jitsi-meet:all 2.0.5390-3
2021-03-03 08:55:22 status half-installed jitsi-meet:all 2.0.5390-3
2021-03-03 08:55:22 status unpacked jitsi-meet:all 2.0.5390-3
2021-03-03 08:55:22 startup packages configure
2021-03-03 08:55:22 configure jitsi-meet-web-config:all 1.0.4628-1
2021-03-03 08:55:22 status unpacked jitsi-meet-web-config:all 1.0.4628-1
2021-03-03 08:55:22 status half-configured jitsi-meet-web-config:all 1.0.4628-1

here is my take on uninstall (obviously you should not run it as is on a server that runs other software than jitsi-meet else there could be side effects)

sudo apt purge jitsi-meet jitsi-meet-prosody jitsi-meet-web-config ca-certificates-java java-common openjdk-8-jre-headless openjdk-11-jre-headless jitsi-videobridge2 jicofo coturn jitsi-meet-turnserver prosody certbot

sudo apt autoremove

echo PURGE |  sudo debconf-communicate jitsi-videobridge

edit:

I forgot to add that to run
sudo apt -f install
could get sometimes things in shape.

sudo apt purge jitsi-meet jitsi-meet-prosody jitsi-meet-web-config ca-certificates-java java-common openjdk-8-jre-headless openjdk-11-jre-headless jitsi-videobridge2 jicofo coturn jitsi-meet-turnserver prosody certbot

return

Removing ca-certificates-java (20190405ubuntu1) …
Processing triggers for ca-certificates (20210119~20.04.1) …
Updating certificates in /etc/ssl/certs…
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…

updates of cacerts keystore disabled.
done.
Processing triggers for man-db (2.9.1-1) …
(Reading database … 108939 files and directories currently installed.)
Purging configuration files for openjdk-14-jre-headless:amd64 (14.0.2+12-1~20.04) …
Purging configuration files for java-common (0.72) …
Purging configuration files for jitsi-meet-prosody (1.0.4628-1) …
Clearing symlinks in /etc/ssl/certs…
done.
Updating certificates in /etc/ssl/certs…
129 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…

updates of cacerts keystore disabled.
done.
Purging configuration files for jitsi-meet-web-config (1.0.4628-1) …
Purging configuration files for prosody (0.11.4-1) …
groupdel: group ‘prosody’ does not exist
dpkg: warning: while removing prosody, directory ‘/etc/prosody’ not empty so not removed
Purging configuration files for jitsi-videobridge2 (2.1-416-g2f43d1b4-1) …
Removing user jvb' ... Warning: group jitsi’ has no more members.
Done.
Purging configuration files for jicofo (1.0-692-hf-1) …
Removing user jicofo' ... Warning: group jitsi’ has no more members.
Done.
dpkg: warning: while removing jicofo, directory ‘/etc/jitsi/jicofo’ not empty so not removed
Purging configuration files for coturn (4.5.1.1-1.1ubuntu0.20.04.2) …
Purging configuration files for jitsi-meet (2.0.5390-3) …
Purging configuration files for ca-certificates-java (20190405ubuntu1) …
Processing triggers for systemd (245.4-4ubuntu3.4) …
Processing triggers for ufw (0.36-6) …

sudo apt autoremove
return

(Reading database … 108880 files and directories currently installed.)
Removing jitsi-meet-web (1.0.4628-1) …
Removing libcups2:amd64 (2.3.1-9ubuntu1.1) …
Removing libavahi-client3:amd64 (0.7-4ubuntu7) …
Removing libavahi-common3:amd64 (0.7-4ubuntu7) …
Removing libavahi-common-data:amd64 (0.7-4ubuntu7) …
Removing libevent-pthreads-2.1-7:amd64 (2.1.11-stable-1) …
Removing libevent-openssl-2.1-7:amd64 (2.1.11-stable-1) …
Removing libevent-extra-2.1-7:amd64 (2.1.11-stable-1) …
Removing libhiredis0.14:amd64 (0.14.0-6) …
Removing libidn11:amd64 (1.33-2.2ubuntu2) …
Removing liblcms2-2:amd64 (2.9-4) …
Removing libmysqlclient21:amd64 (8.0.23-0ubuntu0.20.04.1) …
Removing libnss3:amd64 (2:3.49.1-1ubuntu1.5) …
Removing libnspr4:amd64 (2:4.25-1) …
Removing libpcsclite1:amd64 (1.8.26-3) …
Removing libpq5:amd64 (12.6-0ubuntu0.20.04.1) …
Removing libxi6:amd64 (2:1.7.10-0ubuntu1) …
Removing libxrender1:amd64 (1:0.9.10-1) …
Removing libxtst6:amd64 (2:1.2.3-1) …
Removing lua-bitop:amd64 (1.0.2-5) …
Removing lua-expat:amd64 (1.3.0-4) …
Removing lua-filesystem:amd64 (1.7.0-2-1) …
Removing lua-sec:amd64 (0.9-3) …
Removing lua-socket:amd64 (3.0~rc1+git+ac3201d-4) …
Removing lua5.2 (5.2.4-1.1build3) …
Removing mysql-common (5.8+1.0.5ubuntu2) …
Removing sqlite3 (3.31.1-4ubuntu0.2) …
Removing x11-common (1:7.7+19ubuntu14) …
Removing libevent-core-2.1-7:amd64 (2.1.11-stable-1) …
Processing triggers for man-db (2.9.1-1) …
Processing triggers for libc-bin (2.31-0ubuntu9.2) …

echo PURGE | sudo debconf-communicate jitsi-videobridge
return 0

sudo apt -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

sudo apt-get install jitsi-meet
return

preparing to unpack …/08-libmysqlclient21_8.0.23-0ubuntu0.20.04.1_amd64.deb …
Unpacking libmysqlclient21:amd64 (8.0.23-0ubuntu0.20.04.1) …
Selecting previously unselected package libpq5:amd64.
Preparing to unpack …/09-libpq5_12.6-0ubuntu0.20.04.1_amd64.deb …
Unpacking libpq5:amd64 (12.6-0ubuntu0.20.04.1) …
Selecting previously unselected package coturn.
Preparing to unpack …/10-coturn_4.5.1.1-1.1ubuntu0.20.04.2_amd64.deb …
Unpacking coturn (4.5.1.1-1.1ubuntu0.20.04.2) …
Setting up jitsi-meet-web-config (1.0.4628-1) …
req: Use -help for summary.
dpkg: error processing package jitsi-meet-web-config (–configure):
installed jitsi-meet-web-config package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
jitsi-meet-web-config
E: Sub-process /usr/bin/dpkg returned an error code (1)

:frowning:

hmm what gives

sudo debconf --frontend=readline bash -x /var/lib/dpkg/info/jitsi-meet-web-config.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=’
  • read -r _db_internal_line
  • IFS=’
  • RET=’ jitsi1.kwp.ad’
  • case ${_db_internal_line%%[ ]*} in
  • return 0
  • ‘[’ -z ’ jitsi1.kwp.ad’ ‘]’
  • JVB_HOSTNAME=’ jitsi1.kwp.ad’
  • RECONFIGURING=false
  • db_get jitsi-meet/jvb-hostname
  • _db_cmd ‘GET jitsi-meet/jvb-hostname’
  • _db_internal_IFS=’
  • IFS=’ ’
  • printf ‘%s\n’ ‘GET jitsi-meet/jvb-hostname’
  • IFS=’
  • read -r _db_internal_line
  • IFS=’
  • RET=jitsi1.kwp.ad
  • case ${_db_internal_line%%[ ]*} in
  • return 0
  • JVB_HOSTNAME_OLD=jitsi1.kwp.ad
  • ‘[’ -n jitsi1.kwp.ad ‘]’
  • ‘[’ ‘!’ jitsi1.kwp.ad = ’ jitsi1.kwp.ad’ ‘]’
  • RECONFIGURING=true
  • rm -f /etc/jitsi/meet/jitsi1.kwp.ad-config.js
  • JVB_SERVE=false
  • db_get jitsi-meet/jvb-serve
  • _db_cmd ‘GET jitsi-meet/jvb-serve’
  • _db_internal_IFS=’
  • IFS=’ ’
  • printf ‘%s\n’ ‘GET jitsi-meet/jvb-serve’
  • IFS=’
  • read -r _db_internal_line
  • IFS=’
  • RET=‘10 jitsi-meet/jvb-serve doesn’’‘t exist’
  • case ${_db_internal_line%%[ ]*} in
  • return 10
  • true
  • ‘[’ -n ‘10 jitsi-meet/jvb-serve doesn’’‘t exist’ ‘]’
  • ‘[’ ‘10 jitsi-meet/jvb-serve doesn’’‘t exist’ = true ‘]’
  • db_set jitsi-meet/jvb-hostname jitsi1.kwp.ad
  • _db_cmd ‘SET jitsi-meet/jvb-hostname’ jitsi1.kwp.ad
  • _db_internal_IFS=’
  • IFS=’ ’
  • printf ‘%s\n’ ‘SET jitsi-meet/jvb-hostname jitsi1.kwp.ad’
  • IFS=’
  • read -r _db_internal_line
  • IFS=’
  • RET=‘value set’
  • case ${_db_internal_line%%[ ]*} in
  • return 0
    ++ dpkg-query -f ‘${Status}’ -W nginx
    ++ awk ‘{print $3}’
  • NGINX_INSTALL_CHECK=installed
    ++ dpkg-query -f ‘${Status}’ -W nginx-full
    ++ awk ‘{print $3}’
  • NGINX_FULL_INSTALL_CHECK=not-installed
    ++ dpkg-query -f ‘${Status}’ -W nginx-extras
    ++ awk ‘{print $3}’
  • NGINX_EXTRAS_INSTALL_CHECK=not-installed
  • ‘[’ installed = installed ‘]’
  • FORCE_NGINX=true
    ++ dpkg-query -f ‘${Status}’ -W apache2
    ++ awk ‘{print $3}’
  • APACHE_INSTALL_CHECK=not-installed
  • ‘[’ not-installed = installed ‘]’
  • ‘[’ not-installed = unpacked ‘]’
  • UPLOADED_CERT_CHOICE=‘I want to use my own certificate’
  • ‘[’ -z jitsi1.kwp.ad ‘]’
  • ‘[’ true = true ‘]’
  • db_get jitsi-meet/cert-choice
  • _db_cmd ‘GET jitsi-meet/cert-choice’
  • _db_internal_IFS=’
  • IFS=’ ’
  • printf ‘%s\n’ ‘GET jitsi-meet/cert-choice’
  • IFS=’
  • read -r _db_internal_line
  • IFS=’
  • RET=‘Generate a new self-signed certificate (You will later get a chance to obtain a Let’’‘s encrypt certificate)’
  • case ${_db_internal_line%%[ ]*} in
  • return 0
  • CERT_CHOICE=‘Generate a new self-signed certificate (You will later get a chance to obtain a Let’’‘s encrypt certificate)’
  • ‘[’ ‘Generate a new self-signed certificate (You will later get a chance to obtain a Let’’‘s encrypt certificate)’ = ‘I want to use my own certificate’ ‘]’
  • CERT_KEY=’/etc/jitsi/meet/ jitsi1.kwp.ad.key’
  • CERT_CRT=’/etc/jitsi/meet/ jitsi1.kwp.ad.crt’
    ++ hostname -s
    ++ head -n 1
    ++ echo localhost
  • HOST=jitsi1
    ++ hostname -d
    ++ head -n 1
    ++ echo localdomain
  • DOMAIN=kwp.ad
  • openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj ‘/O=kwp.ad/OU=jitsi1/CN= jitsi1.kwp.ad/emailAddress=webmaster@jitsi1.kwp.ad’ -keyout /etc/jitsi/meet/ jitsi1.kwp.ad.key -out /etc/jitsi/meet/ jitsi1.kwp.ad.crt -reqexts SAN -extensions SAN -config /dev/fd/63
    ++ cat /etc/ssl/openssl.cnf /dev/fd/63
    req: Use -help for summary.
    +++ printf ‘[SAN]\nsubjectAltName=DNS:localhost,DNS: jitsi1.kwp.ad’

It is a clear system
my steps before:
sudo apt-get install -y gnupg2
sudo apt update
sudo apt install nginx

sudo apt-add-repository universe
(‘universe’ distribution component is already enabled for all sources.)
sudo apt update
curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c ‘gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg’ echo ‘deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/’ | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null

sudo apt update

sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --permanent --add-port=443/tcp
sudo firewall-cmd --permanent --add-port=10000/udp
sudo firewall-cmd --permanent --add-port=22/tcp
sudo firewall-cmd --permanent --add-port=3478/udp
sudo firewall-cmd --permanent --add-port=5349/tcp
sudo firewall-cmd --reload

It is a clear system - I mean new instalation

there is a space between the path and the file name (before ‘jitsi1’) and this is not pleasing openssl at all. Do you have any idea where you added a space in your host name ?

1 Like

As I don’t know Jitsi-Meet as well as others, so I have been trying to think of non-Jitsi possible issues.

I would check to see if nginx is working, and that I can open the default web page after having installed nginx. Check nginx logs.

sudo nginx -t
sudo systemctl status nginx

Is there any other software like SELinux or AppArmor that could be causing an issue? I guess not, as you said it was a clean install.

hmm
I don’t know why there is the space.
The name comes from the DNS server.
When starting the installation for the first time, I was asked for the hostname of the current instalation.
Could this name come from this setting? If so, how to change it?

sudo systemctl status nginx
return
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-03-02 14:38:55 CET; 20h ago
Docs: man:nginx(8)
Main PID: 1065 (nginx)
Tasks: 3 (limit: 4586)
Memory: 9.9M
CGroup: /system.slice/nginx.service
├─ 1065 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
├─17179 nginx: worker process
└─17180 nginx: worker process

Mar 02 14:44:00 jitsi1.kwp.ad systemd[1]: Reloading A high performance web server and a reverse proxy server.
Mar 02 14:44:00 jitsi1.kwp.ad systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Mar 03 08:30:56 jitsi1.kwp.ad systemd[1]: Reloading A high performance web server and a reverse proxy server.
Mar 03 08:30:56 jitsi1.kwp.ad systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Mar 03 08:55:01 jitsi1.kwp.ad systemd[1]: Reloading A high performance web server and a reverse proxy server.
Mar 03 08:55:01 jitsi1.kwp.ad systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Mar 03 09:34:21 jitsi1.kwp.ad systemd[1]: Reloading A high performance web server and a reverse proxy server.
Mar 03 09:34:21 jitsi1.kwp.ad systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Mar 03 09:38:39 jitsi1.kwp.ad systemd[1]: Reloading A high performance web server and a reverse proxy server.
Mar 03 09:38:39 jitsi1.kwp.ad systemd[1]: Reloaded A high performance web server and a reverse proxy server.

@Piter As it has been already said, there was an issue with your previous install, which was not properly uninstalled. You have to find it out, clean whatever is needed and then start with install

  1. Uninstall
  2. Check if there are any previous softwares that are running using:
    dpkg -l|grep -i jitsi
    It should return no result. But in your case I think it would have web-config in result.

Now do: rm -f /var/lib/dpkg/info/jitsi*

Now uninstall web-config, using apt purger jitsi*

Check if it is still installed using dpkg. It should be gone now

  1. Start installation using quick install guide. Make sure there’s no space before the hostname when you copy/paste the hostname when asked.

@Prashanth I have tried to uninstall jitsi completely hundreds of times in various ways, including your instructions. Unfortunately, never once did I manage to get him to show the first stage of the installation, i.e. enter the host name. It always starts with the certificate selection stage. That’s why I asked how to change this name.

Uninstall using the instructions provided in jitsi quick install guide.
Check if all components are uninstalled using dpkg.
This is where you find that not all softwares have been removed.
Also check the output of ‘debconf-get-selections |grep -i jitsi’. It should not show any jitsi related info.

List the service names that are still present after uninstall. Then someone can help you.

Btw when I say uninstall, uninstall everything.

err, that’s NOT normal; you should have been asked the host name everytime. If this has not happened, that’s because my uninstall instructions were not quite enough. Try it again; if after the last thing I advised, running

sudo debconf-communicate
get jitsi-videobridge/jvb-hostname

does still return your host name, add

echo PURGE  |  sudo debconf-communicate jitsi-meet-prosody
echo PURGE  |  sudo debconf-communicate jicofo
echo PURGE  |  sudo debconf-communicate jitsi-meet-turnserver

and then run the install again.

well, I tried to run an installation and enter a space before the host name and it failed. After that, in the spirit of it, I then proceeded to do a few sudo dpkg -P to ‘clean’ my container and I got to something very similar to your current situation :slight_smile:
How did you get there ? my guess is that you entered the host name with a cut and paste, embedding a space as happens quite often, and after that instead of using apt you used dpkg.

1 Like

Yupiiiii
It’s work
Thank’s a lot :slight_smile:

Yes copy/past :slight_smile: