cms disk space - Gapminder/dollar-street-framework GitHub Wiki
If CMS doesn't allow picture uploads anymore, check the upload request.
If it returns ENOSPC: no space left on device, write
, do the following:
- log in to google cloud console
- go to cms virtual machine (at the moment https://console.cloud.google.com/compute/instancesDetail/zones/europe-west1-c/instances/cms-190822-1343?project=prod-ds) Access the VM however you like (https://cloud.google.com/compute/docs/instances/access-overview)
- check with
df -h
which partition is full, in one case it was/mnt/stateful_partition
- in one case two locations were huge and filling the server up:
/mnt/stateful_partition/var/lib/metrics/uma-events
file/mnt/stateful_partition/var/log/journal/*
files
you can use this command to find out file & folder sizes in current directory
sudo du -Pshx ./* 2>/dev/null