rocket.chat snap 无法启动

rocket.chat snap 无法启动

我使用 snap 安装了 Rocket.chat,但是 caddy 服务从未启动并且网络无法正常工作(我认为是因为 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:~$ 

我尝试再次删除并重新安装,但结果始终相同。有什么想法吗?谢谢!

答案1

很奇怪,但安装后(或重启服务器)你需要以https://<yourIP>:3000而不是开始http://<yourIP>:3000。之后,尝试一下http://<yourIP>:3000,它就会工作。

相关内容