Skip to content

Update blocker in paperless-ngx scriptΒ #5315

Closed as not planned
Closed as not planned
@Basti-Fantasti

Description

@Basti-Fantasti

βœ… 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions