Recovering a Docker host from a full filesystem

The symptom was not the cause My self-hosted Gitea instance started returning 502 Bad Gateway. Nginx was still answering requests, so the error only told me that its upstream service was unavailable. Before changing the reverse proxy, I checked the host: df -h The root filesystem was completely full: Filesystem Size Used Avail Use% Mounted on /dev/root 50G 48G 0 100% / A full filesystem can stop a database from writing, prevent applications from creating temporary files, and even make configuration files impossible to save. The 502 was therefore a downstream symptom of a storage incident. ...

September 20, 2024