bbb-install icon indicating copy to clipboard operation
bbb-install copied to clipboard

change default folder for greenlight

Open fireba11 opened this issue 3 years ago • 1 comments

The default folder for greenlight sadly is /root/greenlight. That should be changed to /opt/greenlight or the like, see also https://github.com/bigbluebutton/greenlight/issues/2738 so we can reduce rights needed there.

fireba11 avatar May 28 '21 11:05 fireba11

It actually is ~/greenlight which is even worse, I think. Depending on the su/sudo method (sudo -i vs sudo -s) you're using it might be /root/greenlight or /home/user/greenlight. If multiple users are administrating a Greenlight host, and re-execute bbb-install.-sh -g in a sudo -s shell it will even get installed in different user homes and mess up the database, as directory bindings are used instead of docker volumes.

A workaround might be to pipe the script through sed to replace ~ with /opt :-/

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | sed 's|~/greenlight|/opt/greenlight|g' | bash -s -- [...]

debuglevel avatar Feb 18 '22 13:02 debuglevel