[GH-ISSUE #5288] Update of Prometheus VE Exporter fails #1114

Closed
opened 2026-02-26 12:47:46 +03:00 by kerem · 3 comments
Owner

Originally created by @johnsturgeon on GitHub (Jun 19, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/5288

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Prometheus Proxmox VE Exporter

📂 What was the exact command used to execute the script?

update

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

Update fails

🔄 Steps to reproduce the issue.

$ update

Paste the full error output (if available).

  ✔️   Stopped Prometheus-PVE-Exporter
⠏ Updating Prometheus-PVE-Exporter
[ERROR] in line 35: exit code 0: while executing command return 1

🖼️ Additional context (optional).

No response

Originally created by @johnsturgeon on GitHub (Jun 19, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/5288 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Prometheus Proxmox VE Exporter ### 📂 What was the exact command used to execute the script? update ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Update fails ### 🔄 Steps to reproduce the issue. `$ update` ### ❌ Paste the full error output (if available). ``` ✔️ Stopped Prometheus-PVE-Exporter ⠏ Updating Prometheus-PVE-Exporter [ERROR] in line 35: exit code 0: while executing command return 1 ``` ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:47:46 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Jun 19, 2025):

verbose?!

<!-- gh-comment-id:2987927737 --> @MickLesk commented on GitHub (Jun 19, 2025): verbose?!
Author
Owner

@johnsturgeon commented on GitHub (Jun 19, 2025):

Ooops! Yes, sorry

  ✔️   Stopped Prometheus-PVE-Exporter
⠦ Updating Prometheus-PVE-Exportererror: 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.
hint: See PEP 668 for the detailed specification.
⠇ Updating Prometheus-PVE-Exporter
[ERROR] in line 35: exit code 0: while executing command $STD pip install prometheus-pve-exporter --default-timeout=300 --upgrade --root-user-action=ignore
<!-- gh-comment-id:2987931236 --> @johnsturgeon commented on GitHub (Jun 19, 2025): Ooops! Yes, sorry ``` ✔️ Stopped Prometheus-PVE-Exporter ⠦ Updating Prometheus-PVE-Exportererror: 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. hint: See PEP 668 for the detailed specification. ⠇ Updating Prometheus-PVE-Exporter [ERROR] in line 35: exit code 0: while executing command $STD pip install prometheus-pve-exporter --default-timeout=300 --upgrade --root-user-action=ignore ```
Author
Owner

@johnsturgeon commented on GitHub (Jun 19, 2025):

OH FFS, externally managed... my bad.. closing

https://github.com/community-scripts/ProxmoxVE/discussions/555

<!-- gh-comment-id:2987932179 --> @johnsturgeon commented on GitHub (Jun 19, 2025): OH FFS, externally managed... my bad.. closing https://github.com/community-scripts/ProxmoxVE/discussions/555
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/ProxmoxVE#1114
No description provided.