Installing jitsi-meet via ansible not possible
See original GitHub issueDescription
I am writing a ansible script automating the jitsi installation procedure and can only enter the hostname and cert selection after the successful install with deb_conf
.
Current behavior
Currently when installing jitsi with apt you have to configure the pkt while installing. When not entering the hostname and cert selection during the deb_conf procedure the installation is falling.
Expected Behavior
A check if this values are needed would be great because because before installing jitsi-meet the FQDN is already set in /etc/hostname
and certs are already generated in /etc/letsencrypt
in my installation procedure.
Possible Solution
- Allow the installation to be configured after a successful install with
dpkg-reconfigure
- check if the needed selections already set in
/etc/hostname
or use default values
Steps to reproduce
DEBIAN_FRONTEND=noninteractive apt-get -y install jitsi-meet
will produce:
....
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
Setting up coturn (4.5.0.7-1ubuntu2.18.04.1) ...
Adding group `turnserver' (GID 117) ...
Done.
Adding system user `turnserver' (UID 112) ...
Adding new user `turnserver' (UID 112) with group `turnserver' ...
Not creating home directory `/'.
dpkg: dependency problems prevent configuration of jitsi-meet:
jitsi-meet depends on jitsi-meet-prosody (= 1.0.3992-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.39) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
done.
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
jitsi-meet-prosody
jitsi-meet
jitsi-meet-turnserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Environment details
- Ubuntu 18.04
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Set up jitsi-meet using ansible - Install & Config
Hello, I am currently trying to set up jitsi meet docker containers using ansible. I've set up a web container, a prosody container, ......
Read more >Deploy Jitsi-Meet Using Ansible Playbook - YouTube
I've made and ansible -playbook that you can use to automatically deploy Jitsi-Meet to your server. This installation also enables JWT ...
Read more >problem installing Jitsi meet with ansible - Google Groups
I would like to know how I can install the jitsi meet through ansible using LXC container and register the IP address that...
Read more >From Zero to Jitsi Meet in 30 Minutes - Brainfood
The thirty minutes claim will likely not hold up if ... We will use Ansible later to install and configure Jitsi Meet on...
Read more >Frequently Asked Questions — Ansible Documentation
ansible /bin/activate $ pip install ansible. If you need to use any libraries which are not available through pip (for instance, SELinux Python...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FWIW, I wasn’t using ansible, but was able to script the configuration using something like:
before the
apt-get -y install jitsi-meet
. (Also: tab-separated is important here.)I created an Ansible installation script that worked on my Ubuntu 18 machine: https://github.com/tderflinger/jitsi-deployment