Hi,
So the certificate has expired and I want to update it. Baring in mind that I haven’t installed this initially but rather falling in from the previous dude. I can see data in /etc/letsencrypt/live , /etc/letsencrypt/renewal, /etc/letsencrypt/archive. The latest log file (path = /var/log/letsencrypt
) with info in it is 2 months back with the below error. I have checked all over where the certbot script might be located / installed but no luck. The python package does seem to be installed:
||/ Name Version Architecture Description
++±==============================================-============================-============================-==================================================================================================
ii python-certbot-nginx 0.25.0-2+ubuntu16.04.1+certb all transitional dummy package
2018-08-19 22:55:37,146:DEBUG:certbot.main:certbot version: 0.21.1
2018-08-19 22:55:37,148:DEBUG:certbot.main:Arguments: [’-q’]
2018-08-19 22:55:37,148:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-08-19 22:55:37,693:DEBUG:certbot.log:Root logging level set at 30
2018-08-19 22:55:37,694:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-08-19 22:55:37,726:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7f4f17e0d358> and installer <certbot.cli._Default object at 0x7f4f17e0d358>
2018-08-19 22:55:37,726:DEBUG:certbot.cli:Default Detector is Namespace(account=<certbot.cli._Default object at 0x7f4f17df3898>, agree_dev_preview=None, allow_subset_of_names=<certbot.cli._Default object at 0x7f4f17df36d8>, apache=<certbot.cli._Default object at 0x7f4f17e0d5f8>, authenticator=<certbot.cli._Default object at 0x7f4f17e0d358>, break_my_certs=<certbot.cli._Default object at 0x7f4f17dede10>, cert_path=<certbot.cli._Default object at 0x7f4f17e0bbe0>, certname=<certbot.cli._Default object at 0x7f4f17e62c88>, chain_path=<certbot.cli._Default object at 0x7f4f17e0be80>, checkpoints=<certbot.cli._Default object at 0x7f4f17e0b710>, config_dir=<certbot.cli._Default object at 0x7f4f17e0bf60>, config_file=None, configurator=<certbot.cli._Default object at 0x7f4f17e0d358>, csr=<certbot.cli._Default object at 0x7f4f17e0b358>, debug=<certbot.cli._Default object at 0x7f4f17e62518>, debug_challenges=<certbot.cli._Default object at 0x7f4f17e623c8>, delete_after_revoke=<certbot.cli._Default object at 0x7f4f17e0b550>, deploy_hook=<certbot.cli._Default object at 0x7f4f17df3c18>, dialog=None, directory_hooks=<certbot.cli._Default object at 0x7f4f17df3dd8>, dns_cloudflare=<certbot.cli._Default object at 0x7f4f17e0db38>, dns_cloudxns=<certbot.cli._Default object at 0x7f4f17e0dc18>, dns_digitalocean=<certbot.cli._Default object at 0x7f4f17e0dcf8>, dns_dnsimple=<certbot.cli._Default object at 0x7f4f17e0ddd8>, dns_dnsmadeeasy=<certbot.cli._Default object at 0x7f4f17e0deb8>, dns_google=<certbot.cli._Default object at 0x7f4f17e0df98>, dns_luadns=<certbot.cli._Default object at 0x7f4f17e100b8>, dns_nsone=<certbot.cli._Default object at 0x7f4f17e10198>, dns_rfc2136=<certbot.cli._Default object at 0x7f4f17e10278>, dns_route53=<certbot.cli._Default object at 0x7f4f17e10358>, domains=<certbot.cli._Default object at 0x7f4f17e62dd8>, dry_run=<certbot.cli._Default object at 0x7f4f17e62b38>, duplicate=<certbot.cli._Default object at 0x7f4f17df39b0>, eff_email=<certbot.cli._Default object at 0x7f4f17efc6a0>, email=<certbot.cli._Default object at 0x7f4f17e627f0>, expand=<certbot.cli._Default object at 0x7f4f17df3320>, force_interactive=<certbot.cli._Default object at 0x7f4f17e62f60>, fullchain_path=<certbot.cli._Default object at 0x7f4f17e0bda0>, func=<function renew at 0x7f4f1d598400>, hsts=<certbot.cli._Default object at 0x7f4f17df0710>, http01_address=<certbot.cli._Default object at 0x7f4f17dea630>, http01_port=<certbot.cli._Default object at 0x7f4f17dea390>, ifaces=<certbot.cli._Default object at 0x7f4f17e0ba20>, init=<certbot.cli._Default object at 0x7f4f17e0b7f0>, installer=<certbot.cli._Default object at 0x7f4f17e0d358>, key_path=<certbot.cli._Default object at 0x7f4f17e0bcc0>, logs_dir=<certbot.cli._Default object at 0x7f4f17e0d160>, manual=<certbot.cli._Default object at 0x7f4f17e0d908>, manual_auth_hook=<certbot.cli._Default object at 0x7f4f17e10470>, manual_cleanup_hook=<certbot.cli._Default object at 0x7f4f17e10588>, manual_public_ip_logging_ok=<certbot.cli._Default object at 0x7f4f17e10668>, max_log_backups=‘0’, must_staple=<certbot.cli._Default object at 0x7f4f17dedfd0>, nginx=<certbot.cli._Default object at 0x7f4f17e0d710>, nginx_ctl=<certbot.cli._Default object at 0x7f4f17e0dc88>, nginx_server_root=<certbot.cli._Default object at 0x7f4f17e0de48>, no_bootstrap=<certbot.cli._Default object at 0x7f4f17ec4438>, no_self_upgrade=<certbot.cli._Default object at 0x7f4f17e4df28>, no_verify_ssl=<certbot.cli._Default object at 0x7f4f17e62ac8>, noninteractive_mode=<certbot.cli._Default object at 0x7f4f17dea0f0>, num=<certbot.cli._Default object at 0x7f4f17e0b080>, os_packages_only=<certbot.cli._Default object at 0x7f4f17df3a90>, post_hook=<certbot.cli._Default object at 0x7f4f17df31d0>, pre_hook=<certbot.cli._Default object at 0x7f4f17df33c8>, pref_challs=<certbot.cli._Default object at 0x7f4f17df3588>, prepare=<certbot.cli._Default object at 0x7f4f17e0b908>, quiet=True, reason=<certbot.cli._Default object at 0x7f4f17e0b470>, redirect=<certbot.cli._Default object at 0x7f4f17df01d0>, register_unsafely_without_email=<certbot.cli._Default object at 0x7f4f17e629e8>, reinstall=<certbot.cli._Default object at 0x7f4f17df30f0>, renew_by_default=<certbot.cli._Default object at 0x7f4f17df3518>, renew_hook=<certbot.cli._Default object at 0x7f4f17df3b38>, renew_with_new_domains=<certbot.cli._Default object at 0x7f4f17df35f8>, rsa_key_size=<certbot.cli._Default object at 0x7f4f17dedcf8>, server=<certbot.cli._Default object at 0x7f4f17e0d240>, staging=<certbot.cli._Default object at 0x7f4f17ee7eb8>, standalone=<certbot.cli._Default object at 0x7f4f17e0d828>, standalone_supported_challenges=<certbot.cli._Default object at 0x7f4f17e0dac8>, staple=<certbot.cli._Default object at 0x7f4f17df0f60>, strict_permissions=<certbot.cli._Default object at 0x7f4f17df3748>, text_mode=<certbot.cli._Default object at 0x7f4f17dea400>, tls_sni_01_address=<certbot.cli._Default object at 0x7f4f17dea080>, tls_sni_01_port=<certbot.cli._Default object at 0x7f4f17e62d68>, tos=<certbot.cli._Default object at 0x7f4f17df37b8>, uir=<certbot.cli._Default object at 0x7f4f17df0b00>, update_registration=<certbot.cli._Default object at 0x7f4f17e62898>, user_agent=<certbot.cli._Default object at 0x7f4f17e0b198>, user_agent_comment=<certbot.cli._Default object at 0x7f4f17e0b1d0>, validate_hooks=<certbot.cli._Default object at 0x7f4f17df3cf8>, verb=‘renew’, verbose_count=<certbot.cli._Default object at 0x7f4f17dea550>, webroot=<certbot.cli._Default object at 0x7f4f17e0da20>, webroot_map=<certbot.cli._Default object at 0x7f4f17e0d6a0>, webroot_path=<certbot.cli._Default object at 0x7f4f17e0df60>, work_dir=<certbot.cli._Default object at 0x7f4f17e0d080>)
2018-08-19 22:55:38,252:INFO:certbot.renewal:Cert not yet due for renewal
2018-08-19 22:55:38,252:DEBUG:certbot.renewal:no renewal failures
My domain is:
Not needed.
I ran this command:
certbot renew
OR
certbot renew --dry-run
OR
certbot
It produced this output:
certbot: command not found
My web server is (include version):
Nginx 1.10.3
The operating system my web server runs on is (include version):
Ubuntu 16.04.2
My hosting provider, if applicable, is:
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
What am I missing? Thanks in advance for any assistance on this