BBB not working after reboot in digitalocean vm

1,257 views
Skip to first unread message

schrysan

unread,
May 1, 2015, 4:59:12 PM5/1/15
to bigbluebu...@googlegroups.com
Hi,
installing bbb 0.90 in a virtual machine at digitalocean works.
After rebooting it won't work unless I run a "sudo bbb-conf --clean" or setting up the domain again with "sudo bbb-conf --setip XXX".
It seems that unless a configuration is done again, ports are not open for external use. nginx works but other services can't communicate by default.

Part of DEBUG INFO, as I cleaned several times here and there:

root@webconf:~# sudo bbb-conf --debug
   -- ERRORS found in /usr/share/red5/log/* --
/usr/share/red5/log/bigbluebutton.log:2015-05-01 16:43:11,579-04:00 [pool-17-thread-1] ERROR o.b.w.v.f.a.PopulateRoomCommand - Not XML: [Conference 71355 not found]

   -- Exceptions found in /usr/share/red5/log/* --
/usr/share/red5/log/error.log:org.red5.server.exception.ScopeNotFoundException: Scope not found: bigbluebutton in null
/usr/share/red5/log/error.log:org.red5.server.exception.ScopeNotFoundException: Scope not found: deskShare in null
/usr/share/red5/log/red5.log:org.red5.server.exception.ScopeNotFoundException: Scope not found: bigbluebutton in null
/usr/share/red5/log/red5.log:org.red5.server.exception.ScopeNotFoundException: Scope not found: deskShare in null

   -- Errors found in /var/log/nginx/error.log --
2015/05/01 16:40:20 [error] 2320#0: *5 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 85.73.228.85, server: XXX, request: "POST /open/1 HTTP/1.1", upstream: "http://127.0.0.1:5080/open/1", host: "XXX", referrer: "http://XXX/check/"
2015/05/01 16:40:20 [error] 2320#0: *5 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 85.73.228.85, server: XXX, request: "POST /open/1 HTTP/1.1", upstream: "http://127.0.0.1:5080/open/1", host: "XXX", referrer: "http://XXX/check/"
2015/05/01 16:40:20 [error] 2320#0: *4 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 85.73.228.85, server: XXX, request: "POST /open/1 HTTP/1.1", upstream: "http://127.0.0.1:5080/open/1", host: "XXX", referrer: "http://XXX/check/"
2015/05/01 16:40:20 [error] 2320#0: *4 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 85.73.228.85, server: XXX, request: "POST /open/1 HTTP/1.1", upstream: "http://127.0.0.1:5080/open/1", host: "XXX", referrer: "http://XXX/check/"

Part of /check page (pasting only the errors):

Failed 
RTMP BigBlueButton app:         NetConnection.Connect.Failed: undefined 
RTMP deskShare app:             NetConnection.Connect.Failed: undefined 
RTMP sip app:           NetConnection.Connect.Failed: undefined 
RTMP video app:         NetConnection.Connect.Failed: undefined 
RTMPT BigBlueButton app:                NetConnection.Connect.Failed: undefined 
RTMPT deskShare app:            NetConnection.Connect.Failed: undefined 
RTMPT sip app:          NetConnection.Connect.Failed: undefined 
RTMPT video app:                NetConnection.Connect.Failed: undefined 
WebRTC Socket Test:             1002 


Any ideas how to workaround such a problem? Anybody else using DigitalOcean as their server? I use DO because I use BBB a couple of hours and then turn it off. I can't afford a dedicated for such a low use.
Under 0.81 I didn't have such an issue.
Maybe some services won't start automatically? Don't know how to check it though.


Thanks

HostBBB.com

unread,
May 2, 2015, 10:34:21 AM5/2/15
to bigbluebu...@googlegroups.com
Message has been deleted

Fred Dixon

unread,
May 3, 2015, 1:19:39 AM5/3/15
to bigbluebu...@googlegroups.com
Hi Schrysan,

>    -- ERRORS found in /usr/share/red5/log/* --
/usr/share/red5/log/bigbluebutton.log:2015-05-02 13:50:37,681-04:00 [pool-17-thread-1] ERROR o.b.w.v.f.a.PopulateRoomCommand - Not XML: [Conference 78505 not found]

You can ignore these errors.  See


> After rebooting it won't work unless I run a "sudo bbb-conf --clean" 
> or setting up the domain again with "sudo bbb-conf --setip XXX".

You need to configure BigBlueButton to bind to the public IP address.  If the droplet changes the IP, you'll need to reconfigure.

You'll also need to enter

  sudo bbb-conf --enablewebrtc

to reconfigure the settings for WebRTC.  After the above, do 

  sudo bbb-conf --restart

and the WebRTC audio should work again.


Regards,... Fred


On Sat, May 2, 2015 at 11:01 AM, schrysan <schr...@gmail.com> wrote:
Hi Stephen,
while this works, and thank you for your answer, I now have the following error:

   -- ERRORS found in /usr/share/red5/log/* --
/usr/share/red5/log/bigbluebutton.log:2015-05-02 13:50:37,681-04:00 [pool-17-thread-1] ERROR o.b.w.v.f.a.PopulateRoomCommand - Not XML: [Conference 78505 not found]

Before chaging the java.security the WebRTC worked fine. Now it doesn't and switches to flash. But assuming that flash is not available I guess a problem will arise...

Any ideas how to fix that?

Should I have mad that change to java before installing bbb to the server or uninstall it and reinstall it?

--
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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton
Reply all
Reply to author
Forward
0 new messages