Closed JerryLava closed 10 months ago
Hi, @JerryLava
Here is my workaround for the same error.
1 Install certbot and certbot-dns-cloudns plugin separately
pip install certbot==2.1.0
v. 2.0.0 is not working with certbot-dns-cloudns because zope.interface required
pip install --no-deps certbot-dns-cloudns pip install zope.interface pip install cloudns-api pip install dnspython
2 Next step
nano ~/certbot-env/lib/python3.7/site-packages/certbot_dns_cloudns-0.4.0.dist-info/METADATA
Find and edit the line Requires-Dist: certbot (>=1.12.0 ,<2.0.0 )
Make it like this Requires-Dist: certbot (>=1.12.0)
Save.
3 Done!
certbot certonly \ --authenticator dns-cloudns \ --dns-cloudns-credentials ~/.secrets/certbot/cloudns.ini \ -d example.com
The aforementioned solution essentially works, so much appreciated.
It's worth noting that zope.interface
is now at 6.0
, which no longer fits the requirements. So, an edit needs to be made to that 'requirement' too so that it's Requires-Dist: zope.interface (>=5.1.0)
.
Unfortunately, the snap method out-right fails when it comes to this DNS plugin, so it looks like going the PIP route is the easiest way to go. Not that I wanted to use snap anyway.
@dalbothek curious as to the status on this. I've since used the certbot plugin in a few separate instances and simply updating METADATA to Requires-Dist: certbot (>=1.12.0 )
and Requires-Dist: zope.interface (>=5.1.0)
has worked in every instance (I've set Requires-Dist: certbot (>=2.0.0)
and Requires-Dist: zope.interface (>=6.0.0)
in my last two instances and have not seen or experienced any errors either).
Is there additional review or rework occurring around this? Would a PR for these changes help expedite the plugin to be updated and pushed to pypi.org?
This should now be resolved in the latest version 0.5.1
. Please let me know if you're still facing issues.
This issue should have been fixed a few months ago in version 0.5.1, so I'm closing it now. With version 0.6.0 the plugin is again compatible with the latest certbot, so there should be no need for manual alterations.
Hey, sorry for the crappy bug report but something broke with this plugin and the newest version of certbot. I get the following error running a typical command: