S
S
Sergey2017-03-30 12:36:13
Delphi
Sergey, 2017-03-30 12:36:13

Why won't certbot start?

Good afternoon, I downloaded and installed from the official certbot repository, but when I run it, it gives the following, I've been digging for 3 hours and I don't understand what is the reason:
$ sudo ./certbot-auto
Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbd in position 54: invalid start byte
Please see the logfiles in /var/log/letsencrypt for more details.


2017-03-30 09:34: 26,065 :DEBUG:certbot.main:Root logging level set at 20 /letsencrypt.log
2017-03-30 09:34:26,065:DEBUG:certbot.main:certbot version: 0.12.0
2017-03-30 09:34:26,065:DEBUG:certbot.main:Arguments: []
2017- 03-30 09:34:26,065:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#standalone,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#webroot,PluginEntryPoint#apache,PluginEntryPoint#null
) :34:26,065:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
2017-03-30 09:34:26,756:DEBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
File "/home/sality//.local/share/letsencrypt/bin/letsencrypt", line 11, in
sys.exit(main())
File "/home/sality/.local/share/letsencrypt/local/lib/ python2.7/site-packages/certbot/main.py", line 896, in main
return config.func(config, plugins)
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7 /site-packages/certbot/main.py", line 594, in run
installer, authenticator = plug_sel.choose_configurator_plugins(config, plugins, "run")
File "/home/sality/.local/share/letsencrypt/local/lib /python2.7/site-packages/certbot/plugins/selection.py", line 185, in choose_configurator_plugins
authenticator = installer = pick_configurator(config, req_inst, plugins)
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/selection.py", line 25, in pick_configurator
(interfaces.IAuthenticator, interfaces.IInstaller))
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/selection.py", line 77, in pick_plugin
verified.prepare()
File "/home/ sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 228, in prepare
return [plugin_ep.prepare() for plugin_ep in six.itervalues(self ._plugins)]
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 114, in prepare
self._initialized.prepare( )
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot_apache/configurator.py", line 194, in prepare
self.vhosts = self.get_virtual_hosts()
File "/ home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot_apache/configurator.py", line 581, in get_virtual_hosts
(vhost_path, parser.case_i("VirtualHost"))))
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/augeas.py", line 423, in match
ctypes.c_char_p).value))
File "/home/sality/ .local/share/letsencrypt/local/lib/python2.7/site-packages/augeas.py", line 65, in dec
return st.decode(AUGENC)
File "/home/sality/.local/share/letsencrypt/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can 't decode byte 0xbd in position 54: invalid start byte

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Tsvetkov, 2018-02-18
@tsklab

The bpl folder should be in the %Path% environment variable.
Typically, runtime packages are copied to %SystemRoot%\SYSTEM32.
Looked closely: Delphi 7 does not work above Windows XP.

Y
younghacker, 2017-04-08
@younghacker

Show me your configs and how you run certbot
It seems that the encoding is broken in the config or there are no options for the authenticator type:

2017-03-30 09:34:26,065:DEBUG:certbot.main:Discovered plugins: 
PluginsRegistry(
PluginEntryPoint#standalone,
PluginEntryPoint#manual,
PluginEntryPoint#nginx,
PluginEntryPoint#webroot,
PluginEntryPoint#apache,
PluginEntryPoint#null)
2017-03-30 09:34:26,065:DEBUG:certbot.plugins.selection:
Requested authenticator None and installer None
2017-03-30 09:34:26,756:DEBUG:certbot.main:Exiting abnormally:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question