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