Countless Installation Attempts in Ubuntu 18.04 : error with Jitsi-Meet-Prosody

I’ve entered the “hell” of countless installation trials in Ubuntu 18.04.
But I’m stubborn, and soon or later, hopefully not too late!, I will finally succeed in installing and configuring Jitsi-Meet in Ubuntu 18.04 )))

My last attempt produced this error message:

dpkg: error processing package jitsi-meet (--configure):
 dependency problems - leaving unconfigured
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.

I purged everything again.
And tried to re-install it :

I followed these guidelines: Self-Hosting Guide - Debian/Ubuntu server · Jitsi Meet Handbook

(base) marco@meet:~$ sudo apt install apt-transport-https
[sudo] password for marco: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apt-transport-https is already the newest version (1.6.13).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
(base) marco@meet:~$ 


(base) marco@meet:~$ sudo apt-add-repository universe
'universe' distribution component is already enabled for all sources.
(base) marco@meet:~$ 

(base) marco@meet:~$ sudo apt update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease                
Hit:3 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease     
Hit:4 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease         
Hit:5 http://packages.prosody.im/debian bionic InRelease                       
Hit:6 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic InRelease      
Hit:7 http://ppa.launchpad.net/purplei2p/i2pd/ubuntu bionic InRelease          
Hit:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease 
Hit:9 http://it.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:10 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease            
Hit:11 https://apt.repos.intel.com/mkl all InRelease                           
Get:12 https://dl.yarnpkg.com/debian stable InRelease [17,1 kB]                
Hit:13 https://deb.torproject.org/torproject.org bionic InRelease              
Hit:14 https://dl.jami.net/ring-nightly/ubuntu_18.04 ring InRelease            
Hit:15 http://security.ubuntu.com/ubuntu bionic-security InRelease             
Hit:16 http://security.ubuntu.com/ubuntu xenial-security InRelease             
Hit:17 https://download.jitsi.org stable/ InRelease                            
Hit:18 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease           
Fetched 17,1 kB in 3s (5.835 B/s)                     
Reading package lists... Done
Building dependency tree       
Reading state information... Done


(base) marco@meet:~$ sudo hostnamectl set-hostname meet.grasp.deals

(base) marco@meet:~$ sudo ping "$(hostname)"
PING meet.grasp.deals (109.116.174.21) 56(84) bytes of data.
64 bytes from meet.grasp.deals (109.116.174.21): icmp_seq=1 ttl=64 time=2.14 ms
64 bytes from meet.grasp.deals (109.116.174.21): icmp_seq=2 ttl=64 time=0.808 ms
64 bytes from meet.grasp.deals (109.116.174.21): icmp_seq=3 ttl=64 time=0.721 ms
64 bytes from meet.grasp.deals (109.116.174.21): icmp_seq=4 ttl=64 time=0.767 ms
64 bytes from meet.grasp.deals (109.116.174.21): icmp_seq=5 ttl=64 time=0.770 ms

(base) marco@meet:~$ cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	pc01

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
#127.0.0.1	peer1.acme.com
#127.0.0.1	peer1.budget.com
#127.0.0.1	orderer.acme.com
127.0.0.1	postgresql
127.0.0.1	explorer
127.0.0.1	vagrant
127.0.0.1	localhost
109.116.174.21	meet.grasp.deals
(base) marco@meet:~$ 

(base) marco@meet:~$ curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c ‘gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg’
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0gpg: WARNING: unsafe ownership on homedir ‘/home/marco/.gnupg’
100 3114 100 3114 0 0 4033 0 --:–:-- --:–:-- --:–:-- 4028
(base) marco@meet:~$ 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
(base) marco@meet:~$ sudo apt update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:3 http://it.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease
Get:5 https://dl.yarnpkg.com/debian stable InRelease [17,1 kB]
Hit:6 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:7 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease
Hit:8 https://deb.torproject.org/torproject.org bionic InRelease
Hit:9 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit:10 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:11 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic InRelease
Hit:12 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:13 http://ppa.launchpad.net/purplei2p/i2pd/ubuntu bionic InRelease
Hit:14 https://dl.jami.net/ring-nightly/ubuntu_18.04 ring InRelease
Hit:15 https://download.jitsi.org stable/ InRelease
Hit:16 http://packages.prosody.im/debian bionic InRelease
Hit:17 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease
Hit:18 https://apt.repos.intel.com/mkl all InRelease
Fetched 17,1 kB in 2s (10,2 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done

(base) marco@meet:~$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
2.36.58.214 443/tcp        ALLOW       Anywhere                  
80/tcp                     ALLOW       Anywhere                  
443/tcp                    ALLOW       Anywhere                  
10000/udp                  ALLOW       Anywhere                  
22/tcp                     ALLOW       Anywhere                  
3478/udp                   ALLOW       Anywhere                  
5349/tcp                   ALLOW       Anywhere                  
444                        ALLOW       Anywhere                  
4444                       ALLOW       Anywhere                  
8080                       ALLOW       Anywhere                  
10000:20000/udp            ALLOW       Anywhere                  
6379/tcp                   ALLOW       Anywhere                  
5280/tcp                   ALLOW       Anywhere                  
5280/udp                   ALLOW       Anywhere                  
80/tcp (v6)                ALLOW       Anywhere (v6)             
443/tcp (v6)               ALLOW       Anywhere (v6)             
10000/udp (v6)             ALLOW       Anywhere (v6)             
22/tcp (v6)                ALLOW       Anywhere (v6)             
3478/udp (v6)              ALLOW       Anywhere (v6)             
5349/tcp (v6)              ALLOW       Anywhere (v6)             
444 (v6)                   ALLOW       Anywhere (v6)             
4444 (v6)                  ALLOW       Anywhere (v6)             
8080 (v6)                  ALLOW       Anywhere (v6)             
10000:20000/udp (v6)       ALLOW       Anywhere (v6)             
6379/tcp (v6)              ALLOW       Anywhere (v6)             
5280/tcp (v6)              ALLOW       Anywhere (v6)             
5280/udp (v6)              ALLOW       Anywhere (v6)             

(base) marco@meet:~$ 

(base) marco@meet:~$ cat /etc/nginx/conf.d/default.conf
server {
listen 443 ssl http2 default_server;
server_name grasp.deals;
ssl_certificate /etc/letsencrypt/live/grasp.deals/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/grasp.deals/privkey.pem; # managed by Certbot
ssl_trusted_certificate /etc/letsencrypt/live/grasp.deals/chain.pem;

    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

    ssl_session_timeout 5m;
    #ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
    ssl_prefer_server_ciphers on;
    ssl_session_cache shared:SSL:50m;

    access_log /var/log/nginx/graspdeals-access.log combined;

    add_header Strict-Transport-Security "max-age=31536000";
    location = /favicon.ico { access_log off; log_not_found off; }

    location / {
	proxy_pass http://127.0.0.1:8080;
	#proxy_pass http://127.0.0.1:2000;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	#proxy_set_header Host $host;
    }

}

server {
    if ($host = grasp.deals) {
	return 301 https://$host$request_uri;
    } # managed by Certbot


    listen 80 default_server;
    listen [::]:80 default_server;
    error_page 497 https://$host:$server_port$request_uri;
    server_name grasp.deals;
    return 301 https://$server_name$request_uri;

    access_log /var/log/nginx/graspdeals-access.log combined;

    add_header Strict-Transport-Security "max-age=31536000";
    location = /favicon.ico { access_log off; log_not_found off; }

    location / {
	proxy_pass http://127.0.0.1:8080;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
    }
}


upstream websocket {
    ip_hash;
    server localhost:3000;
}

server {
    listen 81;
    server_name grasp.deals;

    #location / {
    location ~ ^/(websocket|websocket\/socket-io) {
	proxy_pass http://127.0.0.1:4201;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	proxy_set_header X-Forwared-For $remote_addr;
	proxy_set_header Host $host;

	proxy_redirect off;
	proxy_set_header X-Real-IP $remote_addr;
    }
}

upstream golang-webserver {
    ip_hash;
    server 127.0.0.1:2000;
}

server {
    listen 2999;
    server_name grasp.deals;

    location / {
	#proxy_pass http://127.0.0.1:8080;
	proxy_pass http://golang-webserver;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	#proxy_set_header Host $host;
    }
}

(base) marco@meet:~$ 

(base) marco@meet:/etc/nginx/sites-available$ cat grasp.deals.conf
server_names_hash_bucket_size 64;

types {
# nginx's default mime.types doesn't include a mapping for wasm
    application/wasm     wasm;
}
server {
    listen 80;
    listen [::]:80;
    server_name grasp.deals;

    location ^~ /.well-known/acme-challenge/ {
	default_type "text/plain";
	root         /usr/share/jitsi-meet;
    }
    location = /.well-known/acme-challenge/ {
	return 404;
    }
    location / {
	return 301 https://$host$request_uri;
    }
}
server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name grasp.deals;

    # Mozilla Guideline v5.4, nginx 1.17.7, OpenSSL 1.1.1d, intermediate configuration
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_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;
    ssl_prefer_server_ciphers off;

    ssl_session_timeout 1d;
    ssl_session_cache shared:SSL:10m;  # about 40000 sessions
    ssl_session_tickets off;

    add_header Strict-Transport-Security "max-age=63072000" always;

    ssl_certificate /etc/jitsi/meet/grasp.deals.crt;
    ssl_certificate_key /etc/jitsi/meet/grasp.deals.key;

    root /usr/share/jitsi-meet;

    # ssi on with javascript for multidomain variables in config.js
    ssi on;
    ssi_types application/x-javascript application/javascript;

    index index.html index.htm;
    error_page 404 /static/404.html;

    gzip on;
    gzip_types text/plain text/css application/javascript application/json image/x-icon application/octet-stream application/wasm;
    gzip_vary on;
    gzip_proxied no-cache no-store private expired auth;
    gzip_min_length 512;

    location = /config.js {
	alias /etc/jitsi/meet/grasp.deals-config.js;
    }

    location = /external_api.js {
	alias /usr/share/jitsi-meet/libs/external_api.min.js;
    }

    # ensure all static content can always be found first
    location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.well-known)/(.*)$
    {
	add_header 'Access-Control-Allow-Origin' '*';
	alias /usr/share/jitsi-meet/$1/$2;

	# cache all versioned files
	if ($arg_v) {
	    expires 1y;
	}
    }

    # BOSH
    location = /http-bind {
	proxy_pass       http://localhost:5280/http-bind;
	proxy_set_header X-Forwarded-For $remote_addr;
	proxy_set_header Host $http_host;
    }

    # xmpp websockets
    location = /xmpp-websocket {
	proxy_pass http://127.0.0.1:5280/xmpp-websocket?prefix=$prefix&$args;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	proxy_set_header Host $http_host;
	tcp_nodelay on;
    }

    # colibri (JVB) websockets for jvb1
    location ~ ^/colibri-ws/default-id/(.*) {
	proxy_pass http://127.0.0.1:9090/colibri-ws/default-id/$1$is_args$args;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	tcp_nodelay on;
    }

    # load test minimal client, uncomment when used
    #location ~ ^/_load-test/([^/?&:'"]+)$ {
    #    rewrite ^/_load-test/(.*)$ /load-test/index.html break;
    #}
    #location ~ ^/_load-test/libs/(.*)$ {
    #    add_header 'Access-Control-Allow-Origin' '*';
    #    alias /usr/share/jitsi-meet/load-test/libs/$1;
    #}

    location ~ ^/([^/?&:'"]+)$ {
	try_files $uri @root_path;
    }

    location @root_path {
	rewrite ^/(.*)$ / break;
    }

    location ~ ^/([^/?&:'"]+)/config.js$
    {
	set $subdomain "$1.";
	set $subdir "$1/";

	alias /etc/jitsi/meet/grasp.deals-config.js;
    }

    # Anything that didn't match above, and isn't a real file, assume it's a room name and redirect to /
    location ~ ^/([^/?&:'"]+)/(.*)$ {
	set $subdomain "$1.";
	set $subdir "$1/";
	rewrite ^/([^/?&:'"]+)/(.*)$ /$2;
    }

    # BOSH for subdomains
    location ~ ^/([^/?&:'"]+)/http-bind {
	set $subdomain "$1.";
	set $subdir "$1/";
	set $prefix "$1";

	rewrite ^/(.*)$ /http-bind;
    }

    # websockets for subdomains
    location ~ ^/([^/?&:'"]+)/xmpp-websocket {
	set $subdomain "$1.";
	set $subdir "$1/";
	set $prefix "$1";

	rewrite ^/(.*)$ /xmpp-websocket;
    }
}
(base) marco@meet:/etc/nginx/sites-available$ 

(base) marco@meet:~$ 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 lua-expat lua-filesystem
lua-sec lua-socket lua5.2 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
lua-expat lua-filesystem lua-sec lua-socket lua5.2 openjdk-8-jre-headless prosody ruby-hocon
0 upgraded, 19 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/95,8 MB of archives.
After this operation, 217 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages …
Selecting previously unselected package ca-certificates-java.
(Reading database … 396738 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 ... 396965 files and directories currently installed.)
Preparing to unpack .../00-jitsi-videobridge2_2.1-492-g5edaf7dd-1_all.deb ...
Unpacking jitsi-videobridge2 (2.1-492-g5edaf7dd-1) ...
Selecting previously unselected package ruby-hocon.
Preparing to unpack .../01-ruby-hocon_1.2.5-1_all.deb ...
Unpacking ruby-hocon (1.2.5-1) ...
Selecting previously unselected package jicofo.
Preparing to unpack .../02-jicofo_1.0-747-1_all.deb ...
Unpacking jicofo (1.0-747-1) ...
Selecting previously unselected package jitsi-meet-web.
Preparing to unpack .../03-jitsi-meet-web_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-web (1.0.4985-1) ...
Selecting previously unselected package jitsi-meet-web-config.
Preparing to unpack .../04-jitsi-meet-web-config_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-web-config (1.0.4985-1) ...
Selecting previously unselected package lua5.2.
Preparing to unpack .../05-lua5.2_5.2.4-1.1build1_amd64.deb ...
Unpacking lua5.2 (5.2.4-1.1build1) ...
Selecting previously unselected package lua-expat:amd64.
Preparing to unpack .../06-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 .../07-lua-filesystem_1.6.3-1_amd64.deb ...
Unpacking lua-filesystem:amd64 (1.6.3-1) ...
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 prosody.
Preparing to unpack .../09-prosody_0.11.9-1~bionic1_amd64.deb ...
Unpacking prosody (0.11.9-1~bionic1) ...
Selecting previously unselected package lua-sec:amd64.
Preparing to unpack .../10-lua-sec_0.6-4_amd64.deb ...
Unpacking lua-sec:amd64 (0.6-4) ...
Selecting previously unselected package jitsi-meet-prosody.
Preparing to unpack .../11-jitsi-meet-prosody_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-prosody (1.0.4985-1) ...
Setting up jitsi-videobridge2 (2.1-492-g5edaf7dd-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 ... 398037 files and directories currently installed.)
Preparing to unpack .../jitsi-meet_2.0.5870-1_all.deb ...
Unpacking jitsi-meet (2.0.5870-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.4985-1) ...
Can't load /home/marco/.rnd into RNG
140514321621440: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/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 ... 398146 files and directories currently installed.)
Preparing to unpack .../jitsi-meet-turnserver_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-turnserver (1.0.4985-1) ...
Setting up libhiredis0.13:amd64 (0.13.3-2.2) ...
Setting up lua-socket:amd64 (3.0~rc1+git+ac3201d-4) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Setting up lua-sec:amd64 (0.6-4) ...
Setting up lua-filesystem:amd64 (1.6.3-1) ...
Setting up ruby-hocon (1.2.5-1) ...
Setting up jitsi-meet-web (1.0.4985-1) ...
Setting up lua-expat:amd64 (1.3.0-4) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Setting up lua5.2 (5.2.4-1.1build1) ...
update-alternatives: using /usr/bin/lua5.2 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: using /usr/bin/luac5.2 to provide /usr/bin/luac (lua-compiler) in auto mode
Processing triggers for systemd (237-3ubuntu10.47) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up jicofo (1.0-747-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.9-1~bionic1) ...
Setting up coturn (4.5.0.7-1ubuntu2.18.04.3) ...
Setting up jitsi-meet-prosody (1.0.4985-1) ...
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
dpkg: dependency problems prevent configuration of jitsi-meet:
 jitsi-meet depends on jitsi-meet-prosody (= 1.0.4985-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:
 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.
       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@meet:~$ 

Looking forward to your kind help.

I suggest you to use some script to purge and then install…else you have to keep opening new posts…

Also you might want to search on how to resolve this error…

Before the last installation attempt I purged everything with sudo apt purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge2.

If it is not enough, what else should I purge?

About this error :

Can't load /home/marco/.rnd into RNG
140514321621440: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

I searched and found this:

Hope that commenting this line :

#RANDFILE               = $ENV::HOME/.rnd

is going to help…

@Raphy Let me give you a hint…Once you have purged everything…make sure the output of below command is empty…it shouldn’t show anything(which I suspect in your case, will show something)

debconf-get-selections |grep -i jitsi

I replied myself:)

(base) marco@meet:~$ debconf-get-selections |grep -i jitsi|
debconf: DbDriver passwords warning: could not open /var/cache/debconf/passwords.dat: Permission 
denied

What does it mean? Do I have to remove passwords.dat ?

You may ignore the permission denied error…

Also you might want to copy paste the command I posted…If the only output you see is that error, you are good…you may start with the install again…

Try this to confirm correct uninstall.

sudo dpkg -l | grep jitsi

There is something wrong here … you are installing with meet.grasp… domain but you already have some configuration of jitsi-meet in /etc/nginx/sites-available for another domain … and you have letsencrypt certificate for the domain that you are not using when installing jitsi-meet …

You are having some errors coming from prosody probably, something had messed up there, you better check prosody log files for errors … Seems you had been doing “countless installation attempts” and your system is totally messed up.
If you are not using your prosody for anything else you can start clean by:

sudo apt purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge2 prosody

Execute this command several times till it says everything is removed

then do

rm -rf /etc/jitsi
rm -rf /etc/prosody
apt install jitsi-meet

I see @gpatel-fr had answered you already … Issue with DNS: looking for hints to resolve it - #9 by gpatel-fr

Maybe avoid doing multiple posts all around with the same problem, stick to one thread and discuss it there.

@damencho

I followed all these steps.
And re-installed. But still I get errors:

(base) marco@meet:~$ sudo apt purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge2 prosody
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'jigasi' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  ca-certificates-java coturn java-common libhiredis0.13 lua-expat lua-filesystem lua-sec lua-socket lua5.2 openjdk-8-jre-headless ruby-hocon
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  jicofo* jitsi-meet* jitsi-meet-prosody* jitsi-meet-turnserver* jitsi-meet-web* jitsi-meet-web-config* jitsi-videobridge2* prosody*
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 110 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 398181 files and directories currently installed.)
Removing jitsi-meet (2.0.5870-1) ...
Removing jitsi-meet-turnserver (1.0.4985-1) ...
Removing jitsi-meet-prosody (1.0.4985-1) ...
Removing jicofo (1.0-747-1) ...
Removing jitsi-meet-web (1.0.4985-1) ...
Removing jitsi-meet-web-config (1.0.4985-1) ...
Removing jitsi-videobridge2 (2.1-492-g5edaf7dd-1) ...
Removing prosody (0.11.9-1~bionic1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
(Reading database ... 397352 files and directories currently installed.)
Purging configuration files for jitsi-videobridge2 (2.1-492-g5edaf7dd-1) ...
Removing user `jvb' ...
Warning: group `jitsi' has no more members.
Done.
Purging configuration files for jitsi-meet (2.0.5870-1) ...
Purging configuration files for jitsi-meet-web-config (1.0.4985-1) ...
Purging configuration files for jitsi-meet-turnserver (1.0.4985-1) ...
Purging configuration files for jitsi-meet-prosody (1.0.4985-1) ...
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
130 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

Replacing debian:ACCVRAIZ1.pem
Replacing debian:AC_RAIZ_FNMT-RCM.pem
Replacing debian:Actalis_Authentication_Root_CA.pem
Replacing debian:AffirmTrust_Commercial.pem
Replacing debian:AffirmTrust_Networking.pem
Replacing debian:AffirmTrust_Premium.pem
Replacing debian:AffirmTrust_Premium_ECC.pem
Replacing debian:Amazon_Root_CA_1.pem
Replacing debian:Amazon_Root_CA_2.pem
Replacing debian:Amazon_Root_CA_3.pem
Replacing debian:Amazon_Root_CA_4.pem
Replacing debian:Atos_TrustedRoot_2011.pem
Replacing debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem
Replacing debian:Baltimore_CyberTrust_Root.pem
Replacing debian:Buypass_Class_2_Root_CA.pem
Replacing debian:Buypass_Class_3_Root_CA.pem
Replacing debian:CA_Disig_Root_R2.pem
Replacing debian:CFCA_EV_ROOT.pem
Replacing debian:COMODO_Certification_Authority.pem
Replacing debian:COMODO_ECC_Certification_Authority.pem
Replacing debian:COMODO_RSA_Certification_Authority.pem
Replacing debian:Certigna.pem
Replacing debian:Certum_Trusted_Network_CA.pem
Replacing debian:Certum_Trusted_Network_CA_2.pem
Replacing debian:Chambers_of_Commerce_Root_-_2008.pem
Replacing debian:Comodo_AAA_Services_root.pem
Replacing debian:Cybertrust_Global_Root.pem
Replacing debian:D-TRUST_Root_Class_3_CA_2_2009.pem
Replacing debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
Replacing debian:DST_Root_CA_X3.pem
Replacing debian:DigiCert_Assured_ID_Root_CA.pem
Replacing debian:DigiCert_Assured_ID_Root_G2.pem
Replacing debian:DigiCert_Assured_ID_Root_G3.pem
Replacing debian:DigiCert_Global_Root_CA.pem
Replacing debian:DigiCert_Global_Root_G2.pem
Replacing debian:DigiCert_Global_Root_G3.pem
Replacing debian:DigiCert_High_Assurance_EV_Root_CA.pem
Replacing debian:DigiCert_Trusted_Root_G4.pem
Replacing debian:E-Tugra_Certification_Authority.pem
Replacing debian:EC-ACC.pem
Replacing debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Replacing debian:Entrust_Root_Certification_Authority.pem
Replacing debian:Entrust_Root_Certification_Authority_-_EC1.pem
Replacing debian:Entrust_Root_Certification_Authority_-_G2.pem
Replacing debian:GDCA_TrustAUTH_R5_ROOT.pem
Replacing debian:GeoTrust_Primary_Certification_Authority_-_G2.pem
Replacing debian:GlobalSign_ECC_Root_CA_-_R4.pem
Replacing debian:GlobalSign_ECC_Root_CA_-_R5.pem
Replacing debian:GlobalSign_Root_CA.pem
Replacing debian:GlobalSign_Root_CA_-_R2.pem
Replacing debian:GlobalSign_Root_CA_-_R3.pem
Replacing debian:Global_Chambersign_Root_-_2008.pem
Replacing debian:Go_Daddy_Class_2_CA.pem
Replacing debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem
Replacing debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem
Replacing debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem
Replacing debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
Replacing debian:Hongkong_Post_Root_CA_1.pem
Replacing debian:ISRG_Root_X1.pem
Replacing debian:IdenTrust_Commercial_Root_CA_1.pem
Replacing debian:IdenTrust_Public_Sector_Root_CA_1.pem
Replacing debian:Izenpe.com.pem
Replacing debian:Microsec_e-Szigno_Root_CA_2009.pem
Replacing debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem
Replacing debian:Network_Solutions_Certificate_Authority.pem
Replacing debian:OISTE_WISeKey_Global_Root_GB_CA.pem
Replacing debian:QuoVadis_Root_CA.pem
Replacing debian:QuoVadis_Root_CA_1_G3.pem
Replacing debian:QuoVadis_Root_CA_2.pem
Replacing debian:QuoVadis_Root_CA_2_G3.pem
Replacing debian:QuoVadis_Root_CA_3.pem
Replacing debian:QuoVadis_Root_CA_3_G3.pem
Replacing debian:SSL.com_EV_Root_Certification_Authority_ECC.pem
Replacing debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem
Replacing debian:SSL.com_Root_Certification_Authority_ECC.pem
Replacing debian:SSL.com_Root_Certification_Authority_RSA.pem
Replacing debian:SZAFIR_ROOT_CA2.pem
Replacing debian:SecureSign_RootCA11.pem
Replacing debian:SecureTrust_CA.pem
Replacing debian:Secure_Global_CA.pem
Replacing debian:Security_Communication_RootCA2.pem
Replacing debian:Security_Communication_Root_CA.pem
Replacing debian:Sonera_Class_2_Root_CA.pem
Replacing debian:Staat_der_Nederlanden_EV_Root_CA.pem
Replacing debian:Staat_der_Nederlanden_Root_CA_-_G3.pem
Replacing debian:Starfield_Class_2_CA.pem
Replacing debian:Starfield_Root_Certificate_Authority_-_G2.pem
Replacing debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
Replacing debian:SwissSign_Gold_CA_-_G2.pem
Replacing debian:SwissSign_Silver_CA_-_G2.pem
Replacing debian:T-TeleSec_GlobalRoot_Class_2.pem
Replacing debian:T-TeleSec_GlobalRoot_Class_3.pem
Replacing debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem
Replacing debian:TWCA_Global_Root_CA.pem
Replacing debian:TWCA_Root_Certification_Authority.pem
Replacing debian:TeliaSonera_Root_CA_v1.pem
Replacing debian:TrustCor_ECA-1.pem
Replacing debian:TrustCor_RootCert_CA-1.pem
Replacing debian:TrustCor_RootCert_CA-2.pem
Replacing debian:Trustis_FPS_Root_CA.pem
Replacing debian:USERTrust_ECC_Certification_Authority.pem
Replacing debian:USERTrust_RSA_Certification_Authority.pem
Replacing debian:VeriSign_Universal_Root_Certification_Authority.pem
Replacing debian:XRamp_Global_CA_Root.pem
Replacing debian:certSIGN_ROOT_CA.pem
Replacing debian:ePKI_Root_Certification_Authority.pem
Replacing debian:GlobalSign_Root_CA_-_R6.pem
Replacing debian:OISTE_WISeKey_Global_Root_GC_CA.pem
Replacing debian:Certigna_Root_CA.pem
Replacing debian:certSIGN_Root_CA_G2.pem
Replacing debian:emSign_ECC_Root_CA_-_C3.pem
Replacing debian:emSign_ECC_Root_CA_-_G3.pem
Replacing debian:emSign_Root_CA_-_C1.pem
Replacing debian:emSign_Root_CA_-_G1.pem
Replacing debian:Entrust_Root_Certification_Authority_-_G4.pem
Replacing debian:e-Szigno_Root_CA_2017.pem
Replacing debian:GTS_Root_R1.pem
Replacing debian:GTS_Root_R2.pem
Replacing debian:GTS_Root_R3.pem
Replacing debian:GTS_Root_R4.pem
Replacing debian:Hongkong_Post_Root_CA_3.pem
Replacing debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem
Replacing debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem
Replacing debian:Trustwave_Global_Certification_Authority.pem
Replacing debian:Trustwave_Global_ECC_P256_Certification_Authority.pem
Replacing debian:Trustwave_Global_ECC_P384_Certification_Authority.pem
Replacing debian:UCA_Extended_Validation_Root.pem
Replacing debian:UCA_Global_G2_Root.pem
Replacing debian:NAVER_Global_Root_Certification_Authority.pem
Replacing debian:Caddy_Local_Authority_-_2020_ECC_Root_110193390995521940894603102223345539966.pem
done.
done.
Purging configuration files for jicofo (1.0-747-1) ...
Removing user `jicofo' ...
Warning: group `jitsi' has no more members.
Done.
Purging configuration files for prosody (0.11.9-1~bionic1) ...
groupdel: group 'prosody' does not exist
dpkg: warning: while removing prosody, directory '/etc/prosody/certs' not empty so not removed
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.47) ...
(base) marco@meet:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  ca-certificates-java coturn java-common libhiredis0.13 lua-expat lua-filesystem lua-sec lua-socket lua5.2 openjdk-8-jre-headless ruby-hocon
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
After this operation, 107 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 397330 files and directories currently installed.)
Removing coturn (4.5.0.7-1ubuntu2.18.04.3) ...
Removing libhiredis0.13:amd64 (0.13.3-2.2) ...
Removing lua-expat:amd64 (1.3.0-4) ...
Removing lua-filesystem:amd64 (1.6.3-1) ...
Removing lua-sec:amd64 (0.6-4) ...
Removing lua-socket:amd64 (3.0~rc1+git+ac3201d-4) ...
Removing lua5.2 (5.2.4-1.1build1) ...
Removing ruby-hocon (1.2.5-1) ...
Removing openjdk-8-jre-headless:amd64 (8u292-b10-0ubuntu1~18.04) ...
Removing java-common (0.68ubuntu1~18.04.1) ...
Removing ca-certificates-java (20180516ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 removed doc-base file...
Processing triggers for man-db (2.8.3-2ubuntu0.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...

updates of cacerts keystore disabled.
done.
(base) marco@meet:~$ sudo apt purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge2 prosody
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'prosody' is not installed, so not removed
Package 'jicofo' is not installed, so not removed
Package 'jigasi' is not installed, so not removed
Package 'jitsi-meet-prosody' is not installed, so not removed
Package 'jitsi-meet-turnserver' is not installed, so not removed
Package 'jitsi-meet-web-config' is not installed, so not removed
Package 'jitsi-meet-web' is not installed, so not removed
Package 'jitsi-meet' is not installed, so not removed
Package 'jitsi-videobridge2' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) marco@meet:~$ 



(base) marco@meet:~$ sudo find / -xdev 2>/dev/null -name "prosody" 
/etc/prosody
(base) marco@meet:~$ 

(base) marco@meet:~$ sudo rm -rf /etc/prosody/
    (base) marco@meet:~$ sudo rm -rf /etc/jits
(base) marco@meet:~$ 

(base) marco@meet:~$ sudo apt install jitsi-meet
[sudo] password for marco:
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 lua-expat lua-filesystem lua-sec
lua-socket lua5.2 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 lua-expat lua-filesystem lua-sec
lua-socket lua5.2 openjdk-8-jre-headless prosody ruby-hocon
0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/95,8 MB of archives.
After this operation, 217 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages …
Selecting previously unselected package ca-certificates-java.
(Reading database … 396756 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 ... 396983 files and directories currently installed.)
Preparing to unpack .../00-jitsi-videobridge2_2.1-492-g5edaf7dd-1_all.deb ...
Unpacking jitsi-videobridge2 (2.1-492-g5edaf7dd-1) ...
Selecting previously unselected package ruby-hocon.
Preparing to unpack .../01-ruby-hocon_1.2.5-1_all.deb ...
Unpacking ruby-hocon (1.2.5-1) ...
Selecting previously unselected package jicofo.
Preparing to unpack .../02-jicofo_1.0-747-1_all.deb ...
Unpacking jicofo (1.0-747-1) ...
Selecting previously unselected package jitsi-meet-web.
Preparing to unpack .../03-jitsi-meet-web_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-web (1.0.4985-1) ...
Selecting previously unselected package jitsi-meet-web-config.
Preparing to unpack .../04-jitsi-meet-web-config_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-web-config (1.0.4985-1) ...
Selecting previously unselected package lua5.2.
Preparing to unpack .../05-lua5.2_5.2.4-1.1build1_amd64.deb ...
Unpacking lua5.2 (5.2.4-1.1build1) ...
Selecting previously unselected package lua-expat:amd64.
Preparing to unpack .../06-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 .../07-lua-filesystem_1.6.3-1_amd64.deb ...
Unpacking lua-filesystem:amd64 (1.6.3-1) ...
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 prosody.
Preparing to unpack .../09-prosody_0.11.9-1~bionic1_amd64.deb ...
Unpacking prosody (0.11.9-1~bionic1) ...
Selecting previously unselected package lua-sec:amd64.
Preparing to unpack .../10-lua-sec_0.6-4_amd64.deb ...
Unpacking lua-sec:amd64 (0.6-4) ...
Selecting previously unselected package jitsi-meet-prosody.
Preparing to unpack .../11-jitsi-meet-prosody_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-prosody (1.0.4985-1) ...
Setting up jitsi-videobridge2 (2.1-492-g5edaf7dd-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 ... 398067 files and directories currently installed.)
Preparing to unpack .../jitsi-meet_2.0.5870-1_all.deb ...
Unpacking jitsi-meet (2.0.5870-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.4985-1) ...
Generating a RSA private key
...............................................................++++
..++++
writing new private key to '/etc/jitsi/meet/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 ... 398176 files and directories currently installed.)
Preparing to unpack .../jitsi-meet-turnserver_1.0.4985-1_all.deb ...
Unpacking jitsi-meet-turnserver (1.0.4985-1) ...
Setting up libhiredis0.13:amd64 (0.13.3-2.2) ...
Setting up lua-socket:amd64 (3.0~rc1+git+ac3201d-4) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Setting up lua-sec:amd64 (0.6-4) ...
Setting up lua-filesystem:amd64 (1.6.3-1) ...
Setting up ruby-hocon (1.2.5-1) ...
Setting up jitsi-meet-web (1.0.4985-1) ...
Setting up lua-expat:amd64 (1.3.0-4) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Setting up lua5.2 (5.2.4-1.1build1) ...
update-alternatives: using /usr/bin/lua5.2 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: using /usr/bin/luac5.2 to provide /usr/bin/luac (lua-compiler) in auto mode
Processing triggers for systemd (237-3ubuntu10.47) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up jicofo (1.0-747-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.9-1~bionic1) ...
Adding user prosody to group ssl-cert
Created symlink /etc/systemd/system/multi-user.target.wants/prosody.service → /lib/systemd/system/prosody.service.
Setting up coturn (4.5.0.7-1ubuntu2.18.04.3) ...
Setting up jitsi-meet-prosody (1.0.4985-1) ...
lua: /usr/local/bin/prosodyctl:47: module 'util.startup' not found:
	no field package.preload['util.startup']
	no file '/usr/local/lib/prosody/util/startup.lua'
	no file '/usr/local/share/lua/5.2/util/startup.lua'
	no file '/usr/local/share/lua/5.2/util/startup/init.lua'
	no file '/usr/local/lib/lua/5.2/util/startup.lua'
	no file '/usr/local/lib/lua/5.2/util/startup/init.lua'
	no file '/usr/share/lua/5.2/util/startup.lua'
	no file '/usr/share/lua/5.2/util/startup/init.lua'
	no file '/usr/local/lib/prosody/util/startup.so'
	no file '/usr/local/lib/lua/5.2/util/startup.so'
	no file '/usr/lib/x86_64-linux-gnu/lua/5.2/util/startup.so'
	no file '/usr/lib/lua/5.2/util/startup.so'
	no file '/usr/local/lib/lua/5.2/loadall.so'
	no file '/usr/local/lib/prosody/util.so'
	no file '/usr/local/lib/lua/5.2/util.so'
	no file '/usr/lib/x86_64-linux-gnu/lua/5.2/util.so'
	no file '/usr/lib/lua/5.2/util.so'
	no file '/usr/local/lib/lua/5.2/loadall.so'
stack traceback:
	[C]: in function 'require'
	/usr/local/bin/prosodyctl:47: in main chunk
	[C]: in ?
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.4985-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:
 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.
	                                                                                                  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@meet:~$

I guess you have the lua 5.1 and 5.2 problem …

Seems like broken lua packages …

Now I have more urgent and big problems… : I tried as suggested here https://community.jitsi.org/t/re-countless-installation-attempts-in-ubuntu-18-04-error-with-jitsi-meet-prosody/99918

with quick-jibri-installer and now Ubuntu 18.04 is not usable anymore: after booting, it’s n a freeze state, without even the possibility to open up a command-line window.
I’m really upset!!!

@Raphy You are having many issues that are not typical of most user’s installation and configuration experience.

Based on all I have read about what you are doing and how you approach your difficulties, I recommend learning lxc so you can create Linux containers. This will allow you to instantly create new Linux systems from a host/main Linux system that will always be working. With containers, you can easily create, delete and copy the entire system with a single command.

You can make changes, backup a working jitsi machine and totally trash it then easily start over by creating a new container or going back to your backup.

This should get you started: LXD in 4 Easy Steps | Ubuntu

I will probably not be able to help you much more until you get things back working in an environment that allows more flexibility.

1 Like