The error message from letsencrypt.log
2019-01-18 00:18:49,930:DEBUG:certbot.main:certbot version: 0.26.1
2019-01-18 00:18:49,930:DEBUG:certbot.main:Arguments:
2019-01-18 00:18:49,930:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-01-18 00:18:49,970:DEBUG:certbot.log:Root logging level set at 20
2019-01-18 00:18:49,971:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-01-18 00:18:50,015:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7fa9ae03d650> and installer <certbot.cli._Default object at 0x7fa9ae03d650>
2019-01-18 00:18:50,036:DEBUG:certbot.storage:Should renew, less than 30 days before certificate expiry 2019-02-07 09:24:09 UTC.
2019-01-18 00:18:50,036:INFO:certbot.renewal:Cert is due for renewal, auto-renewing…
2019-01-18 00:18:50,037:DEBUG:certbot.plugins.selection:Requested authenticator nginx and installer nginx
2019-01-18 00:18:50,038:DEBUG:certbot.plugins.disco:No installation (PluginEntryPoint#nginx):
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/certbot/plugins/disco.py”, line 132, in prepare
self._initialized.prepare()
File “/usr/lib/python2.7/site-packages/certbot_nginx/configurator.py”, line 139, in prepare
raise errors.NoInstallationError
NoInstallationError
2019-01-18 00:18:50,051:DEBUG:certbot.plugins.selection:No candidate plugin
2019-01-18 00:18:50,052:DEBUG:certbot.plugins.selection:No candidate plugin
2019-01-18 00:18:50,052:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
2019-01-18 00:18:50,052:INFO:certbot.main:Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError()
2019-01-18 00:18:50,052:WARNING:certbot.renewal:Attempting to renew cert (www.example.com) from /etc/letsencrypt/renewal/www.example.com.conf produced an unexpected error: The nginx plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError(). Skipping.
2019-01-18 00:18:50,055:DEBUG:certbot.renewal:Traceback was:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/certbot/renewal.py”, line 430, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 1191, in renew_cert
installer, auth = plug_sel.choose_configurator_plugins(config, plugins, “certonly”)
File “/usr/lib/python2.7/site-packages/certbot/plugins/selection.py”, line 237, in choose_configurator_plugins
diagnose_configurator_problem(“authenticator”, req_auth, plugins)
File “/usr/lib/python2.7/site-packages/certbot/plugins/selection.py”, line 341, in diagnose_configurator_problem
raise errors.PluginSelectionError(msg)
PluginSelectionError: The nginx plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError()
2019-01-18 00:18:50,055:ERROR:certbot.renewal:All renewal attempts failed. The following certs could not be renewed:
2019-01-18 00:18:50,055:ERROR:certbot.renewal: /etc/letsencrypt/live/www.example.com/fullchain.pem (failure)
2019-01-18 00:18:50,055:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 9, in
load_entry_point(‘certbot==0.26.1’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 1364, in main
return config.func(config, plugins)
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 1276, in renew
renewal.handle_renewal_request(config)
File “/usr/lib/python2.7/site-packages/certbot/renewal.py”, line 455, in handle_renewal_request
len(renew_failures), len(parse_failures)))
Error: 1 renew failure(s), 0 parse failure(s)