Hello,
I recently added the follow code in ect/nginx/sites-available/bigbluebutton to redirect the http traffic to https.
server {
listen 80;
location / {
}
}
The following are the last lines of output in bbb-conf --clean
/usr/bin/bbb-conf: line 1262: [:
mysite.com: binary operator expected
# Warning: The client self check is installed and accessible from:
#
The following is an snippet this line and beyond:
if [ ! -z $NGINX_IP ]; then
if ! nc -z -w 3 $NGINX_IP 1935 > /dev/null; then
echo "# Error: Unable to connect to port 1935 (RTMP) on $NGINX_IP"
echo
fi
fi
---
Is this if statement using word splitting? Is it possible that this statement returns more than one token/word?. Hence, the message “Binary Operator Expected” ([ ] expects to see operators between the resulting tokens).
Is there any way to resolve this. I am running BBB 1.1Beta on ubuntu 16.04. I did not have this problem on 14.04.
Thanks,
Paul