For the last ten years I have been a great fan and supporter of free and open source software, so this email is an admission of defeat for me.
Is there a script or set of instructions that will completely remove jitsi-meet and all associated files, so that it can be reinstalled without errors? I have been trying to create an acceptable working installation for about a month without success. It seems to be impossible to restore the system to it’s previous state so that a new installation can be completed.
I have a clean Ubuntu 18.04 LTS server that has only Midnight Commander and netdata installed.
On the first installation it all seemed to work. I then ran into an nginx problem because I made an error typing in the host name. After trying unsuccessfully to fix it, I decided to uninstall and reinstall. As root I did the following:
- I stopped all jitsi. jocofo and prosody processes using systemctl and checking with htop.
- I ran the apt-get purge … line from the quick install guide in github.
Reinstalling did not work, so I repeated from 1) to 2) and then continued:
- Uninstalled nginx, LetsEncrypt and Certbot.
- Found and deleted every jitsi, Jocofo, Prosody, nginx, LetsEncrypt and Certbot folder and file that I could find.
On reinstalling the following errors occurred:
… Setting up jitsi-videobridge2 (2.1-183-gdbddd169-1) …
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-lxd-inotify.conf …
fs.inotify.max_user_instances = 1024
- 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 /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 …
- 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 … 80102 files and directories currently installed.)
Preparing to unpack …/jitsi-meet_2.0.4468-1_all.deb …
Unpacking jitsi-meet (2.0.4468-1) …
Setting up jitsi-meet-web-config (1.0.4025-1) …
Can’t load /root/.rnd into RNG
140630885654976:error:2406F079:random number generator:RAND_load_file:Cannot open file:…/crypto/rand/randfile.c:88:Filename=/root/.rnd
Generating a RSA private key
writing new private key to ‘/etc/jitsi/meet/jitsi.meetu3adacorum.org.key’
cp: cannot create regular file ‘/etc/nginx/sites-available/jitsi.meetu3adacorum.org.conf’: No such file or directory
dpkg: error processing package jitsi-meet-web-config (–configure):
installed jitsi-meet-web-config package post-installation script subprocess returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
I would really appreciate some guidance other than run systemctl status prosody.service and journalctl -xe.
I hate to say it but unless jitsi-meet can be installed and removed and installed again with standard scripts it must have and will contnue to attract and lose users without knowing it. It hurts to say it but Zoom looks increasingly attractive.