bigbluebutton / greenlight

A really simple end-user interface for your BigBlueButton server.
GNU Lesser General Public License v3.0
794 stars 3.8k forks source link

How to change domain name in BBB and greenlight working with actual database #1794

Closed mave-git closed 4 years ago

mave-git commented 4 years ago

Hello, I'm trying to change on a BBB-instance the domain.tld to new-domain.tld. "bbb-conf --setip new-domain.tld" takes this, but this makes no chances to greenlight-v2. Calling the domain ends with nginx: not found. Running complete ./bbb-install ... with new-domain.tld works and greenlight is built new but also with a new (?) database, a whole reset. Copying old greenlight-diectory, editing .env with new-domain.tld, checking secret and secret key, nothing. I always running in "nginx: not found or "Welcome to nginx!"" or get a fully new greenlight ... Can anybody gives advice or help to manage this? Target again: changing existing domain on an existing BBB-instance, including greenlight-v2 (users, rooms existing). Thanks!

farhatahmad commented 4 years ago

Using bbb-conf --setip new-domain.tld should work. Can you try restarting Greenlight after making the change? docker-compose down; docker-compose up -d

mave-git commented 4 years ago

Thanks! Meanwhile I got it. After bbb-conf --restart docker-compose down; docker-compose up -d run without error ... and the greenlight-page was "resetted". I read about permission in this thread and did the following:

And: System was back on the domain.tld But: 'bbb-conf --restart' didn't take the (whole) job, only generated a new db - on my system, don't know, if there is any not seen other trouble inside the installation ...

bwildenhain commented 3 years ago

Using bbb-conf --setip new-domain.tld should work. Can you try restarting Greenlight after making the change? docker-compose down; docker-compose up -d

Simply restarting Greenlight won't be enough, it is also necessary to adjust BIGBLUEBUTTON_ENDPOINT and SAFE_HOSTS in greenlight/.env before using 'docker-compose up -d' (and afterwards you'll have to restart bbb by using bbb-conf --restart).

gtl-madhav commented 11 months ago

Using bbb-conf --setip new-domain.tld should work. Can you try restarting Greenlight after making the change? docker-compose down; docker-compose up -d

Simply restarting Greenlight won't be enough, it is also necessary to adjust BIGBLUEBUTTON_ENDPOINT and SAFE_HOSTS in greenlight/.env before using 'docker-compose up -d' (and afterwards you'll have to restart bbb by using bbb-conf --restart).

After this - I think this issue has to be closed.