Hello guys, i am having trouble installing lets encrypt on my server.
it is VPS with Ubuntu 20, ERPNext with Bench Manager all installed and perfectly working, i have multiple sites the default one is erpnext.techmark.cloud rest of sites are are routed in deferent ports.
when i run sudo -H bench setup lets-encrypt erpnext.techmark.cloud i get this error msg.
erpnext@vmi477494:/opt/bench/erpnext$ sudo -H bench setup lets-encrypt erpnext.techmark.cloud
[sudo] password for erpnext:
Running this will stop the nginx service temporarily causing your sites to go offline
Do you want to continue? [y/N]: y
$ sudo systemctl stop nginx
$ /opt/certbot-auto --config /etc/letsencrypt/configs/erpnext.techmark.cloud.cfg certonly
Skipping bootstrap because certbot-auto is deprecated on this system.
WARNING: couldn’t find Python 2.7+ to check for updates.
Your system is not supported by certbot-auto anymore.
Certbot cannot be installed.
Please visit https://certbot.eff.org/ to check for other alternatives.
nginx.conf already exists and this will overwrite it. Do you want to continue? [y/N]: y
$ sudo systemctl start nginx
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.
i worked alot and found the error with missing the certificate files. means they are not generated except all other commands implemented but ssl_certificate /etc/letsencrypt/live/erpnext.techmark.cloud/fullchain.pem; and ssl_certificate_key /etc/letsencrypt/live/erpnext.techmark.cloud/privkey.pem; files are missing in general the whole /etc/letsencrypt/live folder is missing and there is no folder with such a name even i searched the certificate files and nothing is found. now my sites are not opening and i need to get back even if possible i am willing to undo the letsencrypt installation but i did not found anyway to do that. can someone help me out here.