You didn’t have to reinstall everything, when you installed the headless server, you mistakenly chose the option to setup as LVM.
All you need to do next time is extend partition:
https://packetpushers.net/ubuntu-extend-your-default-lvm-space/
Here is a quick link to my tutorial to setup headless server.
