Certbot command not working


#1

Hello,

I got email to renew version of SSL certificate.
and I have tried to run: sudo certbot renew --dry-run

but getting certbot: command not found

Getting following logs:
2019-01-29 03:44:22,461:DEBUG:certbot.main:certbot version: 0.26.1
2019-01-29 03:44:22,461:DEBUG:certbot.main:Arguments: [’-q’]
2019-01-29 03:44:22,462:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-01-29 03:44:22,475:DEBUG:certbot.log:Root logging level set at 30
2019-01-29 03:44:22,476:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-01-29 03:44:22,490:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7fe5ea092048> and installer <certbot.cli._Default object at 0x7fe5ea092048>
2019-01-29 03:44:22,502:INFO:certbot.renewal:Cert not yet due for renewal
2019-01-29 03:44:22,503:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer None
2019-01-29 03:44:22,503:DEBUG:certbot.renewal:no renewal failures
2019-01-29 20:14:53,868:DEBUG:certbot.main:certbot version: 0.26.1
2019-01-29 20:14:53,869:DEBUG:certbot.main:Arguments: [’-q’]
2019-01-29 20:14:53,870:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-01-29 20:14:53,883:DEBUG:certbot.log:Root logging level set at 30
2019-01-29 20:14:53,884:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-01-29 20:14:53,896:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7f0893321048> and installer <certbot.cli._Default object at 0x7f0893321048>
2019-01-29 20:14:53,909:INFO:certbot.renewal:Cert not yet due for renewal
2019-01-29 20:14:53,909:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer None
2019-01-29 20:14:53,910:DEBUG:certbot.renewal:no renewal failures

Please help me.

Thanks


#2

Huh.

What about this:

sudo echo $PATH
sudo find / -type f -name certbot 2>/dev/null

#3

sudo echo $PATH sudo find / -type f -name certbot 2>/dev/null
Not getting


#4

Sorry, what was the output of the commands?


#5

[something is running certbot - from somewhere]

Please show:
sudo crontab -l
systemctl list-timers --all