[GH-ISSUE #5315] Update blocker in paperless-ngx script #1123

Closed
opened 2026-02-26 12:47:48 +03:00 by kerem · 1 comment
Owner

Originally created by @Basti-Fantasti on GitHub (Jun 20, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/5315

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). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/5315 ### ✅ 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_
kerem 2026-02-26 12:47:48 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

#555 #4961

<!-- gh-comment-id:2989976690 --> @MickLesk commented on GitHub (Jun 20, 2025): #555 #4961
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#1123
No description provided.