Update blocker in paperless-ngx script #1124

Closed
opened 2026-02-04 23:12:40 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Basti-Fantasti on GitHub (Jun 20, 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 "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)"

⚙️ 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.

When trying to update the paperless-ngx installation, it fails due to a pip error message.
pip says that the python version is managed externally.

I found that pip issue and the solution on stackoverflow

See here on stackoverflow

The problem was the existance of the file /usr/lib/python3.11/EXTERNALLY-MANAGED

I renamed it to /usr/lib/python3.11/EXTERNALLY-MANAGED.old

Then it was possible to fetch the requirements using pip.

Maybe the check if this file exists, and the mv command could be added in the script prior to calling the pip install command.

🔄 Steps to reproduce the issue.

just run the script in a container running an older version of paperless-ngx

Paste the full error output (if available).

full error output in the link to stack overflow

🖼️ Additional context (optional).

No response

Originally created by @Basti-Fantasti on GitHub (Jun 20, 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 "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. When trying to update the paperless-ngx installation, it fails due to a pip error message. pip says that the python version is managed externally. I found that pip issue and the solution on stackoverflow [See here on stackoverflow](https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3) The problem was the existance of the file `/usr/lib/python3.11/EXTERNALLY-MANAGED` I renamed it to `/usr/lib/python3.11/EXTERNALLY-MANAGED.old` Then it was possible to fetch the requirements using pip. Maybe the check if this file exists, and the mv command could be added in the script prior to calling the pip install command. ### 🔄 Steps to reproduce the issue. just run the script in a container running an older version of paperless-ngx ### ❌ Paste the full error output (if available). full error output in the link to stack overflow ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 23:12:40 +03:00
Author
Owner

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

#555 #4961

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

No dependencies set.

Reference: starred/ProxmoxVE#1124