Hi,
Problem is renwal fails with details as below. Been going eround in circles and would be grateful for any suggestions. Not massively experienced with Nginx, more of an Apache type.
Thanks,
Joolz
My domain is: bgs-conference.bordengrammar.kent.sch.uk
I ran this command: certbot renew --dry-run --nginx
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing
/etc/letsencrypt/renewal/bgs-conference.bordengrammar.kent.sch.uk.conf
Cert is due for renewal, auto-renewingâŚ
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for bgs-conference.bordengrammar.kent.sch.uk
nginx: [emerg] âserver_names_hash_bucket_sizeâ directive is duplicate in /etc/nginx/sites-enabled/bgs-conference.bordengrammar.kent.sch.uk.conf:1
Cleaning up challenges
nginx: [warn] conflicting server name âbgs-conference.bordengrammar.kent.sch.ukâ on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name âbgs-conference.bordengrammar.kent.sch.ukâ on [::]:80, ignored
nginx: [warn] conflicting server name âbgs-conference.bordengrammar.kent.sch.ukâ on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name âbgs-conference.bordengrammar.kent.sch.ukâ on [::]:443, ignored
Attempting to renew cert (bgs-conference.bordengrammar.kent.sch.uk) from /etc/letsencrypt/renewal/bgs-conference.bordengrammar.kent.sch.uk.conf produced an unexpected error: nginx restart failed:
bââ
bââ. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/bgs-conference.bordengrammar.kent.sch.uk/fullchain.pem (failure)
** DRY RUN: simulating âcertbot renewâ close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/bgs-conference.bordengrammar.kent.sch.uk/fullchain.pem (failure)
** DRY RUN: simulating âcertbot renewâ close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
My web server is (include version): nginx/1.14.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 18.04.4 LTS
My hosting provider, if applicable, is: Self hosted
I can login to a root shell on my machine (yes or no, or I donât know): Yes
Iâm using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if youâre using Certbot): 0.27.0-1~ubuntu18.04.1