Hi,
one of my VMs (which has been installed for quite a while) was still using the old letsencrypt client … due to the old protocol being phased out, I removed the old client and tried to use certbot instead … anyway, I get the following error:
An unexpected error occurred:
TypeError: init() got an unexpected keyword argument ‘allow_abbrev’
Please see the logfile ‘/tmp/tmppzmt7437’ for more details.
The logfile has this contents:
2019-01-18 15:05:27,314:DEBUG:certbot.main:certbot version: 0.28.0
2019-01-18 15:05:27,317:DEBUG:certbot.main:Arguments:
2019-01-18 15:05:27,318:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-01-18 15:05:27,319:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 11, in
load_entry_point(‘certbot==0.28.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1317, in main
args = cli.prepare_and_parse_args(plugins, cli_args)
File “/usr/lib/python3/dist-packages/certbot/cli.py”, line 894, in prepare_and_parse_args
helpful = HelpfulArgumentParser(args, plugins, detect_defaults)
File “/usr/lib/python3/dist-packages/certbot/cli.py”, line 522, in init
" and ".join(flag_default(“config_files”))))
File “/usr/lib/python3/dist-packages/configargparse.py”, line 367, in init
argparse.ArgumentParser.init(self, **kwargs_for_super)
TypeError: init() got an unexpected keyword argument ‘allow_abbrev’
2019-01-18 15:05:27,319:ERROR:certbot.log:An unexpected error occurred:
On another server, which has the same Ubuntu 16.04.5 LTS running, and which has never had the old letsencrypt but just the certbot install, everything works fine … I checked the certbot related packages, and they all seem to be the same release version …
As I’m not a Python programmer, I’m somewhat at a loss on how to get Certbot running … any idea what the cause for this could be?