Wednesday, September 28, 2011

Install bigbluebutton 0.8 (BBB) on Ubuntu 11.04

I recently installed big blue button version 0.8 on Ubuntu 11.04 and I came up with some errors while installing. This post is the log of my actions that solved my problem.


I was getting the following error:
Unpacking bbb-client (from .../bbb-client_0.80ubuntu91_amd64.deb) ...
cp: cannot stat `/var/www/nginx-default/50x.html': No such file or directory
dpkg: error processing /var/cache/apt/archives/bbb-client_0.80ubuntu91_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/bbb-client_0.80ubuntu91_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The problem was that nginx didn’t create the web root folder in /var/www/ so I made a softlink by giving the following command:
var/www$ sudo ln -s -d /usr/share/nginx/www/ nginx-default
Then I got the following error:
Setting up bbb-record-core (0.80ubuntu87) ...
/etc/init.d/bbb-record-core: line 24: god: command not found
invoke-rc.d: initscript bbb-record-core, action "start" failed.
dpkg: error processing bbb-record-core (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
bbb-record-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
which seemed to be as easy as to link the ruby’s god exe in the local bin by posting the following command:
sudo ln -s /var/lib/gems/1.8/bin/god /usr/local/bin
but unfortunately this gave me the following error:
Setting up bbb-record-core (0.80ubuntu87) ...
Record and Playback monitoring started
sudo: bundle: command not found
dpkg: error processing bbb-record-core (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bbb-record-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
which indicated that bbb also required the bundle gem. Fixed that also by posting the equivalent cmd:
sudo ln -s /var/lib/gems/1.8/bin/bundle /usr/local/bin
And finally big blue button installed on my server… The last two links could be avoided if I had installed the RVM manager (or so it seems) but I didn’t have the time or the will to do so. If you want to get your hands into it, check out this blog post which seemed like a nice guide on installing ruby on ubuntu.

6 comments:

Ryan said...

Nice! Very helpful

Jorge said...

You rock my friend!

mmaarrkk11 said...

Hi, what about Ubuntu 12.04 (has LTS)

Anonymous said...

what sources.list did you use?

Hxkomputernupe said...

Bless your soul

Gowtham said...

Very helpful it helped to complete the setup. I wish bigbluebutton updates their documentation :)