File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -955,6 +955,15 @@ install_greenlight_v3(){
955955 # Preparing and checking the environment.
956956 say " preparing and checking the environment to install/update greenlight-v3..."
957957
958+ # Avoid error when domain used as hostname
959+ # See https://github.com/bigbluebutton/greenlight/issues/6174
960+ if grep -qE " ^127\.[0-9]+\.[0-9]+\.[0-9]+[[:space:]]+$HOST " /etc/hosts; then
961+ err " Hosts configuration issue detected: Your domain '$HOST ' is mapped to localhost in /etc/hosts.
962+ This is known to cause connectivity issues between Greenlight and the BigBlueButton API (see Greenlight issue #6174).
963+ Please edit, comment or remove the affected line in /etc/hosts then, restart the installation script.
964+ WARNING: If you are using a cloud provider, this entry may be added automatically during server deployment."
965+ fi
966+
958967 if [ ! -d $GL3_DIR ]; then
959968 mkdir -p $GL3_DIR && say " created $GL3_DIR "
960969 fi
You can’t perform that action at this time.
0 commit comments