Dear fellow opensource lovers,
Since today is my letsencrypt certificate expired. This is the first time that problem happens to me since I installed the ‘out of the box’ nexcloud server iso with ubuntu 18.04.2 LTS.
I did the most simple configuration I could:
Installed nextcloud on a physical box (old core2 duo tower). With the nextcloud iso installer that does everything for you (very impressive).
Enabled port forwarding on my home router.
configured a Free Dynamic DNS with dynv6.com
added the configured dyndns in my nextcloud config.php
restart service and voilá
The rest seemed to be just magic. Everything worked for more than a year without me having to do anything at all.
I even got email warnings from Let’s Encrypt Expiry Bot: Let’s Encrypt certificate expiration notice for domain blablabla, but to be honest I didn’t do anything at all and the certificate seemed to renew itself also with some sort of magic procedure that I didn’t even know.
But the magic seemed to stop yesterday. The only change in environment that I could think of is that I removed port forwarding on port 80 on my router and left only 443.
After googling and looking in forums, I tried the commands that I found more repeated like “letsencrypt renew” or “certbot renew” and to my surprise I didn’t even have certbot installed!!!
I did install certbot with “sudo snap install certbot --classic” but after trying issuing those commands couldn’t manage to renew the cert.
My questions are:
How could everything magically working and how could I have fucked up such perfect system?
What can I do now to go back to the past and leave it as it was?
Sorry for my ignorance and hope someone can help out.