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:
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)
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 -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)
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’ ‘]’
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 ?
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
Uninstall
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
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.
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
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
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.