É estranho, mas depois da instalação (ou reinicialize o servidor) você precisa começar com https://<yourIP>:3000
em vez de http://<yourIP>:3000
. Depois disso, tente http://<yourIP>:3000
e ele funcionará.
Eu instalei o Rocket.chat com snap, mas o serviço caddie nunca é iniciado e a web não está funcionando (acho que por causa do caddy):
costales@ubuntu:~$ sudo systemctl status snap.rocketchat-server.rocketchat-mongo.service | grep -E 'Active|Loaded'
Loaded: loaded (/etc/systemd/system/snap.rocketchat-server.rocketchat-mongo.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-03-19 19:10:37 CET; 3min 17s ago
costales@ubuntu:~$ sudo systemctl status snap.rocketchat-server.rocketchat-server.service | grep -E 'Active|Loaded'
Loaded: loaded (/etc/systemd/system/snap.rocketchat-server.rocketchat-server.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-03-19 19:10:38 CET; 3min 24s ago
costales@ubuntu:~$ sudo systemctl restart snap.rocketchat-server.rocketchat-caddy.service
costales@ubuntu:~$ sudo systemctl status snap.rocketchat-server.rocketchat-caddy.service
● snap.rocketchat-server.rocketchat-caddy.service - Service for snap application rocketchat-server.rocketchat-caddy
Loaded: loaded (/etc/systemd/system/snap.rocketchat-server.rocketchat-caddy.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Sun 2017-03-19 19:14:19 CET; 234ms ago
Process: 2641 ExecStart=/usr/bin/snap run rocketchat-server.rocketchat-caddy (code=exited, status=1/FAILURE)
Main PID: 2641 (code=exited, status=1/FAILURE)
Mar 19 19:14:19 ubuntu systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Main process exited, code=exited, status=1/FAILURE
Mar 19 19:14:19 ubuntu systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Unit entered failed state.
Mar 19 19:14:19 ubuntu systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Failed with result 'exit-code'.
Mar 19 19:14:19 ubuntu systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Service hold-off time over, scheduling restart.
Mar 19 19:14:19 ubuntu systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-caddy.
Mar 19 19:14:19 ubuntu systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Start request repeated too quickly.
Mar 19 19:14:19 ubuntu systemd[1]: Failed to start Service for snap application rocketchat-server.rocketchat-caddy.
costales@ubuntu:~$
Eu tentei remover e reinstalar novamente, mas o mesmo resultado o tempo todo. Alguma ideia por favor? Obrigado!
É estranho, mas depois da instalação (ou reinicialize o servidor) você precisa começar com https://<yourIP>:3000
em vez de http://<yourIP>:3000
. Depois disso, tente http://<yourIP>:3000
e ele funcionará.