There is not enough space and hard disk in the Linux file system, how to troubleshoot?

I am a complete novice to Linux.
has a 20G droplet on Digital Ocean. There is only a small personal blog site on it, so I never worried about running out of 20GB hard drives.
tried to deploy a second small website inside yesterday, upgraded the Ubuntu version (from 12 to 16) and messed up a few other things by the way. But it doesn"t feel like it should take up too many hard drives.
Today, when I went up to add a table to the database of the new website, I was prompted that the hard drive was out of space. Take a look at it with df command:

clipboard.png

inode 10% inode :

clipboard.png

/:

clipboard.png

it doesn"t feel like it can add up to 20 gigabytes.

what should I do next? Thank you in advance.


losf | grep delete take a look


still don't know what takes up such a big hard disk, but try the method here

du /-d 1-h see which directory occupies the most, and then look down in turn

Menu