Please don’t follow unofficial install guides as we can’t guarantee they work or provide any support for it.
I suggest provisioning a new VPS and installing it following Discourse official Standard Installation. It even automates SSL certs, so you don’t need to mess with certbot.