bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in script (rake instead of rails) blocking greenlight v3 fresh install with -g option

ThomasMic opened this issue · comments

After incomplete installation of greenlight v3 (rake aborted! Don't know how to build task 'secret') i think there is a typo on this line :

SECRET_KEY_BASE=$(docker run --rm --entrypoint bundle $GL_IMG_REPO exec rake secret)

should be :

SECRET_KEY_BASE=$(docker run --rm --entrypoint bundle $GL_IMG_REPO exec rails secret)

not

SECRET_KEY_BASE=$(docker run --rm --entrypoint bundle $GL_IMG_REPO exec rake secret)

Thomas

secret is not anymore in the rake task list when you do :

docker run --rm --entrypoint bundle bigbluebutton/greenlight:v3 exec rake --tasks

And in greenlight-release-3.0.8\sample.env (https://github.com/bigbluebutton/greenlight/blob/master/sample.env)

you can see this comment :

Verifies the integrity of all secrets created in the application
Can be generated by running 'docker run --rm --entrypoint /bin/sh bigbluebutton/greenlight:v3 -c "bundle exec rails secret"

Thanks! #697

@ffdixon The fix needs to applied to bbb-install-2.6.sh as well.

Done. You can download the updated installer for 2.6 here https://raw.githubusercontent.com/bigbluebutton/bbb-install/master/bbb-install-2.6.sh. Also updated the remote version at https://ubuntu.bigbluebutton.org/bbb-install-2.6.sh