That won’t ever work.
Was it KVM for sure?
We test Digital Ocean (KVM) VPS installs every week, and other like Amazon Lightsail and Vultr less frequently and they all work just fine when running with Ubuntu 18.04 LTS.
If the problem persists, I suggest switching to a different hosting service.