Error on clone step: No space left on device

How can I see and clean the memory it is using ?

Full error message:

error: copy-fd: write returned: No space left on device
fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-receive.sample' to '/drone/src/.git/hooks/pre-receive.sample': No space left on device
fatal: not a git repository (or any parent up to mount point /drone)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
+ git fetch origin +refs/heads/staging:
fatal: not a git repository (or any parent up to mount point /drone)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

This error indicates your disk is full. You would need to ssh into your server (where you installed your Drone runner) and free up space. The most common reason for disk to fill up is because your Docker cache is full … managing this cache is not Drone’s responsibility, however, you can install third party tools to manage your Docker cache size (such as docker-custodian).

Hi Brad! Thanks for your quick reply.
I’m a complete noob here, to which machine should I SSH into ? The server one ?
We have a kubernetes chart instalation.

Thanks in advance.

you should probably speak with your system admin that manages your cluster and let them know you are getting errors that no space is left on the device. Since this appears to be an infrastructure problem (and not a Drone problem) your system admins should be able to research and triage this issue further.