Page MenuHomePhabricator
Paste P7520

Nextcloud certbot failure
ActivePublic

Authored by Sebastian_Berlin-WMSE on Sep 6 2018, 10:38 AM.
Referenced Files
F27263142: Nextcloud certbot failure
Nov 20 2018, 6:59 AM
F25676844: Nextcloud certbot failure
Sep 6 2018, 10:38 AM
Subscribers
None
$ sudo snap run nextcloud.renew-certs
Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
-------------------------------------------------------------------------------
Processing
/var/snap/nextcloud/current/certs/certbot/config/renewal/nextcloud.wikimedia.se.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nextcloud:webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for nextcloud.wikimedia.se
http-01 challenge for collabora.wikimedia.se
Using the webroot path /var/snap/nextcloud/current/certs/certbot for all domains.
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (nextcloud.wikimedia.se) from /var/snap/nextcloud/current/certs/certbot/config/renewal/nextcloud.wikimedia.se.conf produced an unexpected error: Failed authorization procedure. collabora.wikimedia.se (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://collabora.wikimedia.se/.well-known/acme-challenge/<HASH>: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p", nextcloud.wikimedia.se (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://nextcloud.wikimedia.se/.well-known/acme-challenge/<HASH>: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p". Skipping.
All renewal attempts failed. The following certs could not be renewed:
/var/snap/nextcloud/current/certs/certbot/config/live/nextcloud.wikimedia.se/fullchain.pem (failure)
-------------------------------------------------------------------------------
All renewal attempts failed. The following certs could not be renewed:
/var/snap/nextcloud/current/certs/certbot/config/live/nextcloud.wikimedia.se/fullchain.pem (failure)
-------------------------------------------------------------------------------
Running post-hook command: restart-apache
Output from restart-apache:
Restarting apache... done
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: collabora.wikimedia.se
Type: unauthorized
Detail: Invalid response from
http://collabora.wikimedia.se/.well-known/acme-challenge/<HASH>:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
Domain: nextcloud.wikimedia.se
Type: unauthorized
Detail: Invalid response from
http://nextcloud.wikimedia.se/.well-known/acme-challenge/<HASH>:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.