After setup, URL getting redirected automatically

1,406 views
Skip to first unread message

iteac...@gmail.com

unread,
Apr 9, 2018, 3:53:15 AM4/9/18
to BigBlueButton-Setup
Hi,
We just setup BBB 2.0 through bbb-install.sh script and it worked like a charm, many thanks to Team BBB for that.
But I'm facing a peculiar problem:
I installed BBB on a URL https://<URL> but when we try to access this link it automatically gets redirected to https://<URL>/b which then displays a 404 error.
Although the Demo link is working fine but even when we log out of demo class from demo1.jsp page, it gets redirected to the link with https.../b

Any clue please as to how can I fix this?

Thanks,
Tarun

Fred Dixon

unread,
Apr 9, 2018, 6:11:48 AM4/9/18
to BigBlueButton-.
Hi,

> We just setup BBB 2.0 through bbb-install.sh script and it worked like a charm ...

Nice!


The link for

  https://<URL>/b

is for GreenLight, which should have been installed with the -g option.  If you don't want the home page redirected to '/b', you can delete the nginx redirection script

   /etc/bigbluebutton/nginx/greenlight-redirect.nginx

and restart nginx

   systemctl restart nginx


Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

iteac...@gmail.com

unread,
Apr 10, 2018, 12:18:57 PM4/10/18
to BigBlueButton-Setup
Thanks Fred, for the help.
Although I had installed the server with  a -g option but still Greenlight didn't get installed. Also the html5 client does not work either despite using -t option.

To be specific I used : wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-200 -s <URL> -e <email> -t -g

1. But as I mentioned earlier /b link gives a 404 error and
2. When I click on <HTML5 Client Demo> link it takes me to login page (demoHTML5.jsp) but after that it gives a 404 error despite generating a Token in the URL.

Any idea what needs to be done in order to use the html5 please? I would desperately need to use these for students who would want to log in from mobiles.

Regards,
Tarun


On Monday, April 9, 2018 at 3:41:48 PM UTC+5:30, Fred Dixon wrote:
Hi,

> We just setup BBB 2.0 through bbb-install.sh script and it worked like a charm ...

Nice!


The link for

  https://<URL>/b

is for GreenLight, which should have been installed with the -g option.  If you don't want the home page redirected to '/b', you can delete the nginx redirection script

   /etc/bigbluebutton/nginx/greenlight-redirect.nginx

and restart nginx

   systemctl restart nginx


Regards,... Fred

On Mon, Apr 9, 2018 at 3:53 AM, <iteac...@gmail.com> wrote:
Hi,
We just setup BBB 2.0 through bbb-install.sh script and it worked like a charm, many thanks to Team BBB for that.
But I'm facing a peculiar problem:
I installed BBB on a URL https://<URL> but when we try to access this link it automatically gets redirected to https://<URL>/b which then displays a 404 error.
Although the Demo link is working fine but even when we log out of demo class from demo1.jsp page, it gets redirected to the link with https.../b

Any clue please as to how can I fix this?

Thanks,
Tarun

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.

Fred Dixon

unread,
Apr 11, 2018, 8:16:09 AM4/11/18
to BigBlueButton-.
Hi Tarun,

Thanks for giving us a few minutes to check out your server.  There was a logic error in bbb-install.sh that wasn't accurately determining if wget was installed.  We've improved the logic so it now correctly determines if the needed package is installed


We've also added a few more checks to ensure that docker runs correctly before continuing with the rest of the installation for GreenLight.

Don't hesitate to reach out if you encounter any more problems.

Regards,... Fred


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.

iteac...@gmail.com

unread,
Apr 11, 2018, 8:36:46 AM4/11/18
to BigBlueButton-Setup
Hi Fred, indeed I can't thank you enough for helping us out today.
I'm glad we could be of some help even though that help was of being a
listener :)

Kind regards,
Tarun

iteac...@gmail.com

unread,
May 16, 2018, 7:22:24 AM5/16/18
to BigBlueButton-Setup
Hi Fred,
If you remember from this trail that we were getting some issues in the install script and you very kindly helped us out on that.
Well, we're facing another problem now.
On the demo1.jsp after filling out Name in order to join the meeting we get a Page which displays a list of error: https://pastebin.com/vhhmD4Fn
Neither is the main Greenlight interface working ( the page gives a 404 error)

On the command line if we restart we get this:

Fred Dixon

unread,
May 16, 2018, 7:34:28 AM5/16/18
to BigBlueButton-.
Hi there,

Just looking at the output, can you check on the server (via SSH) if the configured hostname resolves to the IP address of your server.  You can also check in /etc/hosts if it's mapping the hostname to a different IP address than the public IP address of the server.

Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

iteac...@gmail.com

unread,
May 16, 2018, 9:41:38 AM5/16/18
to BigBlueButton-Setup
Hi Fred,
Firstly, I pinged the hostname and it resolved to the IP address which is my servers IP. So I didn't see any problem in this.

Secondly I checked /etc/hosts which contained:

127.0.0.1       localhost
127.0.1.1       sd-132332.dedibox.fr iteacher

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

As I didn't see any reference to the hostname so I executed bbb-conf --setip <hostname> and it assigned the domain to rmtp, servername etc.

It restarted but even then it didn't work. Still gives a 404 at hostname/b and same errors in demo.

Rgds,
Tarun

On Wednesday, May 16, 2018 at 5:04:28 PM UTC+5:30, Fred Dixon wrote:
Hi there,

Just looking at the output, can you check on the server (via SSH) if the configured hostname resolves to the IP address of your server.  You can also check in /etc/hosts if it's mapping the hostname to a different IP address than the public IP address of the server.

Regards,... Fred

On Wed, May 16, 2018 at 7:22 AM <iteac...@gmail.com> wrote:
Hi Fred,
If you remember from this trail that we were getting some issues in the install script and you very kindly helped us out on that.
Well, we're facing another problem now.
On the demo1.jsp after filling out Name in order to join the meeting we get a Page which displays a list of error: https://pastebin.com/vhhmD4Fn
Neither is the main Greenlight interface working ( the page gives a 404 error)

On the command line if we restart we get this:

Any clue please as to how can I fix this?

Thanks,
Tarun

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Fred Dixon

unread,
May 16, 2018, 10:32:42 AM5/16/18
to BigBlueButton-.
Hi there,

Thanks for giving us a quick look at the server.  Strangely, the server is unable to make https requests.  A simple request such as 


Should return

<response><returncode>SUCCESS</returncode><version>1.1</version></response>

but it's not resolving on the server.  Also, the command `sudo apt-get update` is throwing certificate errors.

It looks like the certificates file might be damaged.  As it's a new setup, and pretty easy to re-initialize the server, recommend having the server wiped and install a new copy of Ubuntu 16.04 64-bit and trying the install anew.

Regards,.. Fred


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.


--
BigBlueButton Developer
@bigbluebutton

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages