Open zaourzag opened 5 months ago
Same here. Seems rolling back to 2.11.1
doesn't seem to fix it either.
neither does deleting the local image and restarting it. I have made certs using cloudflare on this yesterday
I wonder if wiping the local storage may fix it? I didn't try that yet.
That didn't work either on 2.11.1
.
Got a slightly different error:
The 'certbot_dns_cloudflare._internal.dns_cloudflare' plugin errored while loading: No module named 'CloudFlare'. You may need to remove or update this plugin. The Certbot log will contain the full error details and this should be reported to the plugin developer.
with no mention of acme==
.
Same here. I'm trying with 2.11.x, 2.10.x and 2.9.x and it doesn't work either.
Got it to work! Using 2.11.1
(may work on latest, but I rolled back to 2.11.1
and it works).
Follow these steps:
docker exec -it <name of container> /bin/bash
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
certbot
and see it does not error outpip install certbot-dns-cloudflare
certbot
and see it does not error outill give that a try!
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
docker exec -it <name of container> /bin/bash
- Run
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
- Run
certbot
and see it does not error outpip install certbot-dns-cloudflare
- Run
certbot
and see it does not error out- Try creating a SSL cert and it should work
It works!
okay, now im going insane, i think. i did not have to do any of that, just went back to my old database.sqlite file and it worked just like that. i hate days like these. becuase you dont know what happened and what fixed it
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
1. `docker exec -it <name of container> /bin/bash` 2. Run `certbot` and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method) 3. `pip uninstall certbot-dns-cloudflare` 4. Run `certbot` and see it does not error out 5. `pip install certbot-dns-cloudflare` 6. Run `certbot` and see it does not error out 7. Try creating a SSL cert and it should work
You saved me! It worked! Thanks!
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
1. `docker exec -it <name of container> /bin/bash` 2. Run `certbot` and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method) 3. `pip uninstall certbot-dns-cloudflare` 4. Run `certbot` and see it does not error out 5. `pip install certbot-dns-cloudflare` 6. Run `certbot` and see it does not error out 7. Try creating a SSL cert and it should work
Thank you so much, this was driving me nuts!
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
docker exec -it <name of container> /bin/bash
- Run
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
- Run
certbot
and see it does not error outpip install certbot-dns-cloudflare
- Run
certbot
and see it does not error out- Try creating a SSL cert and it should work
Thank you for this fix, helped with my first installation
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
1. `docker exec -it <name of container> /bin/bash` 2. Run `certbot` and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method) 3. `pip uninstall certbot-dns-cloudflare` 4. Run `certbot` and see it does not error out 5. `pip install certbot-dns-cloudflare` 6. Run `certbot` and see it does not error out 7. Try creating a SSL cert and it should work
Works like a charm! Thank you for this. I hope an update comes out soon to resolve it.
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
docker exec -it <name of container> /bin/bash
- Run
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
- Run
certbot
and see it does not error outpip install certbot-dns-cloudflare
- Run
certbot
and see it does not error out- Try creating a SSL cert and it should work
For future people, if for some reason this doesn't work try doing
pip uninstall certbot-dns-cloudflare
pip install --upgrade pip
and the reinstall the plugin but specify the version
pip install --force-reinstall "certbot-dns-cloudflare==2.11.0"
and restart the container.
For some reason even if you reinstall the plugin after upgrading pip it will always pull the version that it was installed.
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
docker exec -it <name of container> /bin/bash
- Run
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
- Run
certbot
and see it does not error outpip install certbot-dns-cloudflare
- Run
certbot
and see it does not error out- Try creating a SSL cert and it should work
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
docker exec -it <name of container> /bin/bash
- Run
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
- Run
certbot
and see it does not error outpip install certbot-dns-cloudflare
- Run
certbot
and see it does not error out- Try creating a SSL cert and it should work
thank u so much! this really helps
The issue is the cloudflare-python
package, version 3.x.x is incompatible with 2.x.x, which is pinned in certbot upstream, but not here in NPM it seems. Perhaps certbot needs to be bumped in NPM. This has been adressed in #3764, hopefully dev gets merged soon...
A more technically correct fix is only pinning the cloudflare package in the container using pip install --upgrade cloudflare==2.19.*
i.e.
docker exec -it <name of container> /bin/bash
pip install --upgrade cloudflare==2.19.*
The issue is the
cloudflare-python
package, version 3.x.x is incompatible with 2.x.x, ~which is pinned in certbot upstream, but not here in NPM it seems. Perhaps certbot needs to be bumped in NPM.~ This has been adressed in #3764, hopefully dev gets merged soon...A more technically correct fix is only pinning the cloudflare package in the container using
pip install --upgrade cloudflare==2.19.*
i.e.
1. `docker exec -it <name of container> /bin/bash` 2. `pip install --upgrade cloudflare==2.19.*` 3. Try creating a SSL cert and it should work
This does NOT work on NPM on v 2.11.1 and running the pip install.
5. pip install certbot-dns-cloudflare
Tried on 2.11.2 and works like a charm! thank you so much!
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
docker exec -it <name of container> /bin/bash
- Run
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
- Run
certbot
and see it does not error outpip install certbot-dns-cloudflare
- Run
certbot
and see it does not error out- Try creating a SSL cert and it should work
Confirmed, this works on v2.11.2.
The issue is the
cloudflare-python
package, version 3.x.x is incompatible with 2.x.x, ~which is pinned in certbot upstream, but not here in NPM it seems. Perhaps certbot needs to be bumped in NPM.~ This has been adressed in #3764, hopefully dev gets merged soon...A more technically correct fix is only pinning the cloudflare package in the container using
pip install --upgrade cloudflare==2.19.*
i.e.
docker exec -it <name of container> /bin/bash
pip install --upgrade cloudflare==2.19.*
- Try creating a SSL cert and it should work
Finally succeeded!!
worked for me too :-)) thank you very much buddy @LandonPatmore
Got it to work! Using
2.11.1
(may work on latest, but I rolled back to2.11.1
and it works).Follow these steps:
docker exec -it <name of container> /bin/bash
- Run
certbot
and see it errors out saying that cloudflare-dns plugin is causing an issue (this is to confirm you have the issue I was seeing that was fixed by this method)pip uninstall certbot-dns-cloudflare
- Run
certbot
and see it does not error outpip install certbot-dns-cloudflare
- Run
certbot
and see it does not error out- Try creating a SSL cert and it should work
For me, this doesn't work on the latest version. I might try rolling back to the version you mentioned.
It's end of 2024,and not fix this yet,using @LandonPatmore,and works fine !
It's end of 2024,and not fix this yet,using @LandonPatmore,and works fine !
Worked for me as well after re-installing the latest version (didn't need to rollback but I had to reinstall the image).
Checklist
jc21/nginx-proxy-manager:latest
docker image?Describe the bug since today, the cloudflare dns provider fails to work. certbot is unable to find the CloudFlare module causing it to fail. relevant error code:
before this i had been using the dns provider with no issues Nginx Proxy Manager Version v2.11.2
To Reproduce Steps to reproduce the behavior: generate a new ssl certificate using the cloudflare dns provider
Expected behavior a certificate gets generated
Screenshots
Operating System ubuntu 22.04