NginxProxyManager / NginxProxyManager/nginx-proxy-manager
ACME josepy error after update above v2.12.3
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker 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
[7/9/2025] [1:30:05 PM] [Certbot ] › ▶ start Installing cloudflare...
[7/9/2025] [1:30:05 PM] [Global ] › ⬤ debug CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir acme==$(certbot --version | grep -Eo '0-9+') certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') && deactivate
[7/9/2025] [1:30:08 PM] [Certbot ] › ✖ error Traceback (most recent call last):
File "/opt/certbot/bin/certbot", line 5, in
from certbot.main import main
File "/opt/certbot/lib/python3.11/site-packages/certbot/main.py", line 6, in
from certbot._internal import main as internal_main
File "/opt/certbot/lib/python3.11/site-packages/certbot/_internal/main.py", line 24, in
from acme import client as acme_client
File "/opt/certbot/lib/python3.11/site-packages/acme/client.py", line 25, in
from acme import challenges
File "/opt/certbot/lib/python3.11/site-packages/acme/challenges.py", line 24, in
from acme import crypto_util
File "/opt/certbot/lib/python3.11/site-packages/acme/crypto_util.py", line 435, in
def dump_pyopenssl_chain(chain: Union[List[jose.ComparableX509], List[crypto.X509]],
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'josepy' has no attribute 'ComparableX509'. Did you mean: 'ComparableKey'?
Traceback (most recent call last):
File "/opt/certbot/bin/certbot", line 5, in
from certbot.main import main
File "/opt/certbot/lib/python3.11/site-packages/certbot/main.py", line 6, in
from certbot._internal import main as internal_main
File "/opt/certbot/lib/python3.11/site-packages/certbot/_internal/main.py", line 24, in
from acme import client as acme_client
File "/opt/certbot/lib/python3.11/site-packages/acme/client.py", line 25, in
from acme import challenges
File "/opt/certbot/lib/python3.11/site-packages/acme/challenges.py", line 24, in
from acme import crypto_util
File "/opt/certbot/lib/python3.11/site-packages/acme/crypto_util.py", line 435, in
def dump_pyopenssl_chain(chain: Union[List[jose.ComparableX509], List[crypto.X509]],
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'josepy' has no attribute 'ComparableX509'. Did you mean: 'ComparableKey'?
ERROR: Invalid requirement: 'acme==': Expected end or semicolon (after name and no valid version specifier)
acme==
^
[7/9/2025] [1:30:08 PM] [Global ] › ✖ error Some plugins failed to install. Please check the logs above CommandError: Some plugins failed to install. Please check the logs above
at /app/lib/certbot.js:39:14
at Immediate. (/app/node_modules/batchflow/lib/batchflow.js:80:9)
at process.processImmediate (node:internal/timers:483:21) {
previous: undefined,
code: 1,
public: false
}
Nginx Proxy Manager Version
v2.12.5
To Reproduce
Steps to reproduce the behavior:
After update
Unable to update npm to a version above v2.12.3+
Expected behavior
Proper update npm to a version above v2.12.3+
Screenshots
Operating System
Debian 12.11
Additional context
Docker version 28.3.1
Docker Compose version v2.38.1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at app/lib/certbot.js:39 and inspect the command that installs acme and certbot-dns-cloudflare from the Certbot version. Reproduce the reported josepy/ComparableX509 traceback with the nginx-proxy-manager:latest Docker image; done means plugin installation and updates above v2.12.3 complete without the logged errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python, typescript
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100