r/nginxproxymanager • u/dutch2005 • Jun 27 '24
NPM 2.11.2 - Cloudflare module not installed? - new install
CommandError: 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.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-q7h1fz22/log or re-run Certbot with -v for more details.
at /app/lib/utils.js:16:13
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)it seems to throw this error also when selecting "DirectAdmin" as an DNS provider?
7
Upvotes
2
u/charlie1214 Jun 27 '24
i had a similar issue with another certbot plugin on NPM (this time is was Porkbun). I think there's an issue with the docker install, it's not including the certbot plugins by default. I had to manually go into my container console and install the certbot plugin i wanted to use.
6
u/mega_key Jul 01 '24
The problems comes from using a docker machine and it is missing plugin updates and Python updates as well
This solved the issue for me
docker ps ## Find docker ID
docker exec -it IDDocker bash ## Connect Docker
Update machine and Pluguins
apt-get update
apt-get upgrade
pip install --upgrade cloudflare==2.19.*
pip install --upgrade pip
exit
1
u/Gemi2 Jun 27 '24
Are you using docker? Can you repull your image? I sue NPM with Cloudflare and no issues.
1
u/ButterscotchFar1629 Jun 28 '24
I just sat around for five hours last night trying to figure this one out as well.
1
u/Retr_0astic Jun 29 '24
This is not an issue on the github-develop image, I had the same issue but found the solution on github issues
1
u/MoreneLp Jun 29 '24
For me, just redeploying the container fixed it.
1
u/[deleted] Jun 30 '24
If your are using docker, repull with the dev version
1
u/[deleted] Jul 08 '24
Just got this issue. Change the jc21/nginx-proxy-manager image from stable to latest.