Page MenuHomeGitPull.it

Fix 502 Bad Gateway on servizi.linux.it
Closed, ResolvedPublic

Description

Fix:

https://servizi.linux.it/

502 Bad Gateway

Troubleshooting

$ tail -f /opt/sandstorm/var/log/mongo.log
2021-05-12T09:33:31.949+0000 [initandlisten] 
2021-05-12T09:33:31.949+0000 [initandlisten] ERROR: Insufficient free space for journal files
2021-05-12T09:33:31.949+0000 [initandlisten] Please make at least 422MB available in /var/mongo/journal or use --smallfiles
$ df -lh
Filesystem      Size  Used Avail Use% Mounted on
udev            1,9G     0  1,9G   0% /dev
tmpfs           386M   40M  347M  11% /run
/dev/sda1        38G   36G  320M 100% /
tmpfs           1,9G  4,0K  1,9G   1% /dev/shm
tmpfs           5,0M     0  5,0M   0% /run/lock
tmpfs           1,9G     0  1,9G   0% /sys/fs/cgroup
tmpfs           386M     0  386M   0% /run/user/0