question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

doc improvement: make clear that /etc/hostname must match /etc/hosts

See original GitHub issue

Admins of self-hosted instances may encounter trouble if /etc/hostname does not match /etc/hosts, see for example: https://community.jitsi.org/t/default-jitsi-installation-gives-error-bridge-channel-send-no-opened-channel/23740

The “Jitsi Meet quick install” guide tells you what to put in /etc/hosts but does not elaborate about /etc/hostname. Also in the “Install Jitsi Meet” section it states that Jitsi Meet can be installed without a resolvable FQDN, but this is not consistent with what appears in the “Basic Jitsi Meet install”.

I suggest to change this section thus:

Set up the Fully Qualified Doman Name (FQDN) (optional)

If the machine used to host the Jitsi Meet instance has a FQDN hostname already set up in DNS, `/etc/hostname` must contain this FQDN; if this is not case yet, [change the hostname](https://wiki.debian.org/it/HowTo/ChangeHostname).
Then add the the same FQDN in the `/etc/hosts` file , associating it with the loopback address:
127.0.0.1 localhost meet.example.org
Finally test that you can ping the FQDN with: ping "$(hostname)"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
seanmcommented, Mar 23, 2020

I followed the quick-install doc pretty closely but in the end the web page worked but video and audio didn’t. Various searching got me here. I wiped my VM and started over, following the hostname suggestions in this patch, and now things work. There were some other differences too, so I can’t be sure this was my only problem, but using this setup definitely works.

0reactions
saghulcommented, Mar 23, 2020

Oops, landed!

Read more comments on GitHub >

github_iconTop Results From Across the Web

On Ubuntu 10.04, should /etc/hostname contain the server's ...
"/etc/hostname This file should only contain domain name and not the full FQDN.", seems clear to me... but I do agree, this can...
Read more >
How do I change the hostname without a restart? - Ask Ubuntu
To change without a reboot, you can just use hostname.sh after you edit /etc/hostname . You must keep both your host names in...
Read more >
etc/hostname vs /etc/hosts vs /etc/sysconfig/network in centos7
/etc/hosts is for defining your own domain names for certain IP addresses. It commonly has this entry: 127.0.0.1 localhost.
Read more >
hostname and /etc/hosts - Unix & Linux Stack Exchange
The short answer that works on my (Debian) systems is to add a line to /etc/hosts . From your shell, confirm these results...
Read more >
9.7. The /etc/hosts file
The /etc/hosts file. As your machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found