Paperless Helper skript #1205

Closed
opened 2026-02-04 23:39:24 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Phantomkommander on GitHub (Jul 1, 2025).

Have you read and understood the above guidelines?

ja

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

Paperless Helper skript

📂 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?

No response

📝 Provide a clear and concise description of the issue.

Image

Image

🔄 Steps to reproduce the issue.

bei jedem versuch schlägt das update fehl. auch ein neustart brachte kein erfolg

Paste the full error output (if available).

✔️ Stopped all Paperless-ngx Services
Updating to v2.17.1error: 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.

[ERROR] in line 61: exit code 0: while executing command $STD pip install -r requirements.txt

🖼️ Additional context (optional).

Suddenly the web interface is no longer accessible and an update fails every time.

Originally created by @Phantomkommander on GitHub (Jul 1, 2025). ### ✅ Have you read and understood the above guidelines? ja ### 📜 What is the name of the script you are using? Paperless Helper skript ### 📂 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? _No response_ ### 📝 Provide a clear and concise description of the issue. ![Image](https://github.com/user-attachments/assets/ecaaafef-eea3-4cc2-85d3-a10bacb94379) ![Image](https://github.com/user-attachments/assets/dec2877a-cc2f-4dd3-9675-ed990d20cd92) ### 🔄 Steps to reproduce the issue. bei jedem versuch schlägt das update fehl. auch ein neustart brachte kein erfolg ### ❌ Paste the full error output (if available). ✔️ Stopped all Paperless-ngx Services ⏳ Updating to v2.17.1error: 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. [ERROR] in line 61: exit code 0: while executing command $STD pip install -r requirements.txt ### 🖼️ Additional context (optional). Suddenly the web interface is no longer accessible and an update fails every time.
OVERLORD added the bug label 2026-02-04 23:39:24 +03:00
Author
Owner

@tremor021 commented on GitHub (Jul 1, 2025):

run inside LXC console: rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED then try again

@tremor021 commented on GitHub (Jul 1, 2025): run inside LXC console: `rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED` then try again
Author
Owner

@MickLesk commented on GitHub (Jul 1, 2025):

#555

@MickLesk commented on GitHub (Jul 1, 2025): #555
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1205