Rocket.chat cannot be installed on my Syncloud

I cannot install Rocket.chat through web UI: after several minutes nothing happens.
It shouldn’t be a matter of disk space:

root@syncloud:~# df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     372M   24M  348M   7% /run
/dev/mmcblk1p2 ext4      7.2G  2.9G  3.9G  43% /
tmpfs          tmpfs     1.9G  8.0K  1.9G   1% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/loop0     squashfs  283M  283M     0 100% /snap/nextcloud/210624280
/dev/loop1     squashfs   71M   71M     0 100% /snap/platform/210321656
/dev/loop2     squashfs  151M  151M     0 100% /snap/platform/2110221095
/dev/loop3     squashfs  151M  151M     0 100% /snap/platform/2110141091
/dev/md0       ext4      3.6T  264G  3.2T   8% /mnt/md0

Thanks a lot

Simone

Can you try this command and post the output?

snap install rocketchat
 
root@syncloud:~# snap install rocketchat
error: cannot perform the following tasks:
- Start snap "rocketchat" (190609478) services ([start snap.rocketc
hat.mongodb.service snap.rocketchat.server.service snap.rocketchat.
nginx.service] failed with exit status 1: Job for snap.rocketchat.n
ginx.service failed because the control process exited with error c
ode.
See "systemctl status snap.rocketchat.nginx.service" and "journalct
l -xe" for details.
)
root@syncloud:~#


thanks a lot
Simone

Strange, could you send logs from Settings - Support and reply to the email you receive so we know that it is this issue

Hi Boris,
just done. Sorry for being late in the reply.
Simone

I have just realised you are using 8Gb sd card as internal memory, what kind of device is this?

/dev/mmcblk1p2    7459244   4601808    2503760  65% /

Ideally you need a much bigger internal memory (preferably SSD) as apps are installed there. Probably you are running out of disk space when you try to install rocket chat.

If it is raspberry pi, I would suggest to try a bigger sd card like 64/128.

Just to make sure can you try installing again and send the logs right away as I cannot see install error?

The device is an Odroid HC4. The OS disk is an SD card, the storage consists of 2 rotating 4TB HD in RAID1 configuration.
Next steps: I’ll try installing Rocketchat again and will send you the logs immediately after so taht you can see what’s happening.
Increasing the size of the OS SD card is not a problem at all, if required.
Thanks in advance.

Simone

Just to make sure can you try installing again and send the logs right away as I cannot see install error?

Hi Boris,
sorry for being extremely late on this :wink:
I have just tried to install Rocketchat again and sent the logs immediately. In my opinion this time also there is nothing in the logs.
The error in the console is still the same and in my opinion it is a timeout error: I have to wait for 20 mins (!!) to get it. Anyway here it is:


root@syncloud:~#  sudo snap install rocketchat
error: cannot perform the following tasks:
- Start snap "rocketchat" (190609478) services ([start snap.rocketchat.server.service snap.rocketchat.nginx.service snap.rocketchat.mongodb.service] failed with exit status 1: Job for snap.rocketchat.nginx.service failed because the control process exited with error code.
See "systemctl status snap.rocketchat.nginx.service" and "journalctl -xe" for details.

Looks like mongodb cannot be started:

Dec  5 20:20:11 syncloud mongod.bin.27017[7479]: [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends
Dec  5 20:20:11 syncloud mongod.bin.27017[7479]:

Can you send the output of these:

free
df -h /
journalctl | grep mongo

root@syncloud:~# free
              total        used        free      shared  buff/cache   available
Mem:        3800596      526744      210104       78064     3063748     3016408
Swap:             0           0           0
root@syncloud:~# df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk1p2   59G   16G   41G  28% /

root@syncloud:~# journalctl | grep mongo
root@syncloud:~#

The last command did not return any output in the console, hence the word “mongo” is not present in the system journal, if I am not wrong. :wink:
Thanks

Simone