[GH-ISSUE #2282] Let's encrypt auto generate certificate does not work #1626

Closed
opened 2026-02-26 07:31:49 +03:00 by kerem · 9 comments
Owner

Originally created by @soubhi8 on GitHub (Sep 22, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2282

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
When creating a certificate with Let's encrypt the following invalid operation is thrown

Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-12" --agree-tos --authenticator webroot --email "h@gmail.com" --preferred-challenges "dns,http" --domains "blabla.tk" 
Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
OSError: [Errno 95] Operation not supported: '../../archive/npm-12/cert1.pem' -> '/etc/letsencrypt/live/npm-12/cert.pem'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

    at ChildProcess.exithandler (node:child_process:399:12)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

Nginx Proxy Manager Version
v2.9.18

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'SSL Certificates'
  2. Click on 'Add SSL Certificate'
  3. Fill information
  4. See error

Expected behavior
To create an ssl certificate

Screenshots

image

image

Operating System
given image from docker compose

Originally created by @soubhi8 on GitHub (Sep 22, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2282 **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** When creating a certificate with Let's encrypt the following invalid operation is thrown ``` Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-12" --agree-tos --authenticator webroot --email "h@gmail.com" --preferred-challenges "dns,http" --domains "blabla.tk" Saving debug log to /var/log/letsencrypt/letsencrypt.log An unexpected error occurred: OSError: [Errno 95] Operation not supported: '../../archive/npm-12/cert1.pem' -> '/etc/letsencrypt/live/npm-12/cert.pem' Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details. at ChildProcess.exithandler (node:child_process:399:12) at ChildProcess.emit (node:events:526:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) ``` **Nginx Proxy Manager Version** v2.9.18 **To Reproduce** Steps to reproduce the behavior: 1. Go to 'SSL Certificates' 2. Click on 'Add SSL Certificate' 3. Fill information 4. See error **Expected behavior** To create an ssl certificate **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> ![image](https://user-images.githubusercontent.com/10927387/191717091-e0675e4a-88ed-4f83-93a9-5cc182256a44.png) ![image](https://user-images.githubusercontent.com/10927387/191716662-18c08448-c0f6-4e15-99df-4c21347dfc5c.png) **Operating System** given image from docker compose
kerem 2026-02-26 07:31:49 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@rightsaidfred99 commented on GitHub (Sep 22, 2022):

confirmed on my end too

<!-- gh-comment-id:1254991100 --> @rightsaidfred99 commented on GitHub (Sep 22, 2022): confirmed on my end too
Author
Owner

@skirven4 commented on GitHub (Sep 24, 2022):

I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM.

`Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') cloudflare
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [124 lines of output]
Collecting setuptools!=60.9.0,>=40.6.0
Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.12
Downloading cffi-1.15.1.tar.gz (508 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting setuptools-rust>=0.11.4
Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00
Collecting typing-extensions>=3.7.4.3
Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB)
Collecting semantic-version<3,>=2.8.2
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include 
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cffi
    Running setup.py clean for cffi
  Failed to build cffi
  Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
    Running setup.py install for cffi: started
    Running setup.py install for cffi: finished with status 'error'
    error: subprocess-exited-with-error
  
    × Running setup.py install for cffi did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include 
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure
  
  × Encountered error while trying to install package.
  ╰─> cffi
  
  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
  You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)`
<!-- gh-comment-id:1256971548 --> @skirven4 commented on GitHub (Sep 24, 2022): I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM. `Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+') cloudflare error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [124 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1.tar.gz (508 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting semantic-version<3,>=2.8.2 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [36 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-3.7 creating build/lib.linux-armv7l-3.7/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-3.7 creating build/temp.linux-armv7l-3.7/c arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' error: subprocess-exited-with-error × Running setup.py install for cffi did not run successfully. │ exit code: 1 ╰─> [36 lines of output] running install running build running build_py creating build creating build/lib.linux-armv7l-3.7 creating build/lib.linux-armv7l-3.7/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-3.7 creating build/temp.linux-armv7l-3.7/c arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. at ChildProcess.exithandler (node:child_process:399:12) at ChildProcess.emit (node:events:526:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)`
Author
Owner

@anhhtz commented on GitHub (Sep 25, 2022):

Are you using Clouflare Dynamic DNS ?

<!-- gh-comment-id:1257140729 --> @anhhtz commented on GitHub (Sep 25, 2022): Are you using Clouflare Dynamic DNS ?
Author
Owner

@skirven4 commented on GitHub (Sep 25, 2022):

No. I was using the DNS Challenge with the Authentication token.

Sent from Yahoo Mail for iPhone

On Sunday, September 25, 2022, 3:45 AM, Anh Hoang Tuan @.***> wrote:

Are you using Clouflare Dynamic DNS ?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1257170988 --> @skirven4 commented on GitHub (Sep 25, 2022): No. I was using the DNS Challenge with the Authentication token. Sent from Yahoo Mail for iPhone On Sunday, September 25, 2022, 3:45 AM, Anh Hoang Tuan ***@***.***> wrote: Are you using Clouflare Dynamic DNS ? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***>
Author
Owner

@NSerbin commented on GitHub (Sep 25, 2022):

I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM.

`Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') cloudflare error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [124 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1.tar.gz (508 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting semantic-version<3,>=2.8.2 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include 
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cffi
    Running setup.py clean for cffi
  Failed to build cffi
  Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
    Running setup.py install for cffi: started
    Running setup.py install for cffi: finished with status 'error'
    error: subprocess-exited-with-error
  
    × Running setup.py install for cffi did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include 
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure
  
  × Encountered error while trying to install package.
  ╰─> cffi
  
  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
  You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)`

Your problem is related to this issue https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1769

downgrade your NginxProxyManager and u ll be able to work with certs

<!-- gh-comment-id:1257232248 --> @NSerbin commented on GitHub (Sep 25, 2022): > I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM. > > `Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '[0-9](.%5B0-9%5D+)+') cloudflare error: subprocess-exited-with-error > > × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [124 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1.tar.gz (508 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting semantic-version<3,>=2.8.2 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error > > ``` > × python setup.py bdist_wheel did not run successfully. > │ exit code: 1 > ╰─> [36 lines of output] > running bdist_wheel > running build > running build_py > creating build > creating build/lib.linux-armv7l-3.7 > creating build/lib.linux-armv7l-3.7/cffi > copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi > copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi > copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi > copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi > running build_ext > building '_cffi_backend' extension > creating build/temp.linux-armv7l-3.7 > creating build/temp.linux-armv7l-3.7/c > arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o > c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory > #include > ^~~~~~~~~~ > compilation terminated. > error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 > [end of output] > > note: This error originates from a subprocess, and is likely not a problem with pip. > ERROR: Failed building wheel for cffi > Running setup.py clean for cffi > Failed to build cffi > Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi > Running setup.py install for cffi: started > Running setup.py install for cffi: finished with status 'error' > error: subprocess-exited-with-error > > × Running setup.py install for cffi did not run successfully. > │ exit code: 1 > ╰─> [36 lines of output] > running install > running build > running build_py > creating build > creating build/lib.linux-armv7l-3.7 > creating build/lib.linux-armv7l-3.7/cffi > copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi > copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi > copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi > copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi > copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi > running build_ext > building '_cffi_backend' extension > creating build/temp.linux-armv7l-3.7 > creating build/temp.linux-armv7l-3.7/c > arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o > c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory > #include > ^~~~~~~~~~ > compilation terminated. > error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 > [end of output] > > note: This error originates from a subprocess, and is likely not a problem with pip. > error: legacy-install-failure > > × Encountered error while trying to install package. > ╰─> cffi > > note: This is an issue with the package mentioned above, not pip. > hint: See above for output from the failure. > WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. > You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. > [end of output] > ``` > > note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error > > × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. > > note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. > > ``` > at ChildProcess.exithandler (node:child_process:399:12) > at ChildProcess.emit (node:events:526:28) > at maybeClose (node:internal/child_process:1092:16) > at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)` > ``` Your problem is related to this issue https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1769 downgrade your NginxProxyManager and u ll be able to work with certs
Author
Owner

@skirven4 commented on GitHub (Sep 26, 2022):

Your problem is related to this issue #1769

downgrade your NginxProxyManager and u ll be able to work with certs

I think mine is related to #2190, actually. Apologies for the confusion!

<!-- gh-comment-id:1257391143 --> @skirven4 commented on GitHub (Sep 26, 2022): > Your problem is related to this issue #1769 > > downgrade your NginxProxyManager and u ll be able to work with certs I think mine is related to #2190, actually. Apologies for the confusion!
Author
Owner

@NicholasRoberge commented on GitHub (Sep 28, 2022):

I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM.
`Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') cloudflare error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [124 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1.tar.gz (508 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting semantic-version<3,>=2.8.2 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include 
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cffi
    Running setup.py clean for cffi
  Failed to build cffi
  Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
    Running setup.py install for cffi: started
    Running setup.py install for cffi: finished with status 'error'
    error: subprocess-exited-with-error
  
    × Running setup.py install for cffi did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include 
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure
  
  × Encountered error while trying to install package.
  ╰─> cffi
  
  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
  You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)`

Your problem is related to this issue #1769

downgrade your NginxProxyManager and u ll be able to work with certs

Any guidance on how to downgrade NPM when it is being used as a docker on unRaid?

<!-- gh-comment-id:1260901640 --> @NicholasRoberge commented on GitHub (Sep 28, 2022): > > I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM. > > `Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '[0-9](.%5B0-9%5D+)+') cloudflare error: subprocess-exited-with-error > > × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [124 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1.tar.gz (508 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting semantic-version<3,>=2.8.2 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error > > ``` > > × python setup.py bdist_wheel did not run successfully. > > │ exit code: 1 > > ╰─> [36 lines of output] > > running bdist_wheel > > running build > > running build_py > > creating build > > creating build/lib.linux-armv7l-3.7 > > creating build/lib.linux-armv7l-3.7/cffi > > copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi > > running build_ext > > building '_cffi_backend' extension > > creating build/temp.linux-armv7l-3.7 > > creating build/temp.linux-armv7l-3.7/c > > arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o > > c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory > > #include > > ^~~~~~~~~~ > > compilation terminated. > > error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 > > [end of output] > > > > note: This error originates from a subprocess, and is likely not a problem with pip. > > ERROR: Failed building wheel for cffi > > Running setup.py clean for cffi > > Failed to build cffi > > Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi > > Running setup.py install for cffi: started > > Running setup.py install for cffi: finished with status 'error' > > error: subprocess-exited-with-error > > > > × Running setup.py install for cffi did not run successfully. > > │ exit code: 1 > > ╰─> [36 lines of output] > > running install > > running build > > running build_py > > creating build > > creating build/lib.linux-armv7l-3.7 > > creating build/lib.linux-armv7l-3.7/cffi > > copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi > > copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi > > running build_ext > > building '_cffi_backend' extension > > creating build/temp.linux-armv7l-3.7 > > creating build/temp.linux-armv7l-3.7/c > > arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o > > c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory > > #include > > ^~~~~~~~~~ > > compilation terminated. > > error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 > > [end of output] > > > > note: This error originates from a subprocess, and is likely not a problem with pip. > > error: legacy-install-failure > > > > × Encountered error while trying to install package. > > ╰─> cffi > > > > note: This is an issue with the package mentioned above, not pip. > > hint: See above for output from the failure. > > WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. > > You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. > > [end of output] > > ``` > > > > > > > > > > > > > > > > > > > > > > > > note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error > > × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. > > note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. > > ``` > > at ChildProcess.exithandler (node:child_process:399:12) > > at ChildProcess.emit (node:events:526:28) > > at maybeClose (node:internal/child_process:1092:16) > > at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)` > > ``` > > Your problem is related to this issue #1769 > > downgrade your NginxProxyManager and u ll be able to work with certs Any guidance on how to downgrade NPM when it is being used as a docker on unRaid?
Author
Owner

@github-actions[bot] commented on GitHub (Feb 9, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:1935216525 --> @github-actions[bot] commented on GitHub (Feb 9, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Mar 25, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2749861470 --> @github-actions[bot] commented on GitHub (Mar 25, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1626
No description provided.