Contexto:
- Eu queria instalar o Big Blue Button em uma máquina virtual Ubuntu via SSH;
- Segui corretamente o tutorial oficial até a seção "Instalar" ;
- Digitei o seguinte comando no terminal:
wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v2.7.x-release/bbb-install.sh | bash -s -- -w -v focal-270 -s <here the domain name> -e <here the email> -g -k
usando dados reais em “aqui o nome de domínio” e “aqui o email”; - Recebi o erro de instalação detalhado abaixo;
- Acessar o verdadeiro "aqui o nome de domínio" por HTTP me dá "500 Internal Server Error - nginx";
- Não é acessível por HTTPS: "ERR_CONNECTION_REFUSED".
O erro de instalação em toda a sua glória:
A instalar certbot (0.40.0-1ubuntu0.1) ...
Created symlink /etc/systemd/system/timers.target.wants/certbot.timer → /lib/systemd/system/certbot.timer.
A processar 'triggers' para man-db (2.9.1-1) ...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for <here the domain name>
Using the webroot path /var/www/bigbluebutton-default/assets for all unmatched domains.
Waiting for verification...
Challenge failed for domain <here the domain name>
http-01 challenge for <here the domain name>
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: <here the domain name>
Type: caa
Detail: CAA record for <HERE THE MAIN DOMAIN NAME> prevents issuance
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
bbb-install: Let's Encrypt SSL request for <here the domain name> did not succeed - exiting
O log do Let's Encrypt em toda a sua glória:
Questões:
- como o problema parece ter começado com o certificado SSL durante a instalação, desativá-lo/removê-lo pode resolver o "500 Internal Server Error"?
- se sim, como fazer isso sem desinstalar e reinstalar o Big Blue Button? (Suponho que desinstalar e reinstalar seria mais traumático porque deixaria resíduos para criar novos erros)
- se não, como solucionar o “500 Internal Server Error”, encontrando sua causa e solução?
O problema de perder a conexão com o servidor era bem simples:
Agora, sobre o "500 Internal Server Error" que estou recebendo através do HTTP, a página oficial de solução de problemas informa que o GreenLight é o culpado, então reinstalar o Big Blue Button sem o GreenLight "resolve" o problema.