Loving nextcloud but running into a non-critical issue. Spent the last 4 hours reading all available previous threads/posts on this topic, but still can’t figure out why the SSL cert from letsencrypt is not auto renewing?
This is my second setup for the same failure (I wiped out the first setup due to certs not renewing, formatted the hard disk and re-installed everything including base linux/gnu again). So now I have a fresh re-install of nextcloud 15 via snap, running on ubuntu 18.04 server LTS, on Intel NUC hardware. Firewall (UFW/iptables) is allowing 1) all outgoing and 2) TCP 80, 443 for incoming on IPv4 and IPv6. Router has TCP 80 and 443 ports open. I obtained original cert via ‘nextcloud.enable-https lets-encrypt’ (did not use certbot due to having the former option available on snappy NC15). I can access the server via web browser and iOS apps, using ‘cloud.domain.com’ without issues.
There are a couple of questions that may help me and possibly others like myself who may be encountering this issue:
- Is there a man page or more documentation available on the command ‘nextcloud.enable-https lets-encrypt’, ie how many days in before the expiration does it attempt to obtain cert? where does it log successes and failures? what syntax is available for ‘nextcloud.enable-https lets-encrypt -XXXX’?
- Are there people who are successfully using nextcloud 15 snap and letsencrypt with autorenewing cert, that did not require intervention? (basically i’m wondering if it’s a software bug or my particular setup)
Thank you in advance for sharing any wisdom on this topic.