Skip to content

ERROR: Cannot install certbot-dns-cloudflare==4.1.1 and cloudflare==4.0.* because these package versions have conflicting dependencies #4609

Closed
@muhdzakiy24

Description

@muhdzakiy24

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?
    • No
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

I was trying to add an SSL certificate through Let's Encrypt DNS challenge and choosing Cloudflare as the DNS Provider. However, an error occurred, which seems implying there is conflicting dependencies between certbot-dns-cloudflare and cloudflare.

CommandError: ERROR: Cannot install certbot-dns-cloudflare==4.1.1 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)

Nginx Proxy Manager Version

v2.12.4

To Reproduce
Steps to reproduce the behavior:

  1. Go to SSL Certificates tab
  2. Click on Add SLL Certificate button and choose let's encrypt
  3. Fill the domain name, choose Use a DNS challenge, fill out the requirement, and click save
  4. See error

Expected behavior

A normal SSL certificate for the domain.

Screenshots

Image

Operating System

DietPi v9.14.2 (based on Debian GNU/Linux 12 (bookworm))

Additional context

LOGS:


[7/1/2025] [7:30:34 AM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload

[7/1/2025] [7:30:34 AM] [Certbot  ] › ▶  start     Installing cloudflare...

[7/1/2025] [7:30:34 AM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir cloudflare==4.0.* acme==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+') certbot-dns-cloudflare==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate

[7/1/2025] [7:30:47 AM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;"

[7/1/2025] [7:30:47 AM] [Nginx    ] › ℹ  info      Reloading Nginx

[7/1/2025] [7:30:47 AM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload

[7/1/2025] [7:30:47 AM] [Express  ] › ⚠  warning   ERROR: Cannot install certbot-dns-cloudflare==4.1.1 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```

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