looks like I'm having issue with caddy - cannot run webserver for nextcloud. I tried with script couple of times with different configuration. First was with own domain and DNS hosted with Cloudflare. After installation there was message that all went fine and successful but nextcloud was not reachable - both via webpage name and IP address of nextcloud jail.
After clearing setting and data I tried with Standalone Cert option (thought that maybe there is an issue with my dns config). After installation there is again message saying that all went just fine and successful but again going to subdomain page or IP address of nextcloud jail return error that page cannot be found.
I was trying to run caddy manually, checking config if something was wrong there but can't see what might be wrong.
Attaching both installation log of nextcloud and caddy config file.
Adding caddy.log last entries that might help in search for root cause:
{"level":"info","ts":2020-12-08T07:41:53,"logger":"tls","msg":"cleaned up storage units"}
{"level":"info","ts":2020-12-08T07:42:31,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"emememsy.com","challenge_type":"dns-01","ca":"https://acme-staging-v02.api.letsencrypt.org/directory"}
{"level":"error","ts":2020-12-08T07:42:31,"logger":"tls.issuance.acme.acme_client","msg":"cleaning up solver","identifier":"emememsy.com","challenge_type":"dns-01","error":"no memory of presenting a DNS record for emememsy.com (probably OK if presenting failed)"}
{"level":"error","ts":2020-12-08T07:42:31,"logger":"tls.obtain","msg":"will retry","error":"[emememsy.com] Obtain: [emememsy.com] solving challenges: presenting for challenge: could not determine zone for domain \"_acme-challenge.emememsy.com\": unexpected response code 'SERVFAIL' for _acme-challenge.emememsy.com. (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/16988284/198482533) (ca=https://acme-staging-v02.api.letsencrypt.org/directory)","attempt":13,"retrying_in":21600,"elapsed":43238.189884534,"max_duration":2592000}
Hi,
looks like I'm having issue with caddy - cannot run webserver for nextcloud. I tried with script couple of times with different configuration. First was with own domain and DNS hosted with Cloudflare. After installation there was message that all went fine and successful but nextcloud was not reachable - both via webpage name and IP address of nextcloud jail. After clearing setting and data I tried with Standalone Cert option (thought that maybe there is an issue with my dns config). After installation there is again message saying that all went just fine and successful but again going to subdomain page or IP address of nextcloud jail return error that page cannot be found.
I was trying to run caddy manually, checking config if something was wrong there but can't see what might be wrong. Attaching both installation log of nextcloud and caddy config file.
Caddyfile.txt nextcloud.log
Adding caddy.log last entries that might help in search for root cause:
{"level":"info","ts":2020-12-08T07:41:53,"logger":"tls","msg":"cleaned up storage units"} {"level":"info","ts":2020-12-08T07:42:31,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"emememsy.com","challenge_type":"dns-01","ca":"https://acme-staging-v02.api.letsencrypt.org/directory"} {"level":"error","ts":2020-12-08T07:42:31,"logger":"tls.issuance.acme.acme_client","msg":"cleaning up solver","identifier":"emememsy.com","challenge_type":"dns-01","error":"no memory of presenting a DNS record for emememsy.com (probably OK if presenting failed)"} {"level":"error","ts":2020-12-08T07:42:31,"logger":"tls.obtain","msg":"will retry","error":"[emememsy.com] Obtain: [emememsy.com] solving challenges: presenting for challenge: could not determine zone for domain \"_acme-challenge.emememsy.com\": unexpected response code 'SERVFAIL' for _acme-challenge.emememsy.com. (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/16988284/198482533) (ca=https://acme-staging-v02.api.letsencrypt.org/directory)","attempt":13,"retrying_in":21600,"elapsed":43238.189884534,"max_duration":2592000}