Skip to content

Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* #4617

Open
@SadPepeIRL

Description

@SadPepeIRL

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
Unable to create SSL certification.

Nginx Proxy Manager Version

2.12.4

To Reproduce
Steps to reproduce the behavior:

  1. Log into NPM
  2. Go to SSL certs
  3. Create SSL cert with Lets Encrypt
  4. enter domain name and wildcard domain name
  5. Enable "Use DNS challenge"
  6. Select cloudflare and paste in token
  7. accept TOS and create

Expected behavior

Cert created, but I get error message:

CommandError: ERROR: Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

    at /app/lib/utils.js:16:13
    at ChildProcess.exithandler (node:child_process:430:5)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)

Terminal shows:

2025-07-01 23:21:46.534431+00:00[7/1/2025] [11:21:46 PM] [Express  ] › warning   ERROR: Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* because these package versions have conflicting dependencies.
2025-07-01 23:21:46.534563+00:00ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2025-07-01 23:21:46.534603+00:002025-07-01T23:21:46.534603754Z

Screenshots

Operating System

TrueNas 25.04.1

Additional context

YAML used:

services:
  app:
    image: jc21/nginx-proxy-manager:2.12.4
    ports:
      - '30021:80'
      - '30020:81'
      - '30022:443'
    restart: unless-stopped
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt

I have also tried previous versions and I am still receiving the same kind of errors.
I have completely deleted my container and redeployed with no success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions