Ubuntu 18.04 in LXD Container


#1

I can’t seem to get Rocket.Chat installed on Ubuntu 18.04 inside a LXD container.

Everything installs fine, but the none of the services start

root@RocketChat:~# service snap.rocketchat-server.rocketchat-server status
● snap.rocketchat-server.rocketchat-server.service - Service for snap application rocketchat-server.rocketchat-server
   Loaded: loaded (/etc/systemd/system/snap.rocketchat-server.rocketchat-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-09-19 21:25:40 UTC; 9s ago
  Process: 1921 ExecStart=/usr/bin/snap run rocketchat-server (code=exited, status=1/FAILURE)
 Main PID: 1921 (code=exited, status=1/FAILURE)

Sep 19 21:25:40 RocketChat systemd[1]: snap.rocketchat-server.rocketchat-server.service: Service hold-off time over, scheduling restart.
Sep 19 21:25:40 RocketChat systemd[1]: snap.rocketchat-server.rocketchat-server.service: Scheduled restart job, restart counter is at 5.
Sep 19 21:25:40 RocketChat systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-server.
Sep 19 21:25:40 RocketChat systemd[1]: snap.rocketchat-server.rocketchat-server.service: Start request repeated too quickly.
Sep 19 21:25:40 RocketChat systemd[1]: snap.rocketchat-server.rocketchat-server.service: Failed with result 'exit-code'.
Sep 19 21:25:40 RocketChat systemd[1]: Failed to start Service for snap application rocketchat-server.rocketchat-server.