Error attempting to update Nginx Proxy Manager #5

Closed
opened 2026-02-04 16:16:56 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @ajtatum on GitHub (Nov 3, 2024).

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

I tried updating an existing NPM container from tteck using the command bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)" but when it runs, I get the following:

 ✓ Stopped Services
 ✓ Cleaned Old Files
 ✓ Downloaded NPM v2.12.1
 \ Setting up Enviroment   
[ERROR] in line 137: exit code 0: while executing command python3 -m pip install --no-cache-dir certbot-dns-cloudflare &> /dev/null

When I try to run the command python3 -m pip install --no-cache-dir certbot-dns-cloudflare I get the following error message:

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.

This makes the LXC unusable and I have to revert to a backup.

What settings are you currently utilizing?

Advanced Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

No response

Originally created by @ajtatum on GitHub (Nov 3, 2024). ### Please verify that you have read and understood the guidelines. yes ### A clear and concise description of the issue. I tried updating an existing NPM container from tteck using the command `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)"` but when it runs, I get the following: ``` ✓ Stopped Services ✓ Cleaned Old Files ✓ Downloaded NPM v2.12.1 \ Setting up Enviroment [ERROR] in line 137: exit code 0: while executing command python3 -m pip install --no-cache-dir certbot-dns-cloudflare &> /dev/null ``` When I try to run the command `python3 -m pip install --no-cache-dir certbot-dns-cloudflare` I get the following error message: ``` error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.11/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. ``` This makes the LXC unusable and I have to revert to a backup. ### What settings are you currently utilizing? Advanced Settings ### Which Linux distribution are you employing? Debian 12 ### If relevant, including screenshots or a code block can be helpful in clarifying the issue. _No response_ ### Please provide detailed steps to reproduce the issue. _No response_
OVERLORD added the not a script issue label 2026-02-04 16:16:56 +03:00
Author
Owner

@Mellowlynx commented on GitHub (Nov 3, 2024):

#7

@Mellowlynx commented on GitHub (Nov 3, 2024): #7
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#5