[unstable 2.0.6146-1] Error during install of jicofo sip-communicator.properties: No such file or directory

I’m trying to install the latest unstable (2.0.6146-1) on Ubuntu 20.04. On a newly created AWS server, I’m just following the self-hosting guide:

apt update
apt install apt-transport-https
apt install gnupg2
apt install nginx-full
sudo apt-add-repository universe
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 unstable/' | sudo tee /etc/apt/sources.list.d/jitsi-unstable.list > /dev/null

# update all package sources
sudo apt update

sudo apt install jitsi-meet

I enter my FQDN, chose let’s encrypt certificate, but then the install fail, during the configuration of jicofo:

Setting up jicofo (1.0-778-1) ...
grep: /etc/jitsi/jicofo/sip-communicator.properties: No such file or directory
Traceback (most recent call last):
        5: from /usr/bin/hocon:4:in `<main>'
        4: from /usr/lib/ruby/vendor_ruby/hocon/cli.rb:118:in `main'
        3: from /usr/lib/ruby/vendor_ruby/hocon/cli.rb:157:in `do_set'
        2: from /usr/lib/ruby/vendor_ruby/hocon/impl/simple_config_document.rb:20:in `set_value'
        1: from /usr/lib/ruby/vendor_ruby/hocon/impl/config_document_parser.rb:44:in `parse_value'
/usr/lib/ruby/vendor_ruby/hocon/impl/config_document_parser.rb:642:in `parse_single_value': single value parsing: 1: The value from setValue cannot have leading or trailing newlines, whitespace, or comments (Hocon::ConfigError::ConfigParseError)
dpkg: error processing package jicofo (--configure):
 installed jicofo package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of jitsi-meet:
 jitsi-meet depends on jicofo (= 1.0-778-1); however:
  Package jicofo is not configured yet.

dpkg: error processing package jitsi-meet (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:

Any idea ?

Installation is working with yesterday unstable:
apt install jitsi-meet=2.0.6142-1 jicofo=1.0-775-1 jitsi-videobridge2=2.1-536-g5b4158a5-1

I suspect the following commit of today moving jicofo to the new config broke the install

Maybe you want to take a look @Boris_Grozev

yes this string includes a forbidden character ‘@’
could have been something like

hocon -f $HOCON_CONFIG set "jicofo.bridge.brewery-jid" "\"JvbBrewery@internal.auth.${JVB_HOSTNAME}\""

this stuff was reviewed by @damencho

1 Like

This is fixed now. fix: Fix debian postinst when sip-communicator.properties is missing. by bgrozev · Pull Request #774 · jitsi/jicofo · GitHub

Thank you for the reports.