doc improvement: make clear that /etc/hostname must match /etc/hosts
See original GitHub issueAdmins 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:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top 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 >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
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.
Oops, landed!