M
M
Michael2020-01-26 02:08:46
Perl
Michael, 2020-01-26 02:08:46

Doesn't work in certbot crown - where to dig?

I installed certbota from apt install - so it generates certificates and everything is fine, but I can’t make it work in the cron.
To check, run in the console:

/usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew

Answer
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The requested ! plugin does not appear to be installed

log output
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The requested ! plugin does not appear to be installed

:~# tail /var/log/letsencrypt/letsencrypt.log
2020-01-26 02:05:56,260:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-01-26 02:05:56,261:DEBUG:certbot.plugins.selection:Requested authenticator ! and installer None
2020-01-26 02:05:56,583:DEBUG:certbot.plugins.selection:Single candidate plugin: * nginx
Description: Nginx Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: nginx = certbot_nginx.configurator:NginxConfigurator
Initialized: <certbot_nginx.configurator.NginxConfigurator object at 0x7f577b4095c0>
Prep: True
2020-01-26 02:05:56,585:DEBUG:certbot.plugins.selection:No candidate plugin
2020-01-26 02:05:56,585:DEBUG:certbot.plugins.selection:Selected authenticator None and installer <certbot_nginx.configurator.NginxConfigurator object at 0x7f577b4095c0>

Where to dig next?
In principle, I can run it manually, but why if there are cron?
PS I really regret that I transferred all projects to 18 ubuntu - everything works through the ass ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vadim Priluzkiy, 2020-01-26
@Oxyd

And this is not how it works?

/usr/bin/certbot -a \! -d /run/systemd/system && /usr/bin/perl -e 'sleep int(rand(43200))' && /usr/bin/certbot -q renew

M
Michael, 2020-01-29
@happy-cat

By the way ! If someone suddenly decides to take Hetzner's VPS in Finland, I do not recommend it, pings in the Russian Federation are less and the VPS response speed is generally low, either the amno server or indeed all traffic is driven from Nuremberg.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question