error updating paperless-ngx #641

Closed
opened 2026-02-04 20:31:03 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ChristophCaina on GitHub (Mar 16, 2025).

Have you read and understood the above guidelines?

yes

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

paperless-ngx

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

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

📝 Provide a clear and concise description of the issue.

the update stops with the following error.
Updating the installation was working well in the past.

Not sure, what has changed...

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

🔄 Steps to reproduce the issue.

run script to update paperless-ngx

Paste the full error output (if available).

  ✔️  Stopped all Paperless-ngx Services
⠇ Updating to v2.14.7error: 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 to v2.14.7
[ERROR] in line 61: exit code 0: while executing command $STD pip install -r requirements.txt

🖼️ Additional context (optional).

No response

Originally created by @ChristophCaina on GitHub (Mar 16, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? paperless-ngx ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/paperless-ngx.sh)" ### 📝 Provide a clear and concise description of the issue. the update stops with the following error. Updating the installation was working well in the past. Not sure, what has changed... ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 🔄 Steps to reproduce the issue. run script to update paperless-ngx ### ❌ Paste the full error output (if available). ``` ✔️ Stopped all Paperless-ngx Services ⠇ Updating to v2.14.7error: 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 to v2.14.7 [ERROR] in line 61: exit code 0: while executing command $STD pip install -r requirements.txt ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 20:31:03 +03:00
Author
Owner

@MickLesk commented on GitHub (Mar 16, 2025):

Look discussion or old Issues. Its an python3 issue and need one line

@MickLesk commented on GitHub (Mar 16, 2025): Look discussion or old Issues. Its an python3 issue and need one line
Author
Owner

@EarMaster commented on GitHub (Mar 19, 2025):

Here's the solution: https://github.com/community-scripts/ProxmoxVE/discussions/2675#discussioncomment-12338886

@EarMaster commented on GitHub (Mar 19, 2025): Here's the solution: https://github.com/community-scripts/ProxmoxVE/discussions/2675#discussioncomment-12338886
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#641