Unable to update Nginx Proxy Manager: python3 error while trying to install certbot-dns-cloudflare #2

Closed
opened 2026-02-04 16:16:12 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @LucasJanin on GitHub (Nov 2, 2024).

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

I'm running the update for the first time.
My current version of NPM is v2.11.1.
The update fails.

In the previous repository, the problem is marked as fixed : https://github.com/tteck/Proxmox/discussions/4016
That is not the case for me with the previous and new repositories.

Thanks in advance for your help

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

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

 ✓ 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

Please provide detailed steps to reproduce the issue.

Run
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)"

Originally created by @LucasJanin on GitHub (Nov 2, 2024). ### Please verify that you have read and understood the guidelines. yes ### A clear and concise description of the issue. I'm running the update for the first time. My current version of NPM is v2.11.1. The update fails. In the previous repository, the problem is marked as fixed : https://github.com/tteck/Proxmox/discussions/4016 That is not the case for me with the previous and new repositories. Thanks in advance for your help ### What settings are you currently utilizing? Default Settings ### Which Linux distribution are you employing? Debian 12 ### If relevant, including screenshots or a code block can be helpful in clarifying the issue. ``` ✓ 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 ``` ### Please provide detailed steps to reproduce the issue. Run bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)"
Author
Owner

@MickLesk commented on GitHub (Nov 2, 2024):

An old comment from tteck:
"If you have manually updated to Debian 12.6, execute rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED in the LXC console.
The Proxmox VE LXC Updater and Proxmox VE Cron LXC Updater have been modified (6/29) for Debian 12.6."

@MickLesk commented on GitHub (Nov 2, 2024): An old comment from tteck: "If you have manually updated to Debian 12.6, execute rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED in the LXC console. The Proxmox VE LXC Updater and Proxmox VE Cron LXC Updater have been modified (6/29) for Debian 12.6."
Author
Owner

@tteck commented on GitHub (Nov 2, 2024):

Yep rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED

@tteck commented on GitHub (Nov 2, 2024): Yep `rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED`
Author
Owner

@LucasJanin commented on GitHub (Nov 2, 2024):

An old comment from tteck: "If you have manually updated to Debian 12.6, execute rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED in the LXC console. The Proxmox VE LXC Updater and Proxmox VE Cron LXC Updater have been modified (6/29) for Debian 12.6."

Problem fixed!!!
Thanks a lot @MickLesk and @tteck

@LucasJanin commented on GitHub (Nov 2, 2024): > An old comment from tteck: "If you have manually updated to Debian 12.6, execute rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED in the LXC console. The Proxmox VE LXC Updater and Proxmox VE Cron LXC Updater have been modified (6/29) for Debian 12.6." Problem fixed!!! Thanks a lot @MickLesk and @tteck
Author
Owner

@EnduringGuerila commented on GitHub (Nov 13, 2024):

Ah, finally. Thanks!

@EnduringGuerila commented on GitHub (Nov 13, 2024): Ah, finally. Thanks!
Author
Owner

@LucasJanin commented on GitHub (Dec 22, 2024):

FYI, I still need to run:

rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED

to upgrade to v2.12.1

@LucasJanin commented on GitHub (Dec 22, 2024): FYI, I still need to run: rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED to upgrade to v2.12.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2