unfortunately removing and re-adding just produced the same errors.
Logs below…
root@ReadyNAS2:~# sudo apt-get remove certbot
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package certbot
root@ReadyNAS2:~# wget https://dl.eff.org/certbot-auto
–2020-01-13 23:55:06-- https://dl.eff.org/certbot-auto
Resolving dl.eff.org (dl.eff.org)… 151.101.60.201, 2a04:4e42:f::201
Connecting to dl.eff.org (dl.eff.org)|151.101.60.201|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 71650 (70K) [application/octet-stream]
Saving to: ‘certbot-auto’
certbot-auto 100%[==================================================================================================================>] 69.97K --.-KB/s in 0.02s
2020-01-13 23:55:07 (3.30 MB/s) - ‘certbot-auto’ saved [71650/71650]
root@ReadyNAS2:~# sudo mv certbot-auto /usr/local/bin/certbot-auto
root@ReadyNAS2:~# sudo chown root /usr/local/bin/certbot-auto
root@ReadyNAS2:~# sudo chmod 0755 /usr/local/bin/certbot-auto
root@ReadyNAS2:~# sudo /usr/local/bin/certbot-auto certonly --apache
Bootstrapping dependencies for Debian-based OSes… (you can skip this with --no-bootstrap)
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign:2 http://mirrors.edge.kernel.org/debian jessie InRelease
Hit:3 http://mirrors.edge.kernel.org/debian jessie Release
Hit:5 https://apt.readynas.com/packages/readynasos 6.10.2 InRelease
Fetched 44.9 kB in 1s (37.2 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
augeas-lenses is already the newest version (1.2.0-0.2+deb8u2).
libaugeas0 is already the newest version (1.2.0-0.2+deb8u2).
gcc is already the newest version (4:4.9.2-2).
libffi-dev is already the newest version (3.1-2+deb8u1).
python is already the newest version (2.7.9-1).
python-dev is already the newest version (2.7.9-1).
python-virtualenv is already the newest version (1.11.6+ds-1).
virtualenv is already the newest version (1.11.6+ds-1).
ca-certificates is already the newest version (20141019+deb8u4).
libssl-dev is already the newest version (1.0.1t-1+deb8u12).
openssl is already the newest version (1.0.1t-1+deb8u12).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
Creating virtual environment…
Installing Python packages…
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Could not choose appropriate plugin: The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError(‘Problem in Augeas installation’,)
The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError(‘Problem in Augeas installation’,)
2020-01-13 23:57:48,902:DEBUG:certbot._internal.main:certbot version: 1.0.0
2020-01-13 23:57:48,905:DEBUG:certbot._internal.main:Arguments: [’–apache’]
2020-01-13 23:57:48,905:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-01-13 23:57:49,013:DEBUG:certbot._internal.log:Root logging level set at 20
2020-01-13 23:57:49,016:INFO:certbot._internal.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-01-13 23:57:49,019:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2020-01-13 23:57:50,243:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.25
2020-01-13 23:57:50,342:DEBUG:certbot._internal.plugins.disco:No installation (PluginEntryPoint#apache): Problem in Augeas installation
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/plugins/disco.py”, line 130, in prepare
self._initialized.prepare()
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py”, line 251, in prepare
self.parser = self.get_parser()
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py”, line 346, in get_parser
self.version, configurator=self)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/parser.py”, line 47, in init
self.init_augeas()
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/parser.py”, line 96, in init_augeas
raise errors.NoInstallationError(“Problem in Augeas installation”)
NoInstallationError: Problem in Augeas installation
2020-01-13 23:57:50,346:DEBUG:certbot._internal.plugins.selection:No candidate plugin
2020-01-13 23:57:50,347:DEBUG:certbot._internal.plugins.selection:No candidate plugin
2020-01-13 23:57:50,348:DEBUG:certbot._internal.plugins.selection:Selected authenticator None and installer None
2020-01-13 23:57:50,348:INFO:certbot._internal.main:Could not choose appropriate plugin: The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError(‘Problem in Augeas installation’,)
2020-01-13 23:57:50,352:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/bin/letsencrypt”, line 11, in
sys.exit(main())
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 14, in main
return internal_main.main(cli_args)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py”, line 1350, in main
return config.func(config, plugins)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/main.py”, line 1216, in certonly
installer, auth = plug_sel.choose_configurator_plugins(config, plugins, “certonly”)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/plugins/selection.py”, line 234, in choose_configurator_plugins
diagnose_configurator_problem(“authenticator”, req_auth, plugins)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/plugins/selection.py”, line 338, in diagnose_configurator_problem
raise errors.PluginSelectionError(msg)
PluginSelectionError: The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError(‘Problem in Augeas installation’,)
root@ReadyNAS2:/opt/eff.org/certbot/venv/bin# python -c “import augeas”
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/dist-packages/augeas.py”, line 56, in
class Augeas(object):
File “/usr/lib/python2.7/dist-packages/augeas.py”, line 66, in Augeas
_libaugeas = _dlopen(“augeas”)
File “/usr/lib/python2.7/dist-packages/augeas.py”, line 53, in _dlopen
raise ImportError(“Unable to import lib%s!” % args[0])
ImportError: Unable to import libaugeas!
root@ReadyNAS2:/opt/eff.org/certbot/venv/bin#